Lines Matching refs:ch_t
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);
288 int t1_os_pci_write_config_4(ch_t *obj, uint32_t reg, uint32_t val);
293 int t1_num_of_ports(ch_t *obj);
294 int pe_os_mem_copy(ch_t *obj, void *dst, void *src, size_t len);
295 void *pe_os_malloc_contig_wait_zero(ch_t *, size_t, uint64_t *,
297 void pe_set_mac(ch_t *sa, unsigned char *ac_enaddr);
298 unsigned char *pe_get_mac(ch_t *sa);
299 void pe_set_promiscuous(ch_t *sa, int flag);
300 int pe_get_stats(ch_t *sa, uint64_t *speed, uint32_t *intrcnt,
308 int pe_attach(ch_t *);
309 void pe_detach(ch_t *);
311 uint_t pe_intr(ch_t *);
317 int pe_start(ch_t *sa, mblk_t *mb, uint32_t flg);
318 void pe_stop(ch_t *sa);
319 void pe_ioctl(ch_t *, queue_t *, mblk_t *);
320 int pe_set_mc(ch_t *, uint8_t *, int);
322 int tpi_read(ch_t *obj, u32 addr, u32 *value);
327 void t1_fatal_err(ch_t *chp);
333 void pe_dma_handle_init(ch_t *, int);
334 free_dh_t *ch_get_dma_handle(ch_t *);
338 void pe_mark_freelists(ch_t *chp);
341 free_dh_t *ch_get_dvma_handle(ch_t *);
342 void ch_unbind_dvma_handle(ch_t *, free_dh_t *);