Searched refs:map_dir (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/scsi/arm/ |
D | powertec.c | 141 int bufs, map_dir, dma_dir; in powertecscsi_dma_setup() local 146 map_dir = DMA_TO_DEVICE; in powertecscsi_dma_setup() 149 map_dir = DMA_FROM_DEVICE; in powertecscsi_dma_setup() 153 dma_map_sg(dev, info->sg, bufs, map_dir); in powertecscsi_dma_setup()
|
D | cumana_2.c | 169 int bufs, map_dir, dma_dir, alatch_dir; in cumanascsi_2_dma_setup() local 174 map_dir = DMA_TO_DEVICE; in cumanascsi_2_dma_setup() 178 map_dir = DMA_FROM_DEVICE; in cumanascsi_2_dma_setup() 183 dma_map_sg(dev, info->sg, bufs, map_dir); in cumanascsi_2_dma_setup()
|
D | eesox.c | 168 int bufs, map_dir, dma_dir; in eesoxscsi_dma_setup() local 173 map_dir = DMA_TO_DEVICE; in eesoxscsi_dma_setup() 176 map_dir = DMA_FROM_DEVICE; in eesoxscsi_dma_setup() 180 dma_map_sg(dev, info->sg, bufs, map_dir); in eesoxscsi_dma_setup()
|
/linux-6.1.9/include/linux/ |
D | uio_driver.h | 78 struct kobject *map_dir; member
|
/linux-6.1.9/drivers/uio/ |
D | uio.c | 301 idev->map_dir = kobject_create_and_add("maps", in uio_dev_add_attributes() 303 if (!idev->map_dir) { in uio_dev_add_attributes() 316 ret = kobject_add(&map->kobj, idev->map_dir, "map%d", mi); in uio_dev_add_attributes() 373 kobject_put(idev->map_dir); in uio_dev_add_attributes() 390 kobject_put(idev->map_dir); in uio_dev_del_attributes()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 269 dma_sync_single_for_device(rq->pdev, addr, PAGE_SIZE, rq->buff.map_dir); in mlx5e_rx_cache_get() 285 addr = dma_map_page(rq->pdev, au->page, 0, PAGE_SIZE, rq->buff.map_dir); in mlx5e_page_alloc_pool() 300 dma_unmap_page_attrs(rq->pdev, dma_addr, PAGE_SIZE, rq->buff.map_dir, in mlx5e_page_dma_unmap() 430 rq->buff.map_dir); in mlx5e_add_skb_frag() 446 rq->buff.map_dir); in mlx5e_copy_skb_header() 1542 frag_size, rq->buff.map_dir); in mlx5e_skb_from_cqe_linear() 1591 rq->buff.frame0_sz, rq->buff.map_dir); in mlx5e_skb_from_cqe_nonlinear() 1612 frag_consumed_bytes, rq->buff.map_dir); in mlx5e_skb_from_cqe_nonlinear() 1943 frag_size, rq->buff.map_dir); in mlx5e_skb_from_cqe_mpwrq_linear() 1991 dma_sync_single_range_for_cpu(rq->pdev, head->addr, 0, frag_size, rq->buff.map_dir); in mlx5e_skb_from_cqe_shampo()
|
D | en.h | 721 u8 map_dir; /* dma map direction */ member
|
D | en_main.c | 563 PAGE_SIZE, rq->buff.map_dir); in mlx5e_alloc_mpwqe_rq_drop_page() 574 rq->buff.map_dir); in mlx5e_free_mpwqe_rq_drop_page() 685 rq->buff.map_dir = params->xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; in mlx5e_alloc_rq() 779 pp_params.dma_dir = rq->buff.map_dir; in mlx5e_alloc_rq()
|
/linux-6.1.9/drivers/usb/dwc2/ |
D | core.h | 137 unsigned char map_dir; member
|
D | gadget.c | 437 usb_gadget_unmap_request(&hsotg->gadget, req, hs_ep->map_dir); in dwc2_hsotg_unmap_dma() 1270 hs_ep->map_dir = hs_ep->dir_in; in dwc2_hsotg_map_dma()
|