/netbsd-src/sys/arch/hppa/include/ |
H A D | pci_machdep.h | 42 void *_cookie; member 72 (*(c)->pc_bus_maxdevs)((c)->_cookie, (b)) 74 (*(c)->pc_make_tag)((c)->_cookie, (b), (d), (f)) 76 (*(c)->pc_decompose_tag)((c)->_cookie, (t), (bp), (dp), (fp)) 78 (*(c)->pc_conf_read)((c)->_cookie, (t), (r)) 80 (*(c)->pc_conf_write)((c)->_cookie, (t), (r), (v)) 85 (*(c)->pc_intr_string)((c)->_cookie, (ih), (buf), (len)) 87 (*(c)->pc_intr_establish)((c)->_cookie, (ih), (l), (h), (a)) 89 (*(c)->pc_intr_disestablish)((c)->_cookie, (iv))
|
H A D | bus_funcs.h | 171 (*(t)->_dmamap_create)((t)->_cookie, (s), (n), (m), (b), (f), (p)) 173 (*(t)->_dmamap_destroy)((t)->_cookie, (p)) 175 (*(t)->_dmamap_load)((t)->_cookie, (m), (b), (s), (p), (f)) 177 (*(t)->_dmamap_load_mbuf)((t)->_cookie, (m), (b), (f)) 179 (*(t)->_dmamap_load_uio)((t)->_cookie, (m), (u), (f)) 181 (*(t)->_dmamap_load_raw)((t)->_cookie, (m), (sg), (n), (s), (f)) 183 (*(t)->_dmamap_unload)((t)->_cookie, (p)) 186 (*(t)->_dmamap_sync)((t)->_cookie, (p), (o), (l), (ops)) : (void)0) 189 (*(t)->_dmamem_alloc)((t)->_cookie, (s), (a), (b), (sg), (n), (r), (f)) 191 (*(t)->_dmamem_free)((t)->_cookie, (sg), (n)) [all …]
|
/netbsd-src/sys/arch/playstation2/playstation2/ |
H A D | sifbios.c | 327 sifrpc_receive_buffer(struct sifrpc_receive *_cookie, void *src_iop, in sifrpc_receive_buffer() argument 332 void *_cookie; in sifrpc_receive_buffer() member 340 _cookie: _cookie, in sifrpc_receive_buffer() 353 sifrpc_bind(struct sifrpc_client *_cookie, sifrpc_id_t rpc_id, in sifrpc_bind() argument 357 void *_cookie; /* filled by this call */ in sifrpc_bind() member 363 _cookie: _cookie, in sifrpc_bind() 374 sifrpc_call(struct sifrpc_client *_cookie, sifrpc_callno_t call_no, in sifrpc_call() argument 379 struct sifrpc_client *_cookie; /* binded client cookie */ in sifrpc_call() member 389 _cookie: _cookie, in sifrpc_call() 404 sifrpc_stat(struct sifrpc_header *_cookie) in sifrpc_stat() argument [all …]
|
/netbsd-src/sys/arch/alpha/pci/ |
H A D | mcpcia_dma.c | 103 t->_cookie = ccp; in mcpcia_dma_init() 129 t->_cookie = ccp; in mcpcia_dma_init() 156 t->_cookie = ccp; in mcpcia_dma_init() 250 struct mcpcia_config *ccp = t->_cookie; in mcpcia_dma_get_tag() 282 struct mcpcia_config *ccp = t->_cookie; in mcpcia_bus_dmamap_load_sgmap() 298 struct mcpcia_config *ccp = t->_cookie; in mcpcia_bus_dmamap_load_mbuf_sgmap() 313 struct mcpcia_config *ccp = t->_cookie; in mcpcia_bus_dmamap_load_uio_sgmap() 328 struct mcpcia_config *ccp = t->_cookie; in mcpcia_bus_dmamap_load_raw_sgmap() 343 struct mcpcia_config *ccp = t->_cookie; in mcpcia_bus_dmamap_unload_sgmap()
|
H A D | ttwoga_dma.c | 107 t->_cookie = tcp; in ttwoga_dma_init() 133 t->_cookie = tcp; in ttwoga_dma_init() 242 struct ttwoga_config *tcp = t->_cookie; in ttwoga_dma_get_tag() 276 struct ttwoga_config *tcp = t->_cookie; in ttwoga_bus_dmamap_load_sgmap() 294 struct ttwoga_config *tcp = t->_cookie; in ttwoga_bus_dmamap_load_mbuf_sgmap() 311 struct ttwoga_config *tcp = t->_cookie; in ttwoga_bus_dmamap_load_uio_sgmap() 328 struct ttwoga_config *tcp = t->_cookie; in ttwoga_bus_dmamap_load_raw_sgmap() 345 struct ttwoga_config *tcp = t->_cookie; in ttwoga_bus_dmamap_unload_sgmap()
|
H A D | tsp_dma.c | 217 t->_cookie = pcp; in tsp_dma_init() 259 t->_cookie = pcp; in tsp_dma_init() 285 t->_cookie = pcp; in tsp_dma_init() 311 t->_cookie = pcp; in tsp_dma_init() 417 struct tsp_config *pcp = t->_cookie; in tsp_dma_get_tag() 453 tsp_tlb_invalidate(t->_cookie); in tsp_bus_dmamap_load_sgmap() 468 tsp_tlb_invalidate(t->_cookie); in tsp_bus_dmamap_load_mbuf_sgmap() 483 tsp_tlb_invalidate(t->_cookie); in tsp_bus_dmamap_load_uio_sgmap() 499 tsp_tlb_invalidate(t->_cookie); in tsp_bus_dmamap_load_raw_sgmap() 516 tsp_tlb_invalidate(t->_cookie); in tsp_bus_dmamap_unload_sgmap()
|
H A D | irongate_dma.c | 92 t->_cookie = icp; in irongate_dma_init() 118 t->_cookie = icp; in irongate_dma_init() 148 struct irongate_config *icp = t->_cookie; in irongate_dma_get_tag()
|
H A D | cia_dma.c | 157 t->_cookie = ccp; in cia_dma_init() 185 t->_cookie = ccp; in cia_dma_init() 211 t->_cookie = ccp; in cia_dma_init() 361 struct cia_config *ccp = t->_cookie; in cia_dma_get_tag() 400 struct cia_config *ccp = t->_cookie; in cia_bus_dmamap_create_direct()
|
H A D | lca_dma.c | 103 t->_cookie = lcp; in lca_dma_init() 129 t->_cookie = lcp; in lca_dma_init() 197 struct lca_config *lcp = t->_cookie; in lca_dma_get_tag()
|
H A D | apecs_dma.c | 101 t->_cookie = acp; in apecs_dma_init() 127 t->_cookie = acp; in apecs_dma_init() 192 struct apecs_config *acp = t->_cookie; in apecs_dma_get_tag()
|
H A D | dwlpx_dma.c | 120 t->_cookie = ccp; in dwlpx_dma_init() 146 t->_cookie = ccp; in dwlpx_dma_init() 248 struct dwlpx_config *ccp = t->_cookie; in dwlpx_dma_get_tag()
|
/netbsd-src/sys/arch/alpha/tc/ |
H A D | tc_dma_3000_500.c | 153 struct tc_dma_slot_info *tdsi = t->_cookie; in tc_bus_dmamap_load_sgmap() 165 struct tc_dma_slot_info *tdsi = t->_cookie; in tc_bus_dmamap_load_mbuf_sgmap() 176 struct tc_dma_slot_info *tdsi = t->_cookie; in tc_bus_dmamap_load_uio_sgmap() 187 struct tc_dma_slot_info *tdsi = t->_cookie; in tc_bus_dmamap_load_raw_sgmap() 199 struct tc_dma_slot_info *tdsi = t->_cookie; in tc_bus_dmamap_unload_sgmap()
|
/netbsd-src/lib/libc/stdio/ |
H A D | stdio.c | 66 _DIAGASSERT(cookie == fp->_cookie); in __sread() 85 _DIAGASSERT(cookie == fp->_cookie); in __swrite() 106 _DIAGASSERT(cookie == fp->_cookie); in __sseek() 124 _DIAGASSERT(cookie == fp->_cookie); in __sclose()
|
H A D | freopen.c | 100 (void) (*fp->_close)(fp->_cookie); in freopen() 110 (void) (*fp->_close)(fp->_cookie); in freopen() 123 (void) (*fp->_close)(fp->_cookie); in freopen() 171 fp->_cookie = fp; in freopen()
|
H A D | fseeko.c | 104 curoff = (*seekfn)(fp->_cookie, (off_t)0, SEEK_CUR); in __weak_alias() 184 curoff = (*seekfn)(fp->_cookie, (off_t)0, SEEK_CUR); in __weak_alias() 239 if ((*seekfn)(fp->_cookie, curoff, SEEK_SET) == POS_ERR) in __weak_alias() 263 (*seekfn)(fp->_cookie, offset, whence) == POS_ERR) { in __weak_alias()
|
H A D | fvwrite.c | 107 w = (*fp->_write)(fp->_cookie, p, MIN(len, INT_MAX)); in __sfvwrite() 173 w = (*fp->_write)(fp->_cookie, p, (size_t)w); in __sfvwrite() 212 w = (*fp->_write)(fp->_cookie, p, (size_t)w); in __sfvwrite()
|
H A D | fflush.c | 107 t = (*fp->_write)(fp->_cookie, (char *)p, n); in __sflush() 114 return (*fp->_flush)(fp->_cookie); in __sflush()
|
/netbsd-src/sys/arch/alpha/jensenio/ |
H A D | jensenio_dma.c | 93 t->_cookie = jcp; in jensenio_dma_init() 119 t->_cookie = jcp; in jensenio_dma_init() 149 struct jensenio_config *jcp = t->_cookie; in jensenio_dma_get_tag()
|
/netbsd-src/sys/dev/mvme/ |
H A D | mvmebus.c | 212 sc->sc_mvmedmat._cookie = sc; in mvmebus_attach() 607 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamap_load() 620 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamap_load_mbuf() 633 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamap_load_uio() 646 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamap_load_raw() 664 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamap_unload() 674 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamap_sync() 765 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamem_map() 773 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamem_unmap() 781 struct mvmebus_softc *sc = t->_cookie; in mvmebus_dmamem_mmap()
|
/netbsd-src/sys/arch/dreamcast/dev/g2/ |
H A D | gapspci_dma.c | 90 t->_cookie = sc; in gaps_dma_init() 144 struct gaps_softc *sc = t->_cookie; in gaps_dmamap_create() 216 struct gaps_softc *sc = t->_cookie; in gaps_dmamap_destroy() 229 struct gaps_softc *sc = t->_cookie; in gaps_dmamap_load() 281 struct gaps_softc *sc = t->_cookie; in gaps_dmamap_load_mbuf() 351 struct gaps_softc *sc = t->_cookie; in gaps_dmamap_unload() 375 struct gaps_softc *sc = t->_cookie; in gaps_dmamap_sync()
|
/netbsd-src/sys/arch/algor/algor/ |
H A D | algor_p6032_dma.c | 58 t->_cookie = acp; in algor_p6032_dma_init() 70 t->_cookie = acp; in algor_p6032_dma_init()
|
H A D | algor_p5064_dma.c | 58 t->_cookie = acp; in algor_p5064_dma_init() 70 t->_cookie = acp; in algor_p5064_dma_init()
|
H A D | algor_p4032_dma.c | 58 t->_cookie = acp; in algor_p4032_dma_init() 72 t->_cookie = acp; in algor_p4032_dma_init()
|
/netbsd-src/sys/arch/arm/apple/ |
H A D | apple_dart.c | 388 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_create() 414 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_destroy() 425 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_load() 446 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_load_mbuf() 467 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_load_uio() 488 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_load_raw() 508 struct apple_dart_softc *sc = t->_cookie; in apple_dart_dmamap_unload() 698 sc->sc_bus_dmat._cookie = sc; in apple_dart_attach()
|
/netbsd-src/sys/arch/mips/alchemy/ |
H A D | aubus.c | 157 aubus_mdt._cookie = sc; in aubus_attach() 201 t->_cookie = sc;
|