Lines Matching refs:cpu_addr
237 err = pci_register_io_range(&np->fwnode, range->cpu_addr, in of_pci_range_to_resource()
241 port = pci_address_to_pio(range->cpu_addr); in of_pci_range_to_resource()
249 upper_32_bits(range->cpu_addr)) { in of_pci_range_to_resource()
254 res->start = range->cpu_addr; in of_pci_range_to_resource()
734 range->cpu_addr = of_translate_dma_address(parser->node, in of_pci_range_parser_one()
737 range->cpu_addr = of_translate_address(parser->node, in of_pci_range_parser_one()
746 u64 bus_addr, cpu_addr, size; in of_pci_range_parser_one() local
751 cpu_addr = of_translate_dma_address(parser->node, in of_pci_range_parser_one()
754 cpu_addr = of_translate_address(parser->node, in of_pci_range_parser_one()
761 cpu_addr != range->cpu_addr + range->size) in of_pci_range_parser_one()
984 range.bus_addr, range.cpu_addr, range.size); in of_dma_get_range()
985 if (range.cpu_addr == OF_BAD_ADDR) { in of_dma_get_range()
990 r->cpu_start = range.cpu_addr; in of_dma_get_range()
993 r->offset = range.cpu_addr - range.bus_addr; in of_dma_get_range()
1028 if (range.cpu_addr + range.size > cpu_end) in of_dma_get_max_cpu_address()
1029 cpu_end = range.cpu_addr + range.size - 1; in of_dma_get_max_cpu_address()