Home
last modified time | relevance | path

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

/freebsd/sys/dev/ata/
H A Data-dma.c176 &slot->sg_map)) { in ata_dmaalloc()
181 if (bus_dmamap_load(slot->sg_tag, slot->sg_map, slot->sg, MAXTABSZ, in ata_dmaalloc()
222 bus_dmamap_unload(slot->sg_tag, slot->sg_map); in ata_dmafree()
226 bus_dmamem_free(slot->sg_tag, slot->sg, slot->sg_map); in ata_dmafree()
319 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dmaload()
337 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dmaunload()
H A Data-all.h333 bus_dmamap_t sg_map; /* SG list DMA map */ member
/freebsd/sys/dev/aac/
H A Daac_cam.c455 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 Daac.c3094 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
3101 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
3104 sge = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3114 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
3119 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3139 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
3142 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
H A Daacreg.h1397 struct aac_sg_table sg_map; member
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_inline.h211 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 Daic79xx.c5752 struct map_node *sg_map; in ahd_fini_scbdata() local
5754 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps)) != NULL) { in ahd_fini_scbdata()
5757 sg_map->dmamap); in ahd_fini_scbdata()
5759 sg_map->vaddr, sg_map->dmamap); in ahd_fini_scbdata()
5760 free(sg_map, M_DEVBUF); in ahd_fini_scbdata()
5989 struct map_node *sg_map; in ahd_alloc_scbs() local
6042 sg_map = SLIST_FIRST(&scb_data->sg_maps); in ahd_alloc_scbs()
6043 segs = sg_map->vaddr + offset; in ahd_alloc_scbs()
6044 sg_busaddr = sg_map->busaddr + offset; in ahd_alloc_scbs()
6046 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahd_alloc_scbs()
[all …]
H A Daic7xxx.h594 struct sg_map_node *sg_map;
596 struct sg_map_node *sg_map; global() member
H A Daic79xx.h631 struct map_node *sg_map;
633 struct map_node *sg_map; global() member
H A Daic79xx_inline.h399 scb->sg_map->dmamap, in ahd_sync_sglist()
/freebsd/sys/powerpc/powermac/
H A Data_dbdma.c243 bus_dmamap_sync(request->dma->sg_tag, request->dma->sg_map, in ata_dbdma_load()
/freebsd/sys/dev/aacraid/
H A Daacraid.c2917 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
2923 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
2924 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2933 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
2936 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2954 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
3013 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
H A Daacraid_reg.h1486 struct aac_sg_table sg_map; member
H A Daacraid_cam.c917 cm->cm_sgtable = &srb->sg_map; in aac_passthrough_command()