Searched refs:sg_map (Results 1 – 4 of 4) sorted by relevance
416 ahc_dmamap_sync(ahc, ahc->scb_data->sg_dmat, scb->sg_map->sg_dmamap, in ahc_sync_sglist()417 /*offset*/(scb->sg_list - scb->sg_map->sg_vaddr) in ahc_sync_sglist()4923 struct sg_map_node *sg_map; in ahc_fini_scbdata() local4925 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps))!= NULL) { in ahc_fini_scbdata()4928 sg_map->sg_dmamap); in ahc_fini_scbdata()4930 sg_map->sg_vaddr, in ahc_fini_scbdata()4931 sg_map->sg_dmamap); in ahc_fini_scbdata()4932 kfree(sg_map); in ahc_fini_scbdata()4969 struct sg_map_node *sg_map; in ahc_alloc_scbs() local4982 sg_map = kmalloc(sizeof(*sg_map), GFP_ATOMIC); in ahc_alloc_scbs()[all …]
542 scb->sg_map->dmamap, in ahd_sync_sglist()6571 struct map_node *sg_map; in ahd_fini_scbdata() local6573 while ((sg_map = SLIST_FIRST(&scb_data->sg_maps)) != NULL) { in ahd_fini_scbdata()6576 sg_map->dmamap); in ahd_fini_scbdata()6578 sg_map->vaddr, sg_map->dmamap); in ahd_fini_scbdata()6579 kfree(sg_map); in ahd_fini_scbdata()6810 struct map_node *sg_map; in ahd_alloc_scbs() local6862 sg_map = SLIST_FIRST(&scb_data->sg_maps); in ahd_alloc_scbs()6863 segs = sg_map->vaddr + offset; in ahd_alloc_scbs()6864 sg_busaddr = sg_map->physaddr + offset; in ahd_alloc_scbs()[all …]
575 struct sg_map_node *sg_map; member
615 struct map_node *sg_map; member