Home
last modified time | relevance | path

Searched refs:map_dir (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/scsi/arm/
Dpowertec.c137 int bufs, map_dir, dma_dir; in powertecscsi_dma_setup() local
142 map_dir = DMA_TO_DEVICE, in powertecscsi_dma_setup()
145 map_dir = DMA_FROM_DEVICE, in powertecscsi_dma_setup()
148 dma_map_sg(dev, info->sg, bufs, map_dir); in powertecscsi_dma_setup()
Dcumana_2.c165 int bufs, map_dir, dma_dir, alatch_dir; in cumanascsi_2_dma_setup() local
170 map_dir = DMA_TO_DEVICE, in cumanascsi_2_dma_setup()
174 map_dir = DMA_FROM_DEVICE, in cumanascsi_2_dma_setup()
178 dma_map_sg(dev, info->sg, bufs, map_dir); in cumanascsi_2_dma_setup()
Deesox.c164 int bufs, map_dir, dma_dir; in eesoxscsi_dma_setup() local
169 map_dir = DMA_TO_DEVICE, in eesoxscsi_dma_setup()
172 map_dir = DMA_FROM_DEVICE, in eesoxscsi_dma_setup()
175 dma_map_sg(dev, info->sg, bufs, map_dir); in eesoxscsi_dma_setup()
/Linux-v5.4/include/linux/
Duio_driver.h78 struct kobject *map_dir; member
/Linux-v5.4/drivers/uio/
Duio.c299 idev->map_dir = kobject_create_and_add("maps", in uio_dev_add_attributes()
301 if (!idev->map_dir) { in uio_dev_add_attributes()
314 ret = kobject_add(&map->kobj, idev->map_dir, "map%d", mi); in uio_dev_add_attributes()
371 kobject_put(idev->map_dir); in uio_dev_add_attributes()
388 kobject_put(idev->map_dir); in uio_dev_del_attributes()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c251 PAGE_SIZE, rq->buff.map_dir); in mlx5e_page_alloc_pool()
272 dma_unmap_page(rq->pdev, dma_info->addr, PAGE_SIZE, rq->buff.map_dir); in mlx5e_page_dma_unmap()
Den.h653 u8 map_dir; /* dma map direction */ member
Den_main.c425 rq->buff.map_dir = rq->xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; in mlx5e_alloc_rq()
553 pp_params.dma_dir = rq->buff.map_dir; in mlx5e_alloc_rq()