Home
last modified time | relevance | path

Searched refs:dm_segs (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiproto.h30 bus_dma_segment_t *dm_segs,
35 bus_dma_segment_t *dm_segs,
133 bus_dma_segment_t *dm_segs,
137 bus_dma_segment_t *dm_segs,
H A Dagtiapi.c1571 bus_dma_segment_t *dm_segs, in agtiapi_SglMemoryCB() argument
1584 *addr = dm_segs[0].ds_addr; in agtiapi_SglMemoryCB()
1589 bus_dma_segment_t *dm_segs, in agtiapi_MemoryCB() argument
1602 *addr = dm_segs[0].ds_addr; in agtiapi_MemoryCB()
/freebsd-13.1/sys/dev/aic7xxx/
H A Daic7xxx_osm.c62 static void ahc_execute_scb(void *arg, bus_dma_segment_t *dm_segs,
921 ahc_execute_scb(void *arg, bus_dma_segment_t *dm_segs, int nsegments, in ahc_execute_scb() argument
951 end_seg = dm_segs + nsegments; in ahc_execute_scb()
955 while (dm_segs < end_seg) { in ahc_execute_scb()
958 sg->addr = aic_htole32(dm_segs->ds_addr); in ahc_execute_scb()
959 len = dm_segs->ds_len in ahc_execute_scb()
960 | ((dm_segs->ds_addr >> 8) & 0x7F000000); in ahc_execute_scb()
963 dm_segs++; in ahc_execute_scb()
H A Daic79xx_osm.c69 static void ahd_execute_scb(void *arg, bus_dma_segment_t *dm_segs,
937 ahd_execute_scb(void *arg, bus_dma_segment_t *dm_segs, int nsegments, in ahd_execute_scb() argument
970 sg = ahd_sg_setup(ahd, scb, sg, dm_segs->ds_addr, in ahd_execute_scb()
971 dm_segs->ds_len, in ahd_execute_scb()
973 dm_segs++; in ahd_execute_scb()
/freebsd-13.1/sys/dev/iir/
H A Diir.c178 static void gdtmapmem(void *arg, bus_dma_segment_t *dm_segs,
180 static void gdtexecuteccb(void *arg, bus_dma_segment_t *dm_segs,
1168 gdtmapmem(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) in gdtmapmem() argument
1173 *busaddrp = dm_segs->ds_addr; in gdtmapmem()
1190 gdt, gccb, dm_segs, nseg, error)); in gdtexecuteccb()
1199 i * GDT_SG_SZ + GDT_SG_PTR, dm_segs->ds_addr); in gdtexecuteccb()
1201 i * GDT_SG_SZ + GDT_SG_LEN, dm_segs->ds_len); in gdtexecuteccb()
1202 dm_segs++; in gdtexecuteccb()
1214 i * GDT_SG_SZ + GDT_SG_PTR, dm_segs->ds_addr); in gdtexecuteccb()
1216 i * GDT_SG_SZ + GDT_SG_LEN, dm_segs->ds_len); in gdtexecuteccb()
[all …]
/freebsd-13.1/sys/dev/mpt/
H A Dmpt_cam.c1422 MPI_pSGE_SET_LENGTH(se, dm_segs->ds_len); in mpt_execute_req_a64()
1425 addr = ((uint64_t)dm_segs->ds_addr) >> 32; in mpt_execute_req_a64()
1542 MPI_pSGE_SET_LENGTH(se, dm_segs->ds_len); in mpt_execute_req_a64()
1546 addr = ((uint64_t)dm_segs->ds_addr) >> 32; in mpt_execute_req_a64()
1549 (((uint64_t)dm_segs->ds_addr + in mpt_execute_req_a64()
1568 dm_segs++; in mpt_execute_req_a64()
1814 se->Address = htole32(dm_segs->ds_addr); in mpt_execute_req()
1816 MPI_pSGE_SET_LENGTH(se, dm_segs->ds_len); in mpt_execute_req()
1925 se->Address = htole32(dm_segs->ds_addr); in mpt_execute_req()
1927 MPI_pSGE_SET_LENGTH(se, dm_segs->ds_len); in mpt_execute_req()
[all …]
/freebsd-13.1/sys/dev/arcmsr/
H A Darcmsr.c176 static void arcmsr_build_srb(struct CommandControlBlock *srb, bus_dma_segment_t *dm_segs, u_int32_t…
1009 bus_dma_segment_t *dm_segs, u_int32_t nseg) in arcmsr_build_srb() argument
1040 length = arcmsr_htole32(dm_segs[i].ds_len); in arcmsr_build_srb()
1041 address_lo = arcmsr_htole32(dma_addr_lo32(dm_segs[i].ds_addr)); in arcmsr_build_srb()
1042 address_hi = arcmsr_htole32(dma_addr_hi32(dm_segs[i].ds_addr)); in arcmsr_build_srb()
2981 static void arcmsr_execute_srb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) in arcmsr_execute_srb() argument
3048 arcmsr_build_srb(srb, dm_segs, nseg); in arcmsr_execute_srb()
/freebsd-13.1/sys/dev/isp/
H A Disp_freebsd.c3315 isp_dma2(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) in isp_dma2() argument
3333 mp->error = ISP_SEND_CMD(isp, mp->qe, dm_segs, nseg); in isp_dma2()