Home
last modified time | relevance | path

Searched refs:orig_phys_addr (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/misc/
Dpci_endpoint_test.c486 dma_addr_t orig_phys_addr; in pci_endpoint_test_write() local
522 orig_phys_addr = dma_map_single(dev, orig_addr, size + alignment, in pci_endpoint_test_write()
524 if (dma_mapping_error(dev, orig_phys_addr)) { in pci_endpoint_test_write()
530 if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { in pci_endpoint_test_write()
531 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_write()
532 offset = phys_addr - orig_phys_addr; in pci_endpoint_test_write()
535 phys_addr = orig_phys_addr; in pci_endpoint_test_write()
562 dma_unmap_single(dev, orig_phys_addr, size + alignment, in pci_endpoint_test_write()
585 dma_addr_t orig_phys_addr; in pci_endpoint_test_read() local
618 orig_phys_addr = dma_map_single(dev, orig_addr, size + alignment, in pci_endpoint_test_read()
[all …]
/linux-5.19.10/include/uapi/linux/
Dcec-funcs.h85 __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()