Lines Matching refs:direction

38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction)  in pci_map_single()  argument
40 return dma_map_single(&hwdev->dev, ptr, size, (enum dma_data_direction)direction); in pci_map_single()
45 size_t size, int direction) in pci_unmap_single() argument
47 dma_unmap_single(&hwdev->dev, dma_addr, size, (enum dma_data_direction)direction); in pci_unmap_single()
52 unsigned long offset, size_t size, int direction) in pci_map_page() argument
54 return dma_map_page(&hwdev->dev, page, offset, size, (enum dma_data_direction)direction); in pci_map_page()
59 size_t size, int direction) in pci_unmap_page() argument
61 dma_unmap_page(&hwdev->dev, dma_address, size, (enum dma_data_direction)direction); in pci_unmap_page()
66 int nents, int direction) in pci_map_sg() argument
68 return dma_map_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_map_sg()
73 int nents, int direction) in pci_unmap_sg() argument
75 dma_unmap_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_unmap_sg()
80 size_t size, int direction) in pci_dma_sync_single_for_cpu() argument
82 dma_sync_single_for_cpu(&hwdev->dev, dma_handle, size, (enum dma_data_direction)direction); in pci_dma_sync_single_for_cpu()
87 size_t size, int direction) in pci_dma_sync_single_for_device() argument
89 dma_sync_single_for_device(&hwdev->dev, dma_handle, size, (enum dma_data_direction)direction); in pci_dma_sync_single_for_device()
94 int nelems, int direction) in pci_dma_sync_sg_for_cpu() argument
96 dma_sync_sg_for_cpu(&hwdev->dev, sg, nelems, (enum dma_data_direction)direction); in pci_dma_sync_sg_for_cpu()
101 int nelems, int direction) in pci_dma_sync_sg_for_device() argument
103 dma_sync_sg_for_device(&hwdev->dev, sg, nelems, (enum dma_data_direction)direction); in pci_dma_sync_sg_for_device()