/freebsd/sys/sys/ |
H A D | bus_dma_internal.h | 38 bus_dma_segment_t *_bus_dmamap_complete(bus_dma_tag_t dmat, 39 bus_dmamap_t map, bus_dma_segment_t *segs, 44 int flags, bus_dma_segment_t *segs, int *segp); 48 int flags, bus_dma_segment_t *segs, int *segp); 52 int flags, bus_dma_segment_t *segs, int *segp);
|
H A D | bus_dma.h | 137 } bus_dma_segment_t; typedef 276 typedef void bus_dmamap_callback_t(void *, bus_dma_segment_t *, int, int); 283 typedef void bus_dmamap_callback2_t(void *, bus_dma_segment_t *, int, bus_size_t, int); 302 struct mbuf *mbuf, bus_dma_segment_t *segs, 353 bus_dma_segment_t *segs, int *segp);
|
/freebsd/sys/riscv/include/ |
H A D | bus_dma_impl.h | 60 bus_dma_segment_t *segs, int *segp); 63 bus_dma_segment_t *segs, int *segp); 66 bus_dma_segment_t *segs, int *segp); 70 bus_dma_segment_t *(*map_complete)(bus_dma_tag_t dmat, bus_dmamap_t map, 71 bus_dma_segment_t *segs, int nsegs, int error);
|
H A D | bus_dma.h | 87 bus_size_t buflen, int flags, bus_dma_segment_t *segs, int *segp) in _bus_dmamap_load_phys() 98 bus_size_t tlen, int ma_offs, int flags, bus_dma_segment_t *segs, in _bus_dmamap_load_ma() 110 bus_size_t buflen, struct pmap *pmap, int flags, bus_dma_segment_t *segs, in _bus_dmamap_load_buffer() 130 static inline bus_dma_segment_t * 132 bus_dma_segment_t *segs, int nsegs, int error) in _bus_dmamap_complete()
|
/freebsd/sys/x86/include/ |
H A D | busdma_impl.h | 65 bus_dma_segment_t *segs, int *segp); 68 bus_dma_segment_t *segs, int *segp); 71 bus_dma_segment_t *segs, int *segp); 75 bus_dma_segment_t *(*map_complete)(bus_dma_tag_t dmat, bus_dmamap_t map, 76 bus_dma_segment_t *segs, int nsegs, int error);
|
H A D | bus_dma.h | 133 bus_size_t buflen, int flags, bus_dma_segment_t *segs, int *segp) in _bus_dmamap_load_phys() 144 bus_size_t tlen, int ma_offs, int flags, bus_dma_segment_t *segs, in _bus_dmamap_load_ma() 160 bus_size_t buflen, struct pmap *pmap, int flags, bus_dma_segment_t *segs, in _bus_dmamap_load_buffer() 182 static inline bus_dma_segment_t * 184 bus_dma_segment_t *segs, int nsegs, int error) in _bus_dmamap_complete()
|
/freebsd/sys/arm64/include/ |
H A D | bus_dma_impl.h | 63 bus_dma_segment_t *segs, int *segp); 66 bus_dma_segment_t *segs, int *segp); 69 bus_dma_segment_t *segs, int *segp); 73 bus_dma_segment_t *(*map_complete)(bus_dma_tag_t dmat, bus_dmamap_t map, 74 bus_dma_segment_t *segs, int nsegs, int error);
|
/freebsd/sys/dev/qat/include/ |
H A D | qat_ocf_mem_pool.h | 33 bus_dma_segment_t dma_seg; 129 bus_dma_segment_t *segs, 133 bus_dma_segment_t *segs, 137 bus_dma_segment_t *segs,
|
/freebsd/sys/kern/ |
H A D | subr_bus_dma.c | 103 bus_dma_segment_t *list, int sglist_cnt, struct pmap *pmap, int *nsegs, in _bus_dmamap_load_vlist() 135 bus_dma_segment_t *list, int sglist_cnt, int *nsegs, int flags) in _bus_dmamap_load_plist() 155 struct mbuf *m, bus_dma_segment_t *segs, int *nsegs, int flags) in _bus_dmamap_load_mbuf_epg() 214 struct mbuf *m, bus_dma_segment_t *segs, int *nsegs, int flags) in _bus_dmamap_load_single_mbuf() 235 struct mbuf *m0, bus_dma_segment_t *segs, int *nsegs, int flags) in _bus_dmamap_load_mbuf_sg() 260 bus_dma_segment_t *segs, int *segp) in bus_dmamap_load_ma_triv() 329 bus_dma_segment_t *segs; in bus_dmamap_load() 375 bus_dma_segment_t *segs; in bus_dmamap_load_mbuf() 403 bus_dma_segment_t *segs, int *nsegs, int flags) in bus_dmamap_load_mbuf_sg() 424 bus_dma_segment_t *segs; in bus_dmamap_load_uio() [all …]
|
/freebsd/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agtiproto.h | 29 bus_dma_segment_t *dm_segs, 34 bus_dma_segment_t *dm_segs, 132 bus_dma_segment_t *dm_segs, 136 bus_dma_segment_t *dm_segs,
|
/freebsd/sys/dev/rtwn/pci/ |
H A D | rtwn_pci_var.h | 43 bus_dma_segment_t seg; 59 bus_dma_segment_t seg; 124 void *, bus_dma_segment_t *);
|
/freebsd/sys/powerpc/pseries/ |
H A D | plpar_iommu.h | 36 int phyp_iommu_map(device_t dev, bus_dma_segment_t *segs, int *nsegs, 39 int phyp_iommu_unmap(device_t dev, bus_dma_segment_t *segs, int nsegs,
|
/freebsd/sys/dev/cxgb/sys/ |
H A D | mvec.h | 35 struct mbuf **m, bus_dma_segment_t *segs, int *nsegs); 37 struct mbuf *m, bus_dma_segment_t *segs, int *nsegs);
|
H A D | uipc_mvec.c | 53 struct mbuf **m, bus_dma_segment_t *segs, int *nsegs) in busdma_map_sg_collapse() 94 struct mbuf *m, bus_dma_segment_t *segs, int *nsegs) in busdma_map_sg_vec()
|
/freebsd/sys/dev/sfxge/ |
H A D | sfxge_dma.c | 50 sfxge_dma_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) in sfxge_dma_cb() 66 struct mbuf **mp, bus_dma_segment_t *segs, in sfxge_dma_map_sg_collapse() 69 bus_dma_segment_t *psegs; in sfxge_dma_map_sg_collapse()
|
/freebsd/sys/dev/ral/ |
H A D | rt2860var.h | 78 bus_dma_segment_t seg; 96 bus_dma_segment_t seg; 153 bus_dma_segment_t txwi_seg;
|
/freebsd/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 91 bus_dma_segment_t *segments; 354 (*mapp)->segments = (bus_dma_segment_t *)malloc( in bus_dmamap_create() 355 sizeof(bus_dma_segment_t) * dmat->nsegments, M_DEVBUF, in bus_dmamap_create() 551 bus_dma_segment_t *segs, in _bus_dmamap_load_phys() 594 bus_dma_segment_t *segs, int *segp) in _bus_dmamap_load_ma() 611 bus_dma_segment_t *segs, in _bus_dmamap_load_buffer() 682 bus_dma_segment_t * 684 bus_dma_segment_t *segs, int nsegs, int error) in _bus_dmamap_complete()
|
/freebsd/sys/dev/oce/ |
H A D | oce_util.c | 45 bus_dma_segment_t *segs, 134 oce_dma_map_addr(void *arg, bus_dma_segment_t * segs, int nseg, int error) in oce_dma_map_addr() 216 oce_dma_map_ring(void *arg, bus_dma_segment_t * segs, int nseg, int error) in oce_dma_map_ring()
|
/freebsd/sys/riscv/riscv/ |
H A D | busdma_bounce.c | 75 bus_dma_segment_t *segments; 250 dmat->segments = (bus_dma_segment_t *)malloc( in bounce_bus_dmamap_create() 251 sizeof(bus_dma_segment_t) * dmat->common.nsegments, in bounce_bus_dmamap_create() 372 dmat->segments = (bus_dma_segment_t *)malloc( in bounce_bus_dmamem_alloc() 373 sizeof(bus_dma_segment_t) * dmat->common.nsegments, in bounce_bus_dmamem_alloc() 560 vm_paddr_t buf, bus_size_t buflen, int flags, bus_dma_segment_t *segs, in _bus_dmamap_addseg() 629 bus_size_t buflen, pmap_t pmap, int flags, bus_dma_segment_t *segs, in bounce_bus_dmamap_load_phys() 731 static bus_dma_segment_t * in bounce_bus_dmamap_load_buffer() 733 bus_dma_segment_t *segs, int nsegs, int error) in bounce_bus_dmamap_load_buffer()
|
/freebsd/sys/x86/x86/ |
H A D | busdma_bounce.c | 77 bus_dma_segment_t *segments; 282 sizeof(bus_dma_segment_t) * dmat->common.nsegments, in bounce_bus_dmamap_create() 402 dmat->segments = (bus_dma_segment_t *)malloc_domainset( in bounce_bus_dmamem_alloc() 403 sizeof(bus_dma_segment_t) * dmat->common.nsegments, in bounce_bus_dmamem_alloc() 633 vm_paddr_t buf, bus_size_t buflen, int flags, bus_dma_segment_t *segs, in _bus_dmamap_addseg() 685 bus_size_t buflen, pmap_t pmap, int flags, bus_dma_segment_t *segs, in bounce_bus_dmamap_load_phys() 748 bus_dma_segment_t *segs, int *segp) in bounce_bus_dmamap_load_buffer() 836 static bus_dma_segment_t * in bounce_bus_dmamap_load_ma() 838 bus_dma_segment_t *segs, int nsegs, int error) in bounce_bus_dmamap_load_ma()
|
/freebsd/sys/geom/ |
H A D | geom_disk.c | 306 bus_dma_segment_t *seg, *end; in g_disk_advance() 308 seg = (bus_dma_segment_t *)bp->bio_data; in g_disk_advance() 309 end = (bus_dma_segment_t *)bp->bio_data + bp->bio_ma_n; in g_disk_advance() 331 g_disk_seg_limit(bus_dma_segment_t *seg, off_t *poffset, in g_disk_seg_limit() 362 g_disk_vlist_limit(struct disk *dp, struct bio *bp, bus_dma_segment_t **pendseg) in g_disk_vlist_limit() 364 bus_dma_segment_t *seg, *end __diagused; in g_disk_vlist_limit() 369 seg = (bus_dma_segment_t *)bp->bio_data; in g_disk_vlist_limit() 370 end = (bus_dma_segment_t *)bp->bio_data + bp->bio_ma_n; in g_disk_vlist_limit() 405 bus_dma_segment_t *firstseg, *endseg; in g_disk_limit() 408 firstseg = (bus_dma_segment_t*)bp->bio_data; in g_disk_limit()
|
/freebsd/sys/dev/qat/qat/ |
H A D | qat_ocf_mem_pool.c | 23 qat_ocf_alloc_single_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) in qat_ocf_alloc_single_cb() 36 bus_dma_segment_t *segs, in qat_ocf_populate_buf_list_cb() 73 bus_dma_segment_t *segs, in qat_ocf_crypto_load_aadbuf_cb() 93 bus_dma_segment_t *segs, in qat_ocf_crypto_load_buf_cb() 118 bus_dma_segment_t *segs, in qat_ocf_crypto_load_obuf_cb()
|
/freebsd/sys/dev/isci/ |
H A D | isci_io_request.c | 622 bus_dma_segment_t *sge = in scif_cb_io_request_get_next_sge() 646 bus_dma_segment_t *sge = (bus_dma_segment_t *)sge_address; in scif_cb_sge_get_address_field() 667 bus_dma_segment_t *sge = (bus_dma_segment_t *)sge_address; in scif_cb_sge_get_length_field() 686 isci_io_request_construct(void *arg, bus_dma_segment_t *seg, int nseg, in isci_io_request_construct()
|
/freebsd/sys/dev/ata/ |
H A D | ata-dma.c | 45 static void ata_dmasetupc_cb(void *xsc, bus_dma_segment_t *segs, int nsegs, int error); 48 static void ata_dmasetprd(void *xsc, bus_dma_segment_t *segs, int nsegs, int error); 147 ata_dmasetupc_cb(void *xsc, bus_dma_segment_t *segs, int nsegs, int error) in ata_dmasetupc_cb() 245 ata_dmasetprd(void *xsc, bus_dma_segment_t *segs, int nsegs, int error) in ata_dmasetprd()
|
/freebsd/sys/dev/safe/ |
H A D | safevar.h | 62 bus_dma_segment_t dma_seg; 79 bus_dma_segment_t segs[SAFE_MAX_PART];
|