Searched refs:ch_t (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.h94 struct ch_esb *cs_owner; /* list of buffers owned by ch_t */
168 ch_esb_t *ch_small_owner; /* list small bufs owned by ch_t */
175 ch_esb_t *ch_big_owner; /* list big bufs owned by ch_t */
242 } ch_t; typedef in typeref:struct:ch
277 void *ch_alloc_dma_mem(ch_t *, int, int, int, uint64_t *, ulong_t *, ulong_t *);
279 void ch_unbind_dma_handle(ch_t *, free_dh_t *);
281 void ch_send_up(ch_t *, mblk_t *, uint32_t, int);
283 void ch_gld_ok(ch_t *);
285 uint32_t t1_read_reg_4(ch_t *obj, uint32_t reg_val);
286 void t1_write_reg_4(ch_t *ob
[all...]
H A Dpe.c79 static void link_start(ch_t *sa, struct pe_port_t *pp);
80 static ch_esb_t *ch_alloc_small_esbbuf(ch_t *sa, uint32_t i);
81 static ch_esb_t *ch_alloc_big_esbbuf(ch_t *sa, uint32_t i);
84 static const struct board_info *pe_sa_init(ch_t *sa);
85 static int ch_set_config_data(ch_t *chp);
86 void pe_rbuf_pool_free(ch_t *chp);
87 static void pe_free_driver_resources(ch_t *sa);
88 static void update_mtu_tab(ch_t *adapter);
89 static int pe_change_mtu(ch_t *chp);
107 static int pe_small_rbuf_pool_init(ch_t *s
[all...]
H A Dch.c84 static void ch_free_dma_handles(ch_t *chp);
85 static void ch_set_name(ch_t *chp, int unit);
86 static void ch_free_name(ch_t *chp);
87 static void ch_get_prop(ch_t *chp);
90 static void ch_free_dvma_handles(ch_t *chp);
264 ch_t *gchp[MAX_CARDS];
364 ch_t *chp;
399 chp = (ch_t *)kmem_zalloc(sizeof (ch_t), KM_SLEEP);
444 kmem_free(chp, sizeof (ch_t));
[all...]
H A Dglue.c90 t1_read_reg_4(ch_t *obj, uint32_t reg_val)
96 t1_write_reg_4(ch_t *obj, uint32_t reg_val, uint32_t write_val)
102 t1_os_pci_read_config_2(ch_t *obj, uint32_t reg, uint16_t *val)
109 t1_os_pci_write_config_2(ch_t *obj, uint32_t reg, uint16_t val)
116 t1_os_pci_read_config_4(ch_t *obj, uint32_t reg, uint32_t *val)
123 t1_os_pci_write_config_4(ch_t *obj, uint32_t reg, uint32_t val)
142 t1_num_of_ports(ch_t *obj)
149 pe_os_mem_copy(ch_t *obj, void *dst, void *src, size_t len)
156 pe_is_ring_buffer_enabled(ch_t *obj)
170 pe_ioctl(ch_t *ch
[all...]
H A Dosdep.h113 void t1_os_link_changed(ch_t *adapter, int port_id, int link_status,
H A Dsge.h443 pesge *t1_sge_create(ch_t *, struct sge_params *);
456 extern u32 t1_sge_get_ptimeout(ch_t *);
457 extern void t1_sge_set_ptimeout(ch_t *, u32);
H A Dsge.c88 static uint64_t os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb,
90 void pe_os_free_contig(ch_t *, size_t, void *, uint64_t, ulong_t, ulong_t);
102 static inline void setup_ring_params(ch_t *adapter, u64 addr, u32 size,
135 t1_sge_create(ch_t *sa, struct sge_params *p)
228 t1_espi_workaround(ch_t *adapter)
231 ch_t *chp = (ch_t *)sge->obj;
754 os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb, ulong_t *dh)
756 ch_esb_t *ch_get_small_rbuf(ch_t *sa);
757 ch_esb_t *ch_get_big_rbuf(ch_t *s
[all...]

Completed in 57 milliseconds