Home
last modified time | relevance | path

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

/components/drivers/ofw/
A Dio.c256 rt_uint64_t *child_addr, *parent_addr, *child_size; in ofw_bus_ranges() local
313 ranges->child_addr = (void *)ranges + sizeof(*ranges); in ofw_bus_ranges()
314 ranges->parent_addr = &ranges->child_addr[groups]; in ofw_bus_ranges()
319 child_addr = ranges->child_addr; in ofw_bus_ranges()
325 *child_addr++ = rt_fdt_next_cell(&cell, child_address_cells); in ofw_bus_ranges()
386 rt_uint64_t child_addr = ranges->child_addr[i]; in rt_ofw_translate_address() local
389 if (address >= child_addr && address < child_addr + child_size) in rt_ofw_translate_address()
391 cpu_addr = address + (ranges->parent_addr[i] - child_addr); in rt_ofw_translate_address()
460 bus_addr = ranges->child_addr[i] + (address - parent_addr); in rt_ofw_reverse_address()
A Dofw_internal.h55 rt_uint64_t *child_addr; member

Completed in 4 milliseconds