Searched refs:pio (Results 1 – 1 of 1) sorted by relevance
140 static struct logic_pio_hwaddr *find_io_range(unsigned long pio) in find_io_range() argument146 if (in_range(pio, range->io_start, range->size)) { in find_io_range()154 pr_err("PIO entry token 0x%lx invalid\n", pio); in find_io_range()168 resource_size_t logic_pio_to_hwaddr(unsigned long pio) in logic_pio_to_hwaddr() argument172 range = find_io_range(pio); in logic_pio_to_hwaddr()174 return range->hw_start + pio - range->io_start; in logic_pio_to_hwaddr()