Home
last modified time | relevance | path

Searched refs:sg_map (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/sys/dev/ata/
H A Data-dma.c179 &slot->sg_map)) { in ata_dmaalloc()
184 if (bus_dmamap_load(slot->sg_tag, slot->sg_map, slot->sg, MAXTABSZ, in ata_dmaalloc()
225 bus_dmamap_unload(slot->sg_tag, slot->sg_map); in ata_dmafree()
229 bus_dmamem_free(slot->sg_tag, slot->sg, slot->sg_map); in ata_dmafree()
322 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dmaload()
340 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dmaunload()
H A Data-all.h335 bus_dmamap_t sg_map; /* SG list DMA map */ member
/freebsd-13.1/sys/dev/aac/
H A Daac_cam.c459 cm->cm_sgtable = &srb->sg_map; in aac_cam_action()
464 srb->sg_map.SgCount = 1; in aac_cam_action()
465 srb->sg_map.SgEntry[0].SgAddress = in aac_cam_action()
467 srb->sg_map.SgEntry[0].SgByteCount = in aac_cam_action()
476 srb->sg_map.SgCount = 0; in aac_cam_action()
477 srb->sg_map.SgEntry[0].SgByteCount = 0; in aac_cam_action()
H A Daac.c3100 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
3107 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
3110 sge = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3121 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
3125 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3145 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
3148 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
H A Daacreg.h1399 struct aac_sg_table sg_map; member
/freebsd-13.1/sys/dev/aic7xxx/
H A Daic7xxx.c4465 struct sg_map_node *sg_map; in ahc_fini_scbdata() local
4470 sg_map->sg_dmamap); in ahc_fini_scbdata()
4472 sg_map->sg_vaddr, in ahc_fini_scbdata()
4473 sg_map->sg_dmamap); in ahc_fini_scbdata()
4474 free(sg_map, M_DEVBUF); in ahc_fini_scbdata()
4507 struct sg_map_node *sg_map; in ahc_alloc_scbs() local
4520 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahc_alloc_scbs()
4522 if (sg_map == NULL) in ahc_alloc_scbs()
4530 free(sg_map, M_DEVBUF); in ahc_alloc_scbs()
4540 segs = sg_map->sg_vaddr; in ahc_alloc_scbs()
[all …]
H A Daic7xxx_inline.h213 aic_dmamap_sync(ahc, ahc->scb_data->sg_dmat, scb->sg_map->sg_dmamap, in ahc_sync_sglist()
214 /*offset*/(scb->sg_list - scb->sg_map->sg_vaddr) in ahc_sync_sglist()
H A Daic79xx.c5790 struct map_node *sg_map; in ahd_fini_scbdata() local
5795 sg_map->dmamap); in ahd_fini_scbdata()
5797 sg_map->vaddr, sg_map->dmamap); in ahd_fini_scbdata()
5798 free(sg_map, M_DEVBUF); in ahd_fini_scbdata()
6027 struct map_node *sg_map; in ahd_alloc_scbs() local
6084 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahd_alloc_scbs()
6086 if (sg_map == NULL) in ahd_alloc_scbs()
6094 free(sg_map, M_DEVBUF); in ahd_alloc_scbs()
6104 segs = sg_map->vaddr; in ahd_alloc_scbs()
6105 sg_busaddr = sg_map->busaddr; in ahd_alloc_scbs()
[all …]
H A Daic7xxx.h598 struct sg_map_node *sg_map; member
H A Daic79xx.h635 struct map_node *sg_map; member
H A Daic79xx_inline.h401 scb->sg_map->dmamap, in ahd_sync_sglist()
/freebsd-13.1/sys/powerpc/powermac/
H A Data_dbdma.c246 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dbdma_load()
/freebsd-13.1/sys/dev/aacraid/
H A Daacraid.c2918 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
2924 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
2925 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2934 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
2937 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2955 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
3014 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
H A Daacraid_reg.h1488 struct aac_sg_table sg_map; member
H A Daacraid_cam.c921 cm->cm_sgtable = &srb->sg_map; in aac_passthrough_command()