Lines Matching defs:ch

140 typedef struct ch {  struct
141 dev_info_t *ch_dip; /* device dev info */ argument
142 gld_mac_info_t *ch_macp; /* gld mac structure */ argument
144 ch_cfg_t ch_config; /* instance configuration */ argument
145 uint_t ch_flags; /* state flags */ argument
146 uint_t ch_state; /* card state */ argument
147 uint_t ch_blked; /* card is blked on output */ argument
148 kmutex_t ch_lock; /* lock for ch structure */ argument
150 caddr_t ch_pci; /* PCI configuration vaddr */ argument
151 ddi_acc_handle_t ch_hpci; /* PCI configuration access handle */ argument
152 off_t ch_pcisz; /* size of PCI configuration space */ argument
154 caddr_t ch_bar0; /* PCI BAR0 vaddr */ argument
155 ddi_acc_handle_t ch_hbar0; /* PCI BAR0 access handle */ argument
156 off_t ch_bar0sz; /* size of BAR0 space */ argument
158 ddi_iblock_cookie_t ch_icookp; /* hardware interrupt cookie ptr */ argument
159 kmutex_t ch_intr; /* lock for interrupts */ argument
161 uint32_t ch_maximum_mtu; /* maximum mtu for adapter */ argument
163 uint32_t ch_sm_buf_sz; /* size of sm esballoc bufs */ argument
164 uint32_t ch_sm_buf_aln; /* alignment of sm esballoc bufs */ argument
165 ch_esb_t *ch_small_esb_free; /* free list sm esballoc bufs */ argument
166 ch_esb_t *ch_small_owner; /* list small bufs owned by ch_t */ argument
167 kmutex_t ch_small_esbl; /* lock for ch_small_esb list */ argument
168 uint_t ch_sm_index; /* small buffer in use count index */ argument
170 uint32_t ch_bg_buf_sz; /* size of bg esballoc bufs */ argument
171 uint32_t ch_bg_buf_aln; /* alignment of bg esballoc bufs */ argument
172 ch_esb_t *ch_big_esb_free; /* free list of esballoc entries */ argument
173 ch_esb_t *ch_big_owner; /* list big bufs owned by ch_t */ argument
174 kmutex_t ch_big_esbl; /* lock for ch_esb list */ argument
175 uint_t ch_big_index; /* big buffer in use count index */ argument
177 kmutex_t ch_mc_lck; /* lock of mulitcast list */ argument
178 ch_mc_t *ch_mc; /* list of multicast entries */ argument
179 uint32_t ch_mc_cnt; /* cnt of multicast entries */ argument
182 kmutex_t ch_dh_lck; /* lock for ch_dh list */ argument
183 free_dh_t *ch_dh; /* list of free dma headers for v2p */ argument
187 free_dh_t *ch_vdh; /* list of free dvma headers for v2p */ argument
190 uint32_t ch_ip; /* ip address from first arp */ argument
192 uint32_t ch_mtu; /* size of device MTU (1500 default) */ argument
197 struct pe_port_t port[4]; /* from freebsd/oschtoe.h driver */ argument
213 uint16_t chip_revision; argument
214 uint16_t chip_version; argument
217 uint32_t ch_unit; argument
219 char *ch_name; argument
225 int ch_refcnt; argument
226 void *ch_toeinst; argument
230 kcondvar_t *ch_tx_overflow_cv; argument
231 kmutex_t *ch_tx_overflow_mutex; argument
240 } ch_t; argument