Lines Matching refs:drc
360 struct of_drc_info drc; in drc_info_valid_index() local
378 if (of_read_drc_info_cell(&info, &value, &drc)) in drc_info_valid_index()
381 if (strncmp(drc.drc_type, "CPU", 3)) in drc_info_valid_index()
384 if (drc_index > drc.last_drc_index) in drc_info_valid_index()
387 index = drc.drc_index_start; in drc_info_valid_index()
388 for (j = 0; j < drc.num_sequential_elems; j++) { in drc_info_valid_index()
392 index += drc.sequential_inc; in drc_info_valid_index()
413 u32 drc; in valid_cpu_drc_index() local
416 index++, &drc); in valid_cpu_drc_index()
421 if (drc == drc_index) in valid_cpu_drc_index()
664 struct of_drc_info drc; in find_drc_info_cpus_to_add() local
678 of_read_drc_info_cell(&info, &value, &drc); in find_drc_info_cpus_to_add()
679 if (strncmp(drc.drc_type, "CPU", 3)) in find_drc_info_cpus_to_add()
682 drc_index = drc.drc_index_start; in find_drc_info_cpus_to_add()
683 for (j = 0; j < drc.num_sequential_elems; j++) { in find_drc_info_cpus_to_add()
692 drc_index += drc.sequential_inc; in find_drc_info_cpus_to_add()