Searched refs:addr_cells (Results 1 – 2 of 2) sorted by relevance
/drivers/of/ |
D | kexec.c | 75 static int get_addr_size_cells(int *addr_cells, int *size_cells) in get_addr_size_cells() argument 83 *addr_cells = of_n_addr_cells(root); in get_addr_size_cells() 104 int ret, addr_cells, size_cells; in do_get_kexec_buffer() local 106 ret = get_addr_size_cells(&addr_cells, &size_cells); in do_get_kexec_buffer() 110 if (len < 4 * (addr_cells + size_cells)) in do_get_kexec_buffer() 113 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer() 114 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
|
/drivers/bus/ |
D | mvebu-mbus.c | 1184 int *addr_cells, int *c_addr_cells, int *c_size_cells, in mbus_parse_ranges() argument 1194 *addr_cells = *c_addr_cells = *c_size_cells = *cell_count = 0; in mbus_parse_ranges() 1200 *addr_cells = of_n_addr_cells(node); in mbus_parse_ranges() 1208 *cell_count = *addr_cells + *c_addr_cells + *c_size_cells; in mbus_parse_ranges() 1221 int addr_cells, c_addr_cells, c_size_cells; in mbus_dt_setup() local 1225 ret = mbus_parse_ranges(np, &addr_cells, &c_addr_cells, in mbus_dt_setup() 1246 base = of_read_number(r + c_addr_cells, addr_cells); in mbus_dt_setup() 1247 size = of_read_number(r + c_addr_cells + addr_cells, in mbus_dt_setup()
|