Lines Matching refs:DEV2H
497 #define DEV2H(x) le32_to_cpu(x)
1023 if (DEV2H(cpp->sense_addr))
1024 pci_unmap_single(HD(j)->pdev, DEV2H(cpp->sense_addr),
1025 DEV2H(cpp->sense_len), PCI_DMA_FROMDEVICE);
1029 if (!DEV2H(cpp->data_len)) pci_dir = PCI_DMA_BIDIRECTIONAL;
1031 if (DEV2H(cpp->data_address))
1032 pci_unmap_single(HD(j)->pdev, DEV2H(cpp->data_address),
1033 DEV2H(cpp->data_len), pci_dir);
1044 if (DEV2H(cpp->sense_addr))
1045 pci_dma_sync_single_for_cpu(HD(j)->pdev, DEV2H(cpp->sense_addr),
1046 DEV2H(cpp->sense_len), PCI_DMA_FROMDEVICE);
1052 if (!DEV2H(cpp->data_len)) pci_dir = PCI_DMA_BIDIRECTIONAL;
1054 if (DEV2H(cpp->data_address))
1055 pci_dma_sync_single_for_cpu(HD(j)->pdev, DEV2H(cpp->data_address),
1056 DEV2H(cpp->data_len), pci_dir);