Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_core.c4412 struct sg_map_node *sg_map; in ahc_fini_scbdata() local
4414 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps))!= NULL) { in ahc_fini_scbdata()
4417 sg_map->sg_dmamap); in ahc_fini_scbdata()
4419 sg_map->sg_vaddr, in ahc_fini_scbdata()
4420 sg_map->sg_dmamap); in ahc_fini_scbdata()
4421 free(sg_map, M_DEVBUF); in ahc_fini_scbdata()
4458 struct sg_map_node *sg_map; in ahc_alloc_scbs() local
4471 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahc_alloc_scbs()
4473 if (sg_map == NULL) in ahc_alloc_scbs()
4478 (void **)&sg_map->sg_vaddr, in ahc_alloc_scbs()
[all …]
Daic7xxx_inline.h211 ahc_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()
Daic79xx_core.c5354 struct map_node *sg_map; in ahd_fini_scbdata() local
5356 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps)) != NULL) { in ahd_fini_scbdata()
5359 sg_map->dmamap); in ahd_fini_scbdata()
5361 sg_map->vaddr, sg_map->dmamap); in ahd_fini_scbdata()
5362 free(sg_map, M_DEVBUF); in ahd_fini_scbdata()
5590 struct map_node *sg_map; in ahd_alloc_scbs() local
5642 sg_map = SLIST_FIRST(&scb_data->sg_maps); in ahd_alloc_scbs()
5643 segs = sg_map->vaddr + offset; in ahd_alloc_scbs()
5644 sg_busaddr = sg_map->physaddr + offset; in ahd_alloc_scbs()
5646 sg_map = malloc(sizeof(*sg_map), M_DEVBUF, M_NOWAIT); in ahd_alloc_scbs()
[all …]
Daic7xxx.h585 struct sg_map_node *sg_map; member
Daic79xx.h622 struct map_node *sg_map; member
Daic79xx_inline.h399 scb->sg_map->dmamap, in ahd_sync_sglist()