Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/chxge/
H A Dch.h242 } ch_t; typedef
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 *obj, uint32_t reg_val, uint32_t write_val);
287 uint32_t t1_os_pci_read_config_2(ch_t *obj, uint32_t reg, uint16_t *val);
288 uint32_t t1_os_pci_read_config_4(ch_t *obj, uint32_t reg, uint32_t *val);
289 int t1_os_pci_write_config_2(ch_t *obj, uint32_t reg, uint16_t val);
[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 *sa);
[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; in ch_attach()
399 chp = (ch_t *)kmem_zalloc(sizeof (ch_t), KM_SLEEP); in ch_attach()
444 kmem_free(chp, sizeof (ch_t)); in ch_attach()
520 kmem_free(chp, sizeof (ch_t)); in ch_attach()
[all …]
H A Dglue.c90 t1_read_reg_4(ch_t *obj, uint32_t reg_val) in t1_read_reg_4()
96 t1_write_reg_4(ch_t *obj, uint32_t reg_val, uint32_t write_val) in t1_write_reg_4()
102 t1_os_pci_read_config_2(ch_t *obj, uint32_t reg, uint16_t *val) in t1_os_pci_read_config_2()
109 t1_os_pci_write_config_2(ch_t *obj, uint32_t reg, uint16_t val) in t1_os_pci_write_config_2()
116 t1_os_pci_read_config_4(ch_t *obj, uint32_t reg, uint32_t *val) in t1_os_pci_read_config_4()
123 t1_os_pci_write_config_4(ch_t *obj, uint32_t reg, uint32_t val) in t1_os_pci_write_config_4()
142 t1_num_of_ports(ch_t *obj) in t1_num_of_ports()
149 pe_os_mem_copy(ch_t *obj, void *dst, void *src, size_t len) in pe_os_mem_copy()
156 pe_is_ring_buffer_enabled(ch_t *obj) in pe_is_ring_buffer_enabled()
170 pe_ioctl(ch_t *chp, queue_t *q, mblk_t *mp) in pe_ioctl()
[all …]
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) in t1_sge_create()
228 t1_espi_workaround(ch_t *adapter) in t1_espi_workaround()
231 ch_t *chp = (ch_t *)sge->obj; in t1_espi_workaround()
754 os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb, ulong_t *dh) in os_freelist_buffer_alloc()
756 ch_esb_t *ch_get_small_rbuf(ch_t *sa); in os_freelist_buffer_alloc()
757 ch_esb_t *ch_get_big_rbuf(ch_t *sa); in os_freelist_buffer_alloc()
1174 ch_t *chp = sge->obj; in free_cmdQ_buffers()
[all …]
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 Dosdep.h113 void t1_os_link_changed(ch_t *adapter, int port_id, int link_status,