| /freebsd-14.2/sys/dev/ata/ |
| H A D | ata-dma.c | 177 &slot->sg_map)) { in ata_dmaalloc() 182 if (bus_dmamap_load(slot->sg_tag, slot->sg_map, slot->sg, MAXTABSZ, in ata_dmaalloc() 223 bus_dmamap_unload(slot->sg_tag, slot->sg_map); in ata_dmafree() 227 bus_dmamem_free(slot->sg_tag, slot->sg, slot->sg_map); in ata_dmafree() 320 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dmaload() 338 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dmaunload()
|
| H A D | ata-all.h | 333 bus_dmamap_t sg_map; /* SG list DMA map */ member
|
| /freebsd-14.2/sys/dev/aac/ |
| H A D | aac_cam.c | 455 cm->cm_sgtable = &srb->sg_map; in aac_cam_action() 460 srb->sg_map.SgCount = 1; in aac_cam_action() 461 srb->sg_map.SgEntry[0].SgAddress = in aac_cam_action() 463 srb->sg_map.SgEntry[0].SgByteCount = in aac_cam_action() 472 srb->sg_map.SgCount = 0; in aac_cam_action() 473 srb->sg_map.SgEntry[0].SgByteCount = 0; in aac_cam_action()
|
| H A D | aac.c | 3097 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb() 3104 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb() 3107 sge = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb() 3117 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb() 3122 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb() 3142 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb() 3145 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
|
| H A D | aacreg.h | 1397 struct aac_sg_table sg_map; member
|
| /freebsd-14.2/sys/dev/aic7xxx/ |
| H A D | aic7xxx.c | 4458 struct sg_map_node *sg_map; in ahc_fini_scbdata() local 4463 sg_map->sg_dmamap); in ahc_fini_scbdata() 4465 sg_map->sg_vaddr, in ahc_fini_scbdata() 4466 sg_map->sg_dmamap); in ahc_fini_scbdata() 4467 free(sg_map, M_DEVBUF); in ahc_fini_scbdata() 4500 struct sg_map_node *sg_map; in ahc_alloc_scbs() local 4513 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahc_alloc_scbs() 4515 if (sg_map == NULL) in ahc_alloc_scbs() 4523 free(sg_map, M_DEVBUF); in ahc_alloc_scbs() 4533 segs = sg_map->sg_vaddr; in ahc_alloc_scbs() [all …]
|
| H A D | aic7xxx_inline.h | 211 aic_dmamap_sync(ahc, ahc->scb_data->sg_dmat, scb->sg_map->sg_dmamap, in ahc_sync_sglist() 212 /*offset*/(scb->sg_list - scb->sg_map->sg_vaddr) in ahc_sync_sglist()
|
| H A D | aic79xx.c | 5780 struct map_node *sg_map; in ahd_fini_scbdata() local 5785 sg_map->dmamap); in ahd_fini_scbdata() 5787 sg_map->vaddr, sg_map->dmamap); in ahd_fini_scbdata() 5788 free(sg_map, M_DEVBUF); in ahd_fini_scbdata() 6017 struct map_node *sg_map; in ahd_alloc_scbs() local 6074 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahd_alloc_scbs() 6076 if (sg_map == NULL) in ahd_alloc_scbs() 6084 free(sg_map, M_DEVBUF); in ahd_alloc_scbs() 6094 segs = sg_map->vaddr; in ahd_alloc_scbs() 6095 sg_busaddr = sg_map->busaddr; in ahd_alloc_scbs() [all …]
|
| H A D | aic7xxx.h | 596 struct sg_map_node *sg_map; member
|
| H A D | aic79xx.h | 633 struct map_node *sg_map; member
|
| H A D | aic79xx_inline.h | 399 scb->sg_map->dmamap, in ahd_sync_sglist()
|
| /freebsd-14.2/sys/powerpc/powermac/ |
| H A D | ata_dbdma.c | 243 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dbdma_load()
|
| /freebsd-14.2/sys/dev/aacraid/ |
| H A D | aacraid.c | 2916 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb() 2922 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb() 2923 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb() 2932 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb() 2935 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb() 2953 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb() 3012 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
|
| H A D | aacraid_reg.h | 1486 struct aac_sg_table sg_map; member
|
| H A D | aacraid_cam.c | 917 cm->cm_sgtable = &srb->sg_map; in aac_passthrough_command()
|