Lines Matching defs:ch_t

94 	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;
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);
290 int t1_os_pci_write_config_4(ch_t *obj, uint32_t reg, uint32_t val);
295 int t1_num_of_ports(ch_t *obj);
296 int pe_os_mem_copy(ch_t *obj, void *dst, void *src, size_t len);
297 void *pe_os_malloc_contig_wait_zero(ch_t *, size_t, uint64_t *,
299 void pe_set_mac(ch_t *sa, unsigned char *ac_enaddr);
300 unsigned char *pe_get_mac(ch_t *sa);
301 void pe_set_promiscuous(ch_t *sa, int flag);
302 int pe_get_stats(ch_t *sa, uint64_t *speed, uint32_t *intrcnt,
310 int pe_attach(ch_t *);
311 void pe_detach(ch_t *);
313 uint_t pe_intr(ch_t *);
319 int pe_start(ch_t *sa, mblk_t *mb, uint32_t flg);
320 void pe_stop(ch_t *sa);
321 void pe_ioctl(ch_t *, queue_t *, mblk_t *);
322 int pe_set_mc(ch_t *, uint8_t *, int);
324 int tpi_read(ch_t *obj, u32 addr, u32 *value);
329 void t1_fatal_err(ch_t *chp);
335 void pe_dma_handle_init(ch_t *, int);
336 free_dh_t *ch_get_dma_handle(ch_t *);
340 void pe_mark_freelists(ch_t *chp);
343 free_dh_t *ch_get_dvma_handle(ch_t *);
344 void ch_unbind_dvma_handle(ch_t *, free_dh_t *);