Home
last modified time | relevance | path

Searched refs:drc (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/platforms/pseries/
Dpseries_energy.c53 struct of_drc_info drc; in cpu_to_drc_index() local
66 of_read_drc_info_cell(&info, &value, &drc); in cpu_to_drc_index()
67 if (strncmp(drc.drc_type, "CPU", 3)) in cpu_to_drc_index()
70 if (thread_index < drc.last_drc_index) in cpu_to_drc_index()
74 ret = drc.drc_index_start + (thread_index * drc.sequential_inc); in cpu_to_drc_index()
122 struct of_drc_info drc; in drc_index_to_cpu() local
135 of_read_drc_info_cell(&info, &value, &drc); in drc_index_to_cpu()
136 if (strncmp(drc.drc_type, "CPU", 3)) in drc_index_to_cpu()
139 if (drc_index > drc.last_drc_index) { in drc_index_to_cpu()
140 cpu += drc.num_sequential_elems; in drc_index_to_cpu()
[all …]
Dhotplug-cpu.c360 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()
[all …]
/arch/arm/boot/dts/
Dsun8i-a23.dtsi78 compatible = "allwinner,sun8i-a23-drc";
Dsun9i-a80.dtsi807 drc0: drc@3400000 {
808 compatible = "allwinner,sun9i-a80-drc";
841 drc1: drc@3440000 {
842 compatible = "allwinner,sun9i-a80-drc";
Dsun6i-a31.dtsi1175 drc1: drc@1e50000 {
1176 compatible = "allwinner,sun6i-a31-drc";
1258 drc0: drc@1e70000 {
1259 compatible = "allwinner,sun6i-a31-drc";
Dexynos4412.dtsi640 "drc", "fd", "mcuisp",
648 iommu-names = "isp", "drc", "fd", "mcuctl";
Dsun8i-a33.dtsi386 compatible = "allwinner,sun8i-a33-drc";
Dsun8i-a23-a33.dtsi678 drc0: drc@1e70000 {