Home
last modified time | relevance | path

Searched refs:pci_dir (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/scsi/
Du14-34f.c1115 unsigned int k, pci_dir; in map_dma() local
1122 pci_dir = SCpnt->sc_data_direction; in map_dma()
1145 pci_dir)); in map_dma()
1149 pci_dir = PCI_DMA_BIDIRECTIONAL; in map_dma()
1155 unsigned int pci_dir; in unmap_dma() local
1160 pci_dir = SCpnt->sc_data_direction; in unmap_dma()
1168 if (!DEV2H(cpp->data_len)) pci_dir = PCI_DMA_BIDIRECTIONAL; in unmap_dma()
1172 DEV2H(cpp->data_len), pci_dir); in unmap_dma()
1176 unsigned int pci_dir; in sync_dma() local
1181 pci_dir = SCpnt->sc_data_direction; in sync_dma()
[all …]
Deata.c1612 unsigned int k, pci_dir; in map_dma() local
1620 pci_dir = SCpnt->sc_data_direction; in map_dma()
1635 pci_dir); in map_dma()
1647 pci_dir)); in map_dma()
1653 unsigned int pci_dir; in unmap_dma() local
1659 pci_dir = SCpnt->sc_data_direction; in unmap_dma()
1667 pci_dir); in unmap_dma()
1670 pci_dir = PCI_DMA_BIDIRECTIONAL; in unmap_dma()
1674 DEV2H(cpp->data_len), pci_dir); in unmap_dma()
1679 unsigned int pci_dir; in sync_dma() local
[all …]
Dhpsa.c2758 int pci_dir = XFER_NONE; in fill_cmd() local
2853 pci_dir = PCI_DMA_FROMDEVICE; in fill_cmd()
2856 pci_dir = PCI_DMA_TODEVICE; in fill_cmd()
2859 pci_dir = PCI_DMA_NONE; in fill_cmd()
2862 pci_dir = PCI_DMA_BIDIRECTIONAL; in fill_cmd()
2865 hpsa_map_one(h->pdev, c, buff, size, pci_dir); in fill_cmd()
/linux-2.6.39/drivers/block/
Dsx8.c841 int writing = 0, pci_dir, i, n_elem, rc; in carm_rq_fn() local
862 pci_dir = PCI_DMA_TODEVICE; in carm_rq_fn()
864 pci_dir = PCI_DMA_FROMDEVICE; in carm_rq_fn()
876 n_elem = pci_map_sg(host->pdev, sg, n_elem, pci_dir); in carm_rq_fn()
1049 int pci_dir; in carm_handle_rw() local
1054 pci_dir = PCI_DMA_TODEVICE; in carm_handle_rw()
1056 pci_dir = PCI_DMA_FROMDEVICE; in carm_handle_rw()
1058 pci_unmap_sg(host->pdev, &crq->sg[0], crq->n_elem, pci_dir); in carm_handle_rw()