Searched refs:reg_tuple_size (Results 1 – 2 of 2) sorted by relevance
266 int reg_tuple_size; in icp_native_init_one_node() local293 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()
159 int reg_tuple_size; in of_flash_probe() local170 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()