Searched refs:dev_pci (Results 1 – 1 of 1) sorted by relevance
43 struct device *dev_pci = &i2c_common->mp2_dev->pci_dev->dev; in i2c_amd_dma_map() local50 i2c_common->dma_addr = dma_map_single(dev_pci, i2c_common->dma_buf, in i2c_amd_dma_map()54 if (unlikely(dma_mapping_error(dev_pci, i2c_common->dma_addr))) { in i2c_amd_dma_map()66 struct device *dev_pci = &i2c_common->mp2_dev->pci_dev->dev; in i2c_amd_dma_unmap() local71 dma_unmap_single(dev_pci, i2c_common->dma_addr, in i2c_amd_dma_unmap()