Searched refs:ch_t (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | ch.h | 240 } ch_t; typedef 275 void *ch_alloc_dma_mem(ch_t *, int, int, int, uint64_t *, ulong_t *, ulong_t *); 277 void ch_unbind_dma_handle(ch_t *, free_dh_t *); 279 void ch_send_up(ch_t *, mblk_t *, uint32_t, int); 281 void ch_gld_ok(ch_t *); 283 uint32_t t1_read_reg_4(ch_t *obj, uint32_t reg_val); 284 void t1_write_reg_4(ch_t *obj, uint32_t reg_val, uint32_t write_val); 285 uint32_t t1_os_pci_read_config_2(ch_t *obj, uint32_t reg, uint16_t *val); 286 uint32_t t1_os_pci_read_config_4(ch_t *obj, uint32_t reg, uint32_t *val); 287 int t1_os_pci_write_config_2(ch_t *obj, uint32_t reg, uint16_t val); [all …]
|
H A D | pe.c | 79 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 D | ch.c | 86 static void ch_free_dma_handles(ch_t *chp); 87 static void ch_set_name(ch_t *chp, int unit); 88 static void ch_free_name(ch_t *chp); 89 static void ch_get_prop(ch_t *chp); 92 static void ch_free_dvma_handles(ch_t *chp); 266 ch_t *gchp[MAX_CARDS]; 366 ch_t *chp; in ch_attach() 401 chp = (ch_t *)kmem_zalloc(sizeof (ch_t), KM_SLEEP); in ch_attach() 446 kmem_free(chp, sizeof (ch_t)); in ch_attach() 522 kmem_free(chp, sizeof (ch_t)); in ch_attach() [all …]
|
H A D | glue.c | 90 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 D | sge.c | 86 static uint64_t os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb, 88 void pe_os_free_contig(ch_t *, size_t, void *, uint64_t, ulong_t, ulong_t); 100 static inline void setup_ring_params(ch_t *adapter, u64 addr, u32 size, 133 t1_sge_create(ch_t *sa, struct sge_params *p) in t1_sge_create() 226 t1_espi_workaround(ch_t *adapter) in t1_espi_workaround() 229 ch_t *chp = (ch_t *)sge->obj; in t1_espi_workaround() 753 os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb, ulong_t *dh) in os_freelist_buffer_alloc() 755 ch_esb_t *ch_get_small_rbuf(ch_t *sa); in os_freelist_buffer_alloc() 756 ch_esb_t *ch_get_big_rbuf(ch_t *sa); in os_freelist_buffer_alloc() 1172 ch_t *chp = sge->obj; in free_cmdQ_buffers() [all …]
|
H A D | sge.h | 441 pesge *t1_sge_create(ch_t *, struct sge_params *); 454 extern u32 t1_sge_get_ptimeout(ch_t *); 455 extern void t1_sge_set_ptimeout(ch_t *, u32);
|
H A D | osdep.h | 111 void t1_os_link_changed(ch_t *adapter, int port_id, int link_status,
|