Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/sysdev/xics/
Dicp-native.c266 int reg_tuple_size; in icp_native_init_one_node() local
293 reg_tuple_size = (of_n_addr_cells(np) + of_n_size_cells(np)) * 4; in icp_native_init_one_node()
294 if (((ilen % reg_tuple_size) != 0) in icp_native_init_one_node()
295 || (num_servers && (num_servers != (ilen / reg_tuple_size)))) { in icp_native_init_one_node()
297 ilen / reg_tuple_size, num_servers); in icp_native_init_one_node()
301 for (i = 0; i < (ilen / reg_tuple_size); i++) { in icp_native_init_one_node()
/Linux-v4.19/drivers/mtd/maps/
Dphysmap_of_core.c159 int reg_tuple_size; in of_flash_probe() local
170 reg_tuple_size = (of_n_addr_cells(dp) + of_n_size_cells(dp)) * sizeof(u32); in of_flash_probe()
181 if (!p || count % reg_tuple_size != 0) { in of_flash_probe()
187 count /= reg_tuple_size; in of_flash_probe()