Searched refs:orig_phys_addr (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/misc/ |
| D | pci_endpoint_test.c | 426 dma_addr_t orig_phys_addr; in pci_endpoint_test_write() local 439 orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, in pci_endpoint_test_write() 447 if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { in pci_endpoint_test_write() 448 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_write() 449 offset = phys_addr - orig_phys_addr; in pci_endpoint_test_write() 452 phys_addr = orig_phys_addr; in pci_endpoint_test_write() 480 dma_free_coherent(dev, size + alignment, orig_addr, orig_phys_addr); in pci_endpoint_test_write() 494 dma_addr_t orig_phys_addr; in pci_endpoint_test_read() local 507 orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, in pci_endpoint_test_read() 515 if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { in pci_endpoint_test_read() [all …]
|
| /Linux-v5.4/include/uapi/linux/ |
| D | cec-funcs.h | 85 __u16 orig_phys_addr, in cec_msg_routing_change() argument 91 msg->msg[2] = orig_phys_addr >> 8; in cec_msg_routing_change() 92 msg->msg[3] = orig_phys_addr & 0xff; in cec_msg_routing_change() 99 __u16 *orig_phys_addr, in cec_ops_routing_change() argument 102 *orig_phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_routing_change()
|