/freebsd/sys/arm64/arm64/ |
H A D | busdma_bounce.c | 99 bus_dma_tag_t dmat; member 125 #define dmat_alignment(dmat) ((dmat)->common.alignment) argument 126 #define dmat_bounce_flags(dmat) ((dmat)->bounce_flags) argument 127 #define dmat_boundary(dmat) ((dmat)->common.boundary) argument 128 #define dmat_domain(dmat) ((dmat)->common.domain) argument 129 #define dmat_flags(dmat) ((dmat)->common.flags) argument 130 #define dmat_highaddr(dmat) ((dmat)->common.highaddr) argument 131 #define dmat_lowaddr(dmat) ((dmat)->common.lowaddr) argument 132 #define dmat_lockfunc(dmat) ((dmat)->common.lockfunc) argument 133 #define dmat_lockfuncarg(dmat) ((dmat)->common.lockfuncarg) argument [all …]
|
H A D | busdma_machdep.c | 57 void *lockfuncarg, size_t sz, void **dmat) in common_bus_dma_tag_create() 125 void *lockfuncarg, bus_dma_tag_t *dmat) in bus_dma_tag_create() 148 bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat) in bus_dma_template_clone() 170 bus_dma_tag_destroy(bus_dma_tag_t dmat) in bus_dma_tag_destroy() 179 bus_dma_tag_set_domain(bus_dma_tag_t dmat, int domain) in bus_dma_tag_set_domain()
|
/freebsd/sys/x86/x86/ |
H A D | busdma_bounce.c | 88 bus_dma_tag_t dmat; member 110 #define dmat_alignment(dmat) ((dmat)->common.alignment) argument 111 #define dmat_bounce_flags(dmat) ((dmat)->bounce_flags) argument 112 #define dmat_boundary(dmat) ((dmat) argument 113 dmat_highaddr(dmat) global() argument 114 dmat_lowaddr(dmat) global() argument 115 dmat_lockfunc(dmat) global() argument 116 dmat_lockfuncarg(dmat) global() argument 128 must_bounce(bus_dma_tag_t dmat,vm_paddr_t paddr) must_bounce() argument 138 bounce_bus_dma_zone_setup(bus_dma_tag_t dmat) bounce_bus_dma_zone_setup() argument 170 bounce_bus_dma_tag_create(bus_dma_tag_t parent,bus_size_t alignment,bus_addr_t boundary,bus_addr_t lowaddr,bus_addr_t highaddr,bus_size_t maxsize,int nsegments,bus_size_t maxsegsz,int flags,bus_dma_lock_t * lockfunc,void * lockfuncarg,bus_dma_tag_t * dmat) bounce_bus_dma_tag_create() argument 220 bounce_bus_dma_id_mapped(bus_dma_tag_t dmat,vm_paddr_t buf,bus_size_t buflen) bounce_bus_dma_id_mapped() argument 233 bounce_bus_dma_tag_set_domain(bus_dma_tag_t dmat) bounce_bus_dma_tag_set_domain() argument 246 bounce_bus_dma_tag_destroy(bus_dma_tag_t dmat) bounce_bus_dma_tag_destroy() argument 269 bounce_bus_dmamap_create(bus_dma_tag_t dmat,int flags,bus_dmamap_t * mapp) bounce_bus_dmamap_create() argument 359 bounce_bus_dmamap_destroy(bus_dma_tag_t dmat,bus_dmamap_t map) bounce_bus_dmamap_destroy() argument 383 bounce_bus_dmamem_alloc(bus_dma_tag_t dmat,void ** vaddr,int flags,bus_dmamap_t * mapp) bounce_bus_dmamem_alloc() argument 478 bounce_bus_dmamem_free(bus_dma_tag_t dmat,void * vaddr,bus_dmamap_t map) bounce_bus_dmamem_free() argument 496 _bus_dmamap_pagesneeded(bus_dma_tag_t dmat,vm_paddr_t buf,bus_size_t buflen,int * pagesneeded) _bus_dmamap_pagesneeded() argument 528 _bus_dmamap_count_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags) _bus_dmamap_count_phys() argument 539 _bus_dmamap_count_pages(bus_dma_tag_t dmat,bus_dmamap_t map,pmap_t pmap,void * buf,bus_size_t buflen,int flags) _bus_dmamap_count_pages() argument 580 _bus_dmamap_count_ma(bus_dma_tag_t dmat,bus_dmamap_t map,struct vm_page ** ma,int ma_offs,bus_size_t buflen,int flags) _bus_dmamap_count_ma() argument 629 _bus_dmamap_addseg(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t curaddr,bus_size_t sgsize,bus_dma_segment_t * segs,int * segp) _bus_dmamap_addseg() argument 678 bounce_bus_dmamap_load_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags,bus_dma_segment_t * segs,int * segp) bounce_bus_dmamap_load_phys() argument 730 bounce_bus_dmamap_load_buffer(bus_dma_tag_t dmat,bus_dmamap_t map,void * buf,bus_size_t buflen,pmap_t pmap,int flags,bus_dma_segment_t * segs,int * segp) bounce_bus_dmamap_load_buffer() argument 797 bounce_bus_dmamap_load_ma(bus_dma_tag_t dmat,bus_dmamap_t map,struct vm_page ** ma,bus_size_t buflen,int ma_offs,int flags,bus_dma_segment_t * segs,int * segp) bounce_bus_dmamap_load_ma() argument 880 bounce_bus_dmamap_waitok(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem,bus_dmamap_callback_t * callback,void * callback_arg) bounce_bus_dmamap_waitok() argument 893 bounce_bus_dmamap_complete(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dma_segment_t * segs,int nsegs,int error) bounce_bus_dmamap_complete() argument 906 bounce_bus_dmamap_unload(bus_dma_tag_t dmat,bus_dmamap_t map) bounce_bus_dmamap_unload() argument 915 bounce_bus_dmamap_sync(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dmasync_op_t op) bounce_bus_dmamap_sync() argument [all...] |
H A D | busdma_machdep.c | 61 void **dmat) in common_bus_dma_tag_create() 121 bus_dma_tag_set_domain(bus_dma_tag_t dmat, int domain) in bus_dma_tag_set_domain() 142 void *lockfuncarg, bus_dma_tag_t *dmat) in bus_dma_tag_create() 165 bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat) in bus_dma_template_clone() 187 bus_dma_tag_destroy(bus_dma_tag_t dmat) in bus_dma_tag_destroy()
|
/freebsd/sys/x86/include/ |
H A D | bus_dma.h | 40 bus_dma_id_mapped(bus_dma_tag_t dmat, vm_paddr_t buf, bus_size_t buflen) in bus_dma_id_mapped() argument 53 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) in bus_dmamap_create() argument 66 bus_dmamap_destroy(bus_dma_tag_t dmat, bus_dmamap_t map) in bus_dmamap_destroy() argument 80 bus_dmamem_alloc(bus_dma_tag_t dmat, voi argument 94 bus_dmamem_free(bus_dma_tag_t dmat,void * vaddr,bus_dmamap_t map) bus_dmamem_free() argument 106 bus_dmamap_unload(bus_dma_tag_t dmat,bus_dmamap_t map) bus_dmamap_unload() argument 117 bus_dmamap_sync(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dmasync_op_t op) bus_dmamap_sync() argument 132 _bus_dmamap_load_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_phys() argument 143 _bus_dmamap_load_ma(bus_dma_tag_t dmat,bus_dmamap_t map,struct vm_page ** ma,bus_size_t tlen,int ma_offs,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_ma() argument 159 _bus_dmamap_load_buffer(bus_dma_tag_t dmat,bus_dmamap_t map,void * buf,bus_size_t buflen,struct pmap * pmap,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_buffer() argument 171 _bus_dmamap_waitok(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem,bus_dmamap_callback_t * callback,void * callback_arg) _bus_dmamap_waitok() argument 183 _bus_dmamap_complete(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dma_segment_t * segs,int nsegs,int error) _bus_dmamap_complete() argument 194 _bus_dmamap_load_kmsan(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem) _bus_dmamap_load_kmsan() argument [all...] |
/freebsd/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 89 bus_dma_tag_t dmat; member 102 #define dmat_alignment(dmat) ((dmat)->alignment) argument 103 #define dmat_bounce_flags(dmat) (0) argument 104 #define dmat_boundary(dmat) ((dmat)->boundary) argument 105 #define dmat_flags(dmat) ((dmat)->flags) argument 106 #define dmat_highaddr(dmat) ((dmat) argument 107 dmat_lockfuncarg(dmat) global() argument 116 must_bounce(bus_dma_tag_t dmat,bus_addr_t paddr) must_bounce() argument 139 bus_dma_tag_create(bus_dma_tag_t parent,bus_size_t alignment,bus_addr_t boundary,bus_addr_t lowaddr,bus_addr_t highaddr,bus_dma_filter_t * filter,void * filterarg,bus_size_t maxsize,int nsegments,bus_size_t maxsegsz,int flags,bus_dma_lock_t * lockfunc,void * lockfuncarg,bus_dma_tag_t * dmat) bus_dma_tag_create() argument 240 bus_dma_template_clone(bus_dma_template_t * t,bus_dma_tag_t dmat) bus_dma_template_clone() argument 259 bus_dma_tag_set_domain(bus_dma_tag_t dmat,int domain) bus_dma_tag_set_domain() argument 266 bus_dma_tag_destroy(bus_dma_tag_t dmat) bus_dma_tag_destroy() argument 288 bus_dmamap_create(bus_dma_tag_t dmat,int flags,bus_dmamap_t * mapp) bus_dmamap_create() argument 371 bus_dmamap_destroy(bus_dma_tag_t dmat,bus_dmamap_t map) bus_dmamap_destroy() argument 395 bus_dmamem_alloc(bus_dma_tag_t dmat,void ** vaddr,int flags,bus_dmamap_t * mapp) bus_dmamem_alloc() argument 457 bus_dmamem_free(bus_dma_tag_t dmat,void * vaddr,bus_dmamap_t map) bus_dmamem_free() argument 469 _bus_dmamap_count_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags) _bus_dmamap_count_phys() argument 500 _bus_dmamap_count_pages(bus_dma_tag_t dmat,bus_dmamap_t map,pmap_t pmap,void * buf,bus_size_t buflen,int flags) _bus_dmamap_count_pages() argument 542 _bus_dmamap_addseg(bus_dma_tag_t dmat,bus_dmamap_t map,bus_addr_t curaddr,bus_size_t sgsize,bus_dma_segment_t * segs,int * segp) _bus_dmamap_addseg() argument 584 _bus_dmamap_load_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_phys() argument 630 _bus_dmamap_load_ma(bus_dma_tag_t dmat,bus_dmamap_t map,struct vm_page ** ma,bus_size_t tlen,int ma_offs,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_ma() argument 644 _bus_dmamap_load_buffer(bus_dma_tag_t dmat,bus_dmamap_t map,void * buf,bus_size_t buflen,pmap_t pmap,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_buffer() argument 714 _bus_dmamap_waitok(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem,bus_dmamap_callback_t * callback,void * callback_arg) _bus_dmamap_waitok() argument 728 _bus_dmamap_complete(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dma_segment_t * segs,int nsegs,int error) _bus_dmamap_complete() argument 752 bus_dmamap_unload(bus_dma_tag_t dmat,bus_dmamap_t map) bus_dmamap_unload() argument 763 bus_dmamap_sync(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dmasync_op_t op) bus_dmamap_sync() argument [all...] |
/freebsd/sys/riscv/include/ |
H A D | bus_dma.h | 15 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) in bus_dmamap_create() argument 28 bus_dmamap_destroy(bus_dma_tag_t dmat, bus_dmamap_t map) in bus_dmamap_destroy() argument 42 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, in bus_dmamem_alloc() argument 56 bus_dmamem_free(bus_dma_tag_t dmat, voi argument 68 bus_dmamap_unload(bus_dma_tag_t dmat,bus_dmamap_t map) bus_dmamap_unload() argument 77 bus_dmamap_sync(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dmasync_op_t op) bus_dmamap_sync() argument 86 _bus_dmamap_load_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_phys() argument 97 _bus_dmamap_load_ma(bus_dma_tag_t dmat,bus_dmamap_t map,struct vm_page ** ma,bus_size_t tlen,int ma_offs,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_ma() argument 109 _bus_dmamap_load_buffer(bus_dma_tag_t dmat,bus_dmamap_t map,void * buf,bus_size_t buflen,struct pmap * pmap,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_buffer() argument 121 _bus_dmamap_waitok(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem,bus_dmamap_callback_t * callback,void * callback_arg) _bus_dmamap_waitok() argument 131 _bus_dmamap_complete(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dma_segment_t * segs,int nsegs,int error) _bus_dmamap_complete() argument [all...] |
/freebsd/sys/arm/arm/ |
H A D | busdma_machdep.c | 143 bus_dma_tag_t dmat; member 170 #define dmat_alignment(dmat) ((dmat)->alignment) argument 171 #define dmat_bounce_flags(dmat) (0) argument 172 #define dmat_boundary(dmat) ((dmat)->boundary) argument 173 #define dmat_flags(dmat) ((dmat) argument 174 dmat_lockfunc(dmat) global() argument 175 dmat_lockfuncarg(dmat) global() argument 262 exclusion_bounce(bus_dma_tag_t dmat) exclusion_bounce() argument 272 alignment_bounce(bus_dma_tag_t dmat,bus_addr_t addr) alignment_bounce() argument 313 might_bounce(bus_dma_tag_t dmat,bus_dmamap_t map,bus_addr_t addr,bus_size_t size) might_bounce() argument 337 must_bounce(bus_dma_tag_t dmat,bus_dmamap_t map,bus_addr_t paddr,bus_size_t size) must_bounce() argument 361 bus_dma_tag_create(bus_dma_tag_t parent,bus_size_t alignment,bus_addr_t boundary,bus_addr_t lowaddr,bus_addr_t highaddr,bus_dma_filter_t * filter,void * filterarg,bus_size_t maxsize,int nsegments,bus_size_t maxsegsz,int flags,bus_dma_lock_t * lockfunc,void * lockfuncarg,bus_dma_tag_t * dmat) bus_dma_tag_create() argument 473 bus_dma_template_clone(bus_dma_template_t * t,bus_dma_tag_t dmat) bus_dma_template_clone() argument 492 bus_dma_tag_set_domain(bus_dma_tag_t dmat,int domain) bus_dma_tag_set_domain() argument 499 bus_dma_tag_destroy(bus_dma_tag_t dmat) bus_dma_tag_destroy() argument 516 allocate_bz_and_pages(bus_dma_tag_t dmat,bus_dmamap_t mapp) allocate_bz_and_pages() argument 557 allocate_map(bus_dma_tag_t dmat,int mflags) allocate_map() argument 587 bus_dmamap_create(bus_dma_tag_t dmat,int flags,bus_dmamap_t * mapp) bus_dmamap_create() argument 624 bus_dmamap_destroy(bus_dma_tag_t dmat,bus_dmamap_t map) bus_dmamap_destroy() argument 649 bus_dmamem_alloc(bus_dma_tag_t dmat,void ** vaddr,int flags,bus_dmamap_t * mapp) bus_dmamem_alloc() argument 749 bus_dmamem_free(bus_dma_tag_t dmat,void * vaddr,bus_dmamap_t map) bus_dmamem_free() argument 778 _bus_dmamap_count_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags) _bus_dmamap_count_phys() argument 809 _bus_dmamap_count_pages(bus_dma_tag_t dmat,pmap_t pmap,bus_dmamap_t map,void * buf,bus_size_t buflen,int flags) _bus_dmamap_count_pages() argument 849 _bus_dmamap_addseg(bus_dma_tag_t dmat,bus_dmamap_t map,bus_addr_t curaddr,bus_size_t sgsize,bus_dma_segment_t * segs,int * segp) _bus_dmamap_addseg() argument 891 _bus_dmamap_load_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_phys() argument 967 _bus_dmamap_load_ma(bus_dma_tag_t dmat,bus_dmamap_t map,struct vm_page ** ma,bus_size_t tlen,int ma_offs,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_ma() argument 981 _bus_dmamap_load_buffer(bus_dma_tag_t dmat,bus_dmamap_t map,void * buf,bus_size_t buflen,pmap_t pmap,int flags,bus_dma_segment_t * segs,int * segp) _bus_dmamap_load_buffer() argument 1097 _bus_dmamap_waitok(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem,bus_dmamap_callback_t * callback,void * callback_arg) _bus_dmamap_waitok() argument 1108 _bus_dmamap_complete(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dma_segment_t * segs,int nsegs,int error) _bus_dmamap_complete() argument 1121 bus_dmamap_unload(bus_dma_tag_t dmat,bus_dmamap_t map) bus_dmamap_unload() argument 1220 bus_dmamap_sync(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dmasync_op_t op) bus_dmamap_sync() argument [all...] |
/freebsd/sys/riscv/riscv/ |
H A D | busdma_bounce.c | 93 bus_dma_tag_t dmat; member 113 #define dmat_alignment(dmat) ((dmat)->common.alignment) argument 114 #define dmat_bounce_flags(dmat) ((dmat)->bounce_flags) argument 115 #define dmat_boundary(dmat) ((dmat)->common.boundary) argument 116 #define dmat_flags(dmat) ((dma argument 117 dmat_lockfunc(dmat) global() argument 118 dmat_lockfuncarg(dmat) global() argument 129 bounce_bus_dma_tag_create(bus_dma_tag_t parent,bus_size_t alignment,bus_addr_t boundary,bus_addr_t lowaddr,bus_addr_t highaddr,bus_size_t maxsize,int nsegments,bus_size_t maxsegsz,int flags,bus_dma_lock_t * lockfunc,void * lockfuncarg,bus_dma_tag_t * dmat) bounce_bus_dma_tag_create() argument 197 bounce_bus_dma_tag_destroy(bus_dma_tag_t dmat) bounce_bus_dma_tag_destroy() argument 216 alloc_dmamap(bus_dma_tag_t dmat,int flags) alloc_dmamap() argument 238 bounce_bus_dmamap_create(bus_dma_tag_t dmat,int flags,bus_dmamap_t * mapp) bounce_bus_dmamap_create() argument 321 bounce_bus_dmamap_destroy(bus_dma_tag_t dmat,bus_dmamap_t map) bounce_bus_dmamap_destroy() argument 349 bounce_bus_dmamem_alloc(bus_dma_tag_t dmat,void ** vaddr,int flags,bus_dmamap_t * mapp) bounce_bus_dmamem_alloc() argument 462 bounce_bus_dmamem_free(bus_dma_tag_t dmat,void * vaddr,bus_dmamap_t map) bounce_bus_dmamem_free() argument 483 _bus_dmamap_count_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags) _bus_dmamap_count_phys() argument 510 _bus_dmamap_count_pages(bus_dma_tag_t dmat,bus_dmamap_t map,pmap_t pmap,void * buf,bus_size_t buflen,int flags) _bus_dmamap_count_pages() argument 554 _bus_dmamap_addseg(bus_dma_tag_t dmat,bus_dmamap_t map,bus_addr_t curaddr,bus_size_t sgsize,bus_dma_segment_t * segs,int * segp) _bus_dmamap_addseg() argument 596 bounce_bus_dmamap_load_phys(bus_dma_tag_t dmat,bus_dmamap_t map,vm_paddr_t buf,bus_size_t buflen,int flags,bus_dma_segment_t * segs,int * segp) bounce_bus_dmamap_load_phys() argument 666 bounce_bus_dmamap_load_buffer(bus_dma_tag_t dmat,bus_dmamap_t map,void * buf,bus_size_t buflen,pmap_t pmap,int flags,bus_dma_segment_t * segs,int * segp) bounce_bus_dmamap_load_buffer() argument 763 bounce_bus_dmamap_waitok(bus_dma_tag_t dmat,bus_dmamap_t map,struct memdesc * mem,bus_dmamap_callback_t * callback,void * callback_arg) bounce_bus_dmamap_waitok() argument 776 bounce_bus_dmamap_complete(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dma_segment_t * segs,int nsegs,int error) bounce_bus_dmamap_complete() argument 789 bounce_bus_dmamap_unload(bus_dma_tag_t dmat,bus_dmamap_t map) bounce_bus_dmamap_unload() argument 871 bounce_bus_dmamap_sync(bus_dma_tag_t dmat,bus_dmamap_t map,bus_dmasync_op_t op) bounce_bus_dmamap_sync() argument [all...] |
H A D | busdma_machdep.c | 56 void *lockfuncarg, size_t sz, void **dmat) in common_bus_dma_tag_create() 119 void *lockfuncarg, bus_dma_tag_t *dmat) in bus_dma_tag_create() 142 bus_dma_template_clone(bus_dma_template_t *t, bus_dma_tag_t dmat) in bus_dma_template_clone() 164 bus_dma_tag_destroy(bus_dma_tag_t dmat) in bus_dma_tag_destroy() 173 bus_dma_tag_set_domain(bus_dma_tag_t dmat, int domain) in bus_dma_tag_set_domain()
|
/freebsd/sys/kern/ |
H A D | subr_bus_dma.c | 102 _bus_dmamap_load_vlist(bus_dma_tag_t dmat, bus_dmamap_t map, in _bus_dmamap_load_vlist() 134 _bus_dmamap_load_plist(bus_dma_tag_t dmat, bus_dmamap_t map, in _bus_dmamap_load_plist() 154 _bus_dmamap_load_mbuf_epg(bus_dma_tag_t dmat, bus_dmamap_t map, in _bus_dmamap_load_mbuf_epg() 213 _bus_dmamap_load_single_mbuf(bus_dma_tag_t dmat, bus_dmamap_t map, in _bus_dmamap_load_single_mbuf() 234 _bus_dmamap_load_mbuf_sg(bus_dma_tag_t dmat, bus_dmamap_t map, in _bus_dmamap_load_mbuf_sg() 258 bus_dmamap_load_ma_triv(bus_dma_tag_t dmat, bus_dmamap_t map, in bus_dmamap_load_ma_triv() 283 _bus_dmamap_load_uio(bus_dma_tag_t dmat, bus_dmamap_t map, struct uio *uio, in _bus_dmamap_load_uio() 325 bus_dmamap_load(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, in bus_dmamap_load() 372 bus_dmamap_load_mbuf(bus_dma_tag_t dmat, bus_dmamap_t map, struct mbuf *m0, in bus_dmamap_load_mbuf() 402 bus_dmamap_load_mbuf_sg(bus_dma_tag_t dmat, bus_dmamap_t map, struct mbuf *m0, in bus_dmamap_load_mbuf_sg() [all …]
|
H A D | subr_busdma_bounce.c | 108 _bus_dmamap_reserve_pages(bus_dma_tag_t dmat, bus_dmamap_t map, int flags) in _bus_dmamap_reserve_pages() 155 addr_needs_bounce(bus_dma_tag_t dmat, bus_addr_t paddr) in addr_needs_bounce() 167 alloc_bounce_zone(bus_dma_tag_t dmat) in alloc_bounce_zone() 265 alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages) in alloc_bounce_pages() 310 reserve_bounce_pages(bus_dma_tag_t dmat, bus_dmamap_t map, int commit) in reserve_bounce_pages() 330 add_bounce_page(bus_dma_tag_t dmat, bus_dmamap_t map, vm_offset_t vaddr, in add_bounce_page() 398 free_bounce_pages(bus_dma_tag_t dmat, bus_dmamap_t map) in free_bounce_pages() 450 _bus_dmamap_addseg(bus_dma_tag_t dmat, bus_dmamap_t map, bus_addr_t curaddr, in _bus_dmamap_addseg() 499 _bus_dmamap_addsegs(bus_dma_tag_t dmat, bus_dmamap_t map, bus_addr_t curaddr, in _bus_dmamap_addsegs() 520 bus_dma_tag_t dmat; in busdma_thread() local [all …]
|
/freebsd/sys/dev/iommu/ |
H A D | busdma_iommu.c | 362 bus_dma_lock_t *lockfunc, void *lockfuncarg, bus_dma_tag_t *dmat) in iommu_bus_dma_tag_create() 390 iommu_bus_dma_tag_set_domain(bus_dma_tag_t dmat) in iommu_bus_dma_tag_set_domain() 399 struct bus_dma_tag_iommu *dmat; in iommu_bus_dma_tag_destroy() local 427 iommu_bus_dma_id_mapped(bus_dma_tag_t dmat, vm_paddr_t buf, bus_size_t buflen) in iommu_bus_dma_id_mapped() 434 iommu_bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) in iommu_bus_dmamap_create() 468 iommu_bus_dmamap_destroy(bus_dma_tag_t dmat, bus_dmamap_t map1) in iommu_bus_dmamap_destroy() 490 iommu_bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, in iommu_bus_dmamem_alloc() 531 iommu_bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map1) in iommu_bus_dmamem_free() 682 iommu_bus_dmamap_load_ma(bus_dma_tag_t dmat, bus_dmamap_t map1, in iommu_bus_dmamap_load_ma() 696 iommu_bus_dmamap_load_phys(bus_dma_tag_t dmat, bus_dmamap_t map1, in iommu_bus_dmamap_load_phys() [all …]
|
/freebsd/sys/dev/firewire/ |
H A D | fwdma.c | 118 fwdma_malloc_size(bus_dma_tag_t dmat, bus_dmamap_t *dmamap, in fwdma_malloc_size() 133 fwdma_free_size(bus_dma_tag_t dmat, bus_dmamap_t dmamap, in fwdma_free_size()
|
H A D | fwohcivar.h | 62 bus_dma_tag_t dmat; member
|
/freebsd/stand/kshim/ |
H A D | bsd_kernel.c | 46 void *lockfuncarg, bus_dma_tag_t *dmat) in bus_dma_tag_create() 62 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, in bus_dmamem_alloc() 79 bus_dmamap_load(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, in bus_dmamap_load() 94 bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, int flags) in bus_dmamap_sync() 101 bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map) in bus_dmamem_free() 108 bus_dma_tag_destroy(bus_dma_tag_t dmat) in bus_dma_tag_destroy()
|
/freebsd/sys/arm64/cavium/ |
H A D | thunder_pcie_pem.h | 40 bus_dma_tag_t dmat; member
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_buf.h | 44 bus_dma_tag_t dmat; member
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic_osm_lib.h | 126 #define aic_dmamem_alloc(aic, dmat, vaddr, flags, mapp) \ argument 129 #define aic_dmamem_free(aic, dmat, vaddr, map) \ argument 138 #define aic_dmamap_load(aic, dmat, map, addr, buflen, callback, \ argument
|
/freebsd/sys/arm/mv/ |
H A D | mv_armv7_machdep.c | 116 bus_dma_tag_t dmat; in mv_busdma_tag_init() local
|
/freebsd/sys/dev/pci/ |
H A D | pci_host_generic.h | 84 bus_dma_tag_t dmat; member
|
H A D | pci_dw.h | 113 bus_dma_tag_t dmat; member
|
/freebsd/sys/cam/ |
H A D | cam.c | 647 bus_dmamap_load_ccb(bus_dma_tag_t dmat, bus_dmamap_t map, union ccb *ccb, in bus_dmamap_load_ccb()
|
/freebsd/stand/usb/ |
H A D | usb_busdma_loader.c | 352 struct usb_dma_tag *udt, bus_dma_tag_t dmat, in usb_dma_tag_setup()
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge_var.h | 95 bus_dma_tag_t dmat; member 130 bus_dma_tag_t dmat; member 151 bus_dma_tag_t dmat; member
|