Home
last modified time | relevance | path

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

/drivers/misc/
Dpci_endpoint_test.c425 void *orig_addr; in pci_endpoint_test_write() local
439 orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, in pci_endpoint_test_write()
441 if (!orig_addr) { in pci_endpoint_test_write()
450 addr = orig_addr + offset; in pci_endpoint_test_write()
453 addr = orig_addr; in pci_endpoint_test_write()
480 dma_free_coherent(dev, size + alignment, orig_addr, orig_phys_addr); in pci_endpoint_test_write()
493 void *orig_addr; in pci_endpoint_test_read() local
507 orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, in pci_endpoint_test_read()
509 if (!orig_addr) { in pci_endpoint_test_read()
518 addr = orig_addr + offset; in pci_endpoint_test_read()
[all …]
/drivers/mfd/
Dintel_soc_pmic_chtwc.c75 int ret, orig_addr = client->addr; in cht_wc_byte_reg_read() local
84 client->addr = orig_addr; in cht_wc_byte_reg_read()
97 int ret, orig_addr = client->addr; in cht_wc_byte_reg_write() local
106 client->addr = orig_addr; in cht_wc_byte_reg_write()
/drivers/hwtracing/intel_th/
Dmsu.c146 u32 orig_addr; member
772 msc->orig_addr = ioread32(msc->reg_base + REG_MSU_MSC0BAR); in msc_configure()
849 iowrite32(msc->orig_addr, msc->reg_base + REG_MSU_MSC0BAR); in msc_disable()
/drivers/vhost/
Dvhost.c1329 u64 s = 0, size, orig_addr = addr, last = addr + len - 1; in iotlb_access_ok() local
1350 if (orig_addr == addr && size >= len) in iotlb_access_ok()