| /openbsd-src/sys/arch/alpha/isa/ |
| H A D | isadma_bounce.c | 117 map->_dm_cookie = NULL; in isadma_bounce_dmamap_create() 159 map->_dm_cookie = cookie; in isadma_bounce_dmamap_create() 175 free(map->_dm_cookie, M_DEVBUF, cookiesize); in isadma_bounce_dmamap_create() 187 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_dmamap_destroy() 206 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_dmamap_load() 269 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_dmamap_load_mbuf() 363 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_dmamap_unload() 386 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_dmamap_sync() 544 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_alloc_bouncebuf() 573 struct isadma_bounce_cookie *cookie = map->_dm_cookie; in isadma_bounce_free_bouncebuf()
|
| /openbsd-src/sys/arch/amd64/isa/ |
| H A D | isa_machdep.c | 350 map->_dm_cookie = NULL; in _isa_bus_dmamap_create() 395 map->_dm_cookie = cookie; in _isa_bus_dmamap_create() 410 free(map->_dm_cookie, M_DEVBUF, cookiesize); in _isa_bus_dmamap_create() 422 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_destroy() 441 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_load() 541 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_unload() 566 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_sync() 697 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_dma_alloc_bouncebuf() 728 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_dma_free_bouncebuf()
|
| /openbsd-src/sys/arch/alpha/dev/ |
| H A D | sgmap_common.c | 151 map->_dm_cookie = mallocarray(nsegments, sizeof(struct extent_region), 153 if (map->_dm_cookie != NULL) 155 return (map->_dm_cookie == NULL); 192 free(map->_dm_cookie, M_DEVBUF, map->_dm_cookiesize);
|
| H A D | sgmap_typedep.c | 63 struct extent_region *regions = map->_dm_cookie; in __C()
|
| /openbsd-src/sys/arch/i386/isa/ |
| H A D | isa_machdep.c | 658 map->_dm_cookie = NULL; in _isa_bus_dmamap_create() 702 map->_dm_cookie = cookie; in _isa_bus_dmamap_create() 717 free(map->_dm_cookie, M_DEVBUF, cookiesize); in _isa_bus_dmamap_create() 729 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_destroy() 748 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_load() 848 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_unload() 873 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_bus_dmamap_sync() 1004 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_dma_alloc_bouncebuf() 1035 struct isa_dma_cookie *cookie = map->_dm_cookie; in _isa_dma_free_bouncebuf()
|
| /openbsd-src/sys/arch/sparc64/dev/ |
| H A D | viommu.c | 242 map->_dm_cookie = ims; in viommu_dvmamap_create() 259 if (map->_dm_cookie) in viommu_dvmamap_destroy() 260 iommu_iomap_destroy(map->_dm_cookie); in viommu_dvmamap_destroy() 261 map->_dm_cookie = NULL; in viommu_dvmamap_destroy() 285 struct iommu_map_state *ims = map->_dm_cookie; in viommu_dvmamap_load() 471 struct iommu_map_state *ims = map->_dm_cookie; in viommu_dvmamap_load_raw() 621 struct iommu_map_state *ims = map->_dm_cookie; in viommu_dvmamap_append_range() 836 struct iommu_map_state *ims = map->_dm_cookie; in viommu_dvmamap_unload() 876 struct iommu_map_state *ims = map->_dm_cookie; in viommu_dvmamap_sync()
|
| H A D | iommu.c | 621 map->_dm_cookie = is; in iommu_dvmamap_create() 634 map->_dm_cookie = ims; in iommu_dvmamap_create() 658 if (map->_dm_cookie) in iommu_dvmamap_destroy() 659 iommu_iomap_destroy(map->_dm_cookie); in iommu_dvmamap_destroy() 661 map->_dm_cookie = NULL; in iommu_dvmamap_destroy() 697 is = map->_dm_cookie; in iommu_dvmamap_load() 713 ims = map->_dm_cookie; in iommu_dvmamap_load() 908 is = map->_dm_cookie; in iommu_dvmamap_load_raw() 927 ims = map->_dm_cookie; in iommu_dvmamap_load_raw() 1108 struct iommu_map_state *ims = map->_dm_cookie; in iommu_dvmamap_append_range() [all …]
|
| /openbsd-src/sys/arch/hppa/dev/ |
| H A D | astro.c | 356 map->_dm_cookie = ims; in iommu_dvmamap_create() 374 if (map->_dm_cookie) in iommu_dvmamap_destroy() 375 iommu_iomap_destroy(map->_dm_cookie); in iommu_dvmamap_destroy() 376 map->_dm_cookie = NULL; in iommu_dvmamap_destroy() 384 struct iommu_map_state *ims = map->_dm_cookie; in iommu_iomap_load_map() 496 struct iommu_map_state *ims = map->_dm_cookie; in iommu_dvmamap_unload()
|
| /openbsd-src/sys/dev/pv/ |
| H A D | xen.c | 1240 (*dmamp)->_dm_cookie = gm; in xen_bus_dmamap_create() 1259 gm = map->_dm_cookie; in xen_bus_dmamap_destroy() 1274 struct xen_gntmap *gm = map->_dm_cookie; in xen_bus_dmamap_load() 1296 struct xen_gntmap *gm = map->_dm_cookie; in xen_bus_dmamap_load_mbuf() 1317 struct xen_gntmap *gm = map->_dm_cookie; in xen_bus_dmamap_unload()
|
| /openbsd-src/sys/arch/arm64/dev/ |
| H A D | apldart.c | 789 struct apldart_map_state *ams = map->_dm_cookie; in apldart_load_map() 853 struct apldart_map_state *ams = map->_dm_cookie; in apldart_unload_map() 911 map->_dm_cookie = ams; in apldart_dmamap_create() 921 struct apldart_map_state *ams = map->_dm_cookie; in apldart_dmamap_destroy()
|
| H A D | smmu.c | 1231 struct smmu_map_state *sms = map->_dm_cookie; in smmu_load_map() 1270 struct smmu_map_state *sms = map->_dm_cookie; in smmu_unload_map() 1339 map->_dm_cookie = sms; in smmu_dmamap_create() 1349 struct smmu_map_state *sms = map->_dm_cookie; in smmu_dmamap_destroy()
|
| /openbsd-src/sys/arch/sparc64/include/ |
| H A D | bus.h | 636 void *_dm_cookie; /* cookie for bus-specific functions */ 638 void *_dm_cookie; /* cookie for bus-specific functions */ global() member
|
| /openbsd-src/sys/arch/loongson/include/ |
| H A D | bus.h | 503 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/octeon/include/ |
| H A D | bus.h | 469 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/i386/include/ |
| H A D | bus.h | 659 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/macppc/include/ |
| H A D | bus.h | 633 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/riscv64/include/ |
| H A D | bus.h | 496 void *_dm_cookie; /* cookie for bus-specific functions */ 494 void *_dm_cookie; /* cookie for bus-specific functions */ global() member
|
| /openbsd-src/sys/arch/arm64/include/ |
| H A D | bus.h | 494 void *_dm_cookie; /* cookie for bus-specific functions */ 492 void *_dm_cookie; /* cookie for bus-specific functions */ global() member
|
| /openbsd-src/sys/arch/powerpc64/include/ |
| H A D | bus.h | 480 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/amd64/include/ |
| H A D | bus.h | 659 void *_dm_cookie; /* cookie for bus-specific functions */ 656 void *_dm_cookie; /* cookie for bus-specific functions */ global() member
|
| /openbsd-src/sys/arch/hppa/include/ |
| H A D | bus.h | 417 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/alpha/include/ |
| H A D | bus.h | 652 void *_dm_cookie; member
|
| /openbsd-src/sys/arch/landisk/include/ |
| H A D | bus.h | 559 void *_dm_cookie; /* cookie for bus-specific functions */ member
|
| /openbsd-src/sys/arch/arm/include/ |
| H A D | bus.h | 760 void *_dm_cookie; /* cookie for bus-specific functions */ member
|