cpu_dev 620 arch/arc/kernel/setup.c struct device *cpu_dev = get_cpu_device(cpu_id); cpu_dev 635 arch/arc/kernel/setup.c cpu_clk = clk_get(cpu_dev, NULL); cpu_dev 413 arch/arm/common/bL_switcher.c struct device *cpu_dev = get_cpu_device(i); cpu_dev 414 arch/arm/common/bL_switcher.c int ret = device_online(cpu_dev); cpu_dev 416 arch/arm/common/bL_switcher.c dev_err(cpu_dev, "switcher: unable to restore CPU\n"); cpu_dev 138 arch/arm/mach-milbeaut/platsmp.c struct clk *m10v_clclk_register(struct device *cpu_dev); cpu_dev 427 arch/arm/mach-vexpress/spc.c static int ve_init_opp_table(struct device *cpu_dev) cpu_dev 433 arch/arm/mach-vexpress/spc.c cluster = topology_physical_package_id(cpu_dev->id); cpu_dev 440 arch/arm/mach-vexpress/spc.c ret = dev_pm_opp_add(cpu_dev, opps->freq * 1000, opps->u_volt); cpu_dev 442 arch/arm/mach-vexpress/spc.c dev_warn(cpu_dev, "failed to add opp %lu %lu\n", cpu_dev 530 arch/arm/mach-vexpress/spc.c static struct clk *ve_spc_clk_register(struct device *cpu_dev) cpu_dev 540 arch/arm/mach-vexpress/spc.c spc->cluster = topology_physical_package_id(cpu_dev->id); cpu_dev 544 arch/arm/mach-vexpress/spc.c init.name = dev_name(cpu_dev); cpu_dev 549 arch/arm/mach-vexpress/spc.c return devm_clk_register(cpu_dev, &spc->hw); cpu_dev 567 arch/arm/mach-vexpress/spc.c struct device *cpu_dev = get_cpu_device(cpu); cpu_dev 568 arch/arm/mach-vexpress/spc.c if (!cpu_dev) { cpu_dev 572 arch/arm/mach-vexpress/spc.c clk = ve_spc_clk_register(cpu_dev); cpu_dev 577 arch/arm/mach-vexpress/spc.c if (clk_register_clkdev(clk, NULL, dev_name(cpu_dev))) { cpu_dev 582 arch/arm/mach-vexpress/spc.c cluster = topology_physical_package_id(cpu_dev->id); cpu_dev 586 arch/arm/mach-vexpress/spc.c if (ve_init_opp_table(cpu_dev)) cpu_dev 588 arch/arm/mach-vexpress/spc.c else if (dev_pm_opp_set_sharing_cpus(cpu_dev, cpu_dev 589 arch/arm/mach-vexpress/spc.c topology_core_cpumask(cpu_dev->id))) cpu_dev 306 arch/powerpc/platforms/pseries/pseries_energy.c struct device *cpu_dev; cpu_dev 321 arch/powerpc/platforms/pseries/pseries_energy.c cpu_dev = get_cpu_device(cpu); cpu_dev 322 arch/powerpc/platforms/pseries/pseries_energy.c err = device_create_file(cpu_dev, cpu_dev 326 arch/powerpc/platforms/pseries/pseries_energy.c err = device_create_file(cpu_dev, cpu_dev 343 arch/powerpc/platforms/pseries/pseries_energy.c struct device *cpu_dev; cpu_dev 353 arch/powerpc/platforms/pseries/pseries_energy.c cpu_dev = get_cpu_device(cpu); cpu_dev 354 arch/powerpc/platforms/pseries/pseries_energy.c sysfs_remove_file(&cpu_dev->kobj, cpu_dev 356 arch/powerpc/platforms/pseries/pseries_energy.c sysfs_remove_file(&cpu_dev->kobj, cpu_dev 1059 arch/x86/kernel/cpu/amd.c static const struct cpu_dev amd_cpu_dev = { cpu_dev 277 arch/x86/kernel/cpu/centaur.c static const struct cpu_dev centaur_cpu_dev = { cpu_dev 106 arch/x86/kernel/cpu/common.c static const struct cpu_dev default_cpu = { cpu_dev 112 arch/x86/kernel/cpu/common.c static const struct cpu_dev *this_cpu = &default_cpu; cpu_dev 621 arch/x86/kernel/cpu/common.c static const struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {}; cpu_dev 1308 arch/x86/kernel/cpu/common.c const struct cpu_dev *const *cdev; cpu_dev 1316 arch/x86/kernel/cpu/common.c const struct cpu_dev *cpudev = *cdev; cpu_dev 40 arch/x86/kernel/cpu/cpu.h static const struct cpu_dev *const __cpu_dev_##cpu_devX __used \ cpu_dev 44 arch/x86/kernel/cpu/cpu.h extern const struct cpu_dev *const __x86_cpu_dev_start[], cpu_dev 448 arch/x86/kernel/cpu/cyrix.c static const struct cpu_dev cyrix_cpu_dev = { cpu_dev 459 arch/x86/kernel/cpu/cyrix.c static const struct cpu_dev nsc_cpu_dev = { cpu_dev 388 arch/x86/kernel/cpu/hygon.c static const struct cpu_dev hygon_cpu_dev = { cpu_dev 968 arch/x86/kernel/cpu/intel.c static const struct cpu_dev intel_cpu_dev = { cpu_dev 176 arch/x86/kernel/cpu/intel_epb.c struct device *cpu_dev = get_cpu_device(cpu); cpu_dev 180 arch/x86/kernel/cpu/intel_epb.c sysfs_merge_group(&cpu_dev->kobj, &intel_epb_attr_group); cpu_dev 187 arch/x86/kernel/cpu/intel_epb.c struct device *cpu_dev = get_cpu_device(cpu); cpu_dev 190 arch/x86/kernel/cpu/intel_epb.c sysfs_unmerge_group(&cpu_dev->kobj, &intel_epb_attr_group); cpu_dev 103 arch/x86/kernel/cpu/transmeta.c static const struct cpu_dev transmeta_cpu_dev = { cpu_dev 11 arch/x86/kernel/cpu/umc.c static const struct cpu_dev umc_cpu_dev = { cpu_dev 156 arch/x86/kernel/cpu/zhaoxin.c static const struct cpu_dev zhaoxin_cpu_dev = { cpu_dev 722 drivers/acpi/cppc_acpi.c struct device *cpu_dev; cpu_dev 855 drivers/acpi/cppc_acpi.c cpu_dev = get_cpu_device(pr->id); cpu_dev 856 drivers/acpi/cppc_acpi.c if (!cpu_dev) { cpu_dev 864 drivers/acpi/cppc_acpi.c ret = kobject_init_and_add(&cpc_ptr->kobj, &cppc_ktype, &cpu_dev->kobj, cpu_dev 160 drivers/base/cacheinfo.c struct device *cpu_dev = get_cpu_device(cpu); cpu_dev 169 drivers/base/cacheinfo.c if (!cpu_dev) { cpu_dev 173 drivers/base/cacheinfo.c np = cpu_dev->of_node; cpu_dev 309 drivers/cpufreq/arm_big_little.c static void _put_cluster_clk_and_freq_table(struct device *cpu_dev, cpu_dev 312 drivers/cpufreq/arm_big_little.c u32 cluster = raw_cpu_to_cluster(cpu_dev->id); cpu_dev 318 drivers/cpufreq/arm_big_little.c dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table[cluster]); cpu_dev 321 drivers/cpufreq/arm_big_little.c dev_dbg(cpu_dev, "%s: cluster: %d\n", __func__, cluster); cpu_dev 324 drivers/cpufreq/arm_big_little.c static void put_cluster_clk_and_freq_table(struct device *cpu_dev, cpu_dev 327 drivers/cpufreq/arm_big_little.c u32 cluster = cpu_to_cluster(cpu_dev->id); cpu_dev 334 drivers/cpufreq/arm_big_little.c return _put_cluster_clk_and_freq_table(cpu_dev, cpumask); cpu_dev 350 drivers/cpufreq/arm_big_little.c static int _get_cluster_clk_and_freq_table(struct device *cpu_dev, cpu_dev 353 drivers/cpufreq/arm_big_little.c u32 cluster = raw_cpu_to_cluster(cpu_dev->id); cpu_dev 361 drivers/cpufreq/arm_big_little.c dev_err(cpu_dev, "%s: init_opp_table failed, cpu: %d, err: %d\n", cpu_dev 362 drivers/cpufreq/arm_big_little.c __func__, cpu_dev->id, ret); cpu_dev 366 drivers/cpufreq/arm_big_little.c ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table[cluster]); cpu_dev 368 drivers/cpufreq/arm_big_little.c dev_err(cpu_dev, "%s: failed to init cpufreq table, cpu: %d, err: %d\n", cpu_dev 369 drivers/cpufreq/arm_big_little.c __func__, cpu_dev->id, ret); cpu_dev 373 drivers/cpufreq/arm_big_little.c clk[cluster] = clk_get(cpu_dev, NULL); cpu_dev 375 drivers/cpufreq/arm_big_little.c dev_dbg(cpu_dev, "%s: clk: %p & freq table: %p, cluster: %d\n", cpu_dev 381 drivers/cpufreq/arm_big_little.c dev_err(cpu_dev, "%s: Failed to get clk for cpu: %d, cluster: %d\n", cpu_dev 382 drivers/cpufreq/arm_big_little.c __func__, cpu_dev->id, cluster); cpu_dev 384 drivers/cpufreq/arm_big_little.c dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table[cluster]); cpu_dev 390 drivers/cpufreq/arm_big_little.c dev_err(cpu_dev, "%s: Failed to get data for cluster: %d\n", __func__, cpu_dev 395 drivers/cpufreq/arm_big_little.c static int get_cluster_clk_and_freq_table(struct device *cpu_dev, cpu_dev 398 drivers/cpufreq/arm_big_little.c u32 cluster = cpu_to_cluster(cpu_dev->id); cpu_dev 405 drivers/cpufreq/arm_big_little.c ret = _get_cluster_clk_and_freq_table(cpu_dev, cpumask); cpu_dev 460 drivers/cpufreq/arm_big_little.c struct device *cpu_dev; cpu_dev 463 drivers/cpufreq/arm_big_little.c cpu_dev = get_cpu_device(policy->cpu); cpu_dev 464 drivers/cpufreq/arm_big_little.c if (!cpu_dev) { cpu_dev 482 drivers/cpufreq/arm_big_little.c ret = get_cluster_clk_and_freq_table(cpu_dev, policy->cpus); cpu_dev 488 drivers/cpufreq/arm_big_little.c arm_bL_ops->get_transition_latency(cpu_dev); cpu_dev 495 drivers/cpufreq/arm_big_little.c dev_info(cpu_dev, "%s: CPU %d initialized\n", __func__, policy->cpu); cpu_dev 501 drivers/cpufreq/arm_big_little.c struct device *cpu_dev; cpu_dev 509 drivers/cpufreq/arm_big_little.c cpu_dev = get_cpu_device(policy->cpu); cpu_dev 510 drivers/cpufreq/arm_big_little.c if (!cpu_dev) { cpu_dev 516 drivers/cpufreq/arm_big_little.c put_cluster_clk_and_freq_table(cpu_dev, policy->related_cpus); cpu_dev 517 drivers/cpufreq/arm_big_little.c dev_dbg(cpu_dev, "%s: Exited, cpu: %d\n", __func__, policy->cpu); cpu_dev 36 drivers/cpufreq/arm_big_little.h int (*get_transition_latency)(struct device *cpu_dev); cpu_dev 362 drivers/cpufreq/armada-37xx-cpufreq.c struct device *cpu_dev; cpu_dev 388 drivers/cpufreq/armada-37xx-cpufreq.c cpu_dev = get_cpu_device(0); cpu_dev 389 drivers/cpufreq/armada-37xx-cpufreq.c if (!cpu_dev) { cpu_dev 390 drivers/cpufreq/armada-37xx-cpufreq.c dev_err(cpu_dev, "Cannot get CPU\n"); cpu_dev 394 drivers/cpufreq/armada-37xx-cpufreq.c clk = clk_get(cpu_dev, 0); cpu_dev 396 drivers/cpufreq/armada-37xx-cpufreq.c dev_err(cpu_dev, "Cannot get clock for CPU0\n"); cpu_dev 402 drivers/cpufreq/armada-37xx-cpufreq.c dev_err(cpu_dev, "Cannot get parent clock for CPU0\n"); cpu_dev 411 drivers/cpufreq/armada-37xx-cpufreq.c dev_err(cpu_dev, "Failed to get parent clock rate for CPU\n"); cpu_dev 419 drivers/cpufreq/armada-37xx-cpufreq.c dev_err(cpu_dev, "Failed to get clock rate for CPU\n"); cpu_dev 449 drivers/cpufreq/armada-37xx-cpufreq.c ret = dev_pm_opp_add(cpu_dev, freq, u_volt); cpu_dev 476 drivers/cpufreq/armada-37xx-cpufreq.c dev_pm_opp_remove(cpu_dev, freq); cpu_dev 33 drivers/cpufreq/armada-8k-cpufreq.c struct device *cpu_dev; cpu_dev 44 drivers/cpufreq/armada-8k-cpufreq.c struct device *cpu_dev; cpu_dev 47 drivers/cpufreq/armada-8k-cpufreq.c cpu_dev = get_cpu_device(cpu); cpu_dev 48 drivers/cpufreq/armada-8k-cpufreq.c if (!cpu_dev) { cpu_dev 53 drivers/cpufreq/armada-8k-cpufreq.c clk = clk_get(cpu_dev, 0); cpu_dev 65 drivers/cpufreq/armada-8k-cpufreq.c static int __init armada_8k_add_opp(struct clk *clk, struct device *cpu_dev, cpu_dev 76 drivers/cpufreq/armada-8k-cpufreq.c dev_err(cpu_dev, "Failed to get clock rate for this CPU\n"); cpu_dev 80 drivers/cpufreq/armada-8k-cpufreq.c freq_tables[opps_index].cpu_dev = cpu_dev; cpu_dev 85 drivers/cpufreq/armada-8k-cpufreq.c ret = dev_pm_opp_add(cpu_dev, freq, 0); cpu_dev 103 drivers/cpufreq/armada-8k-cpufreq.c if (!freq_tables[opps_index].cpu_dev) cpu_dev 115 drivers/cpufreq/armada-8k-cpufreq.c dev_pm_opp_remove(freq_tables[opps_index].cpu_dev, cpu_dev 150 drivers/cpufreq/armada-8k-cpufreq.c struct device *cpu_dev; cpu_dev 153 drivers/cpufreq/armada-8k-cpufreq.c cpu_dev = get_cpu_device(cpu); cpu_dev 155 drivers/cpufreq/armada-8k-cpufreq.c if (!cpu_dev) { cpu_dev 160 drivers/cpufreq/armada-8k-cpufreq.c clk = clk_get(cpu_dev, 0); cpu_dev 168 drivers/cpufreq/armada-8k-cpufreq.c ret = armada_8k_add_opp(clk, cpu_dev, freq_tables, opps_index); cpu_dev 177 drivers/cpufreq/armada-8k-cpufreq.c dev_pm_opp_set_sharing_cpus(cpu_dev, &shared_cpus); cpu_dev 28 drivers/cpufreq/cpufreq-dt.c struct device *cpu_dev; cpu_dev 45 drivers/cpufreq/cpufreq-dt.c ret = dev_pm_opp_set_rate(priv->cpu_dev, freq * 1000); cpu_dev 95 drivers/cpufreq/cpufreq-dt.c struct device *cpu_dev; cpu_dev 101 drivers/cpufreq/cpufreq-dt.c cpu_dev = get_cpu_device(0); cpu_dev 102 drivers/cpufreq/cpufreq-dt.c if (!cpu_dev) { cpu_dev 107 drivers/cpufreq/cpufreq-dt.c cpu_clk = clk_get(cpu_dev, NULL); cpu_dev 115 drivers/cpufreq/cpufreq-dt.c dev_dbg(cpu_dev, "clock not ready, retry\n"); cpu_dev 117 drivers/cpufreq/cpufreq-dt.c dev_err(cpu_dev, "failed to get clock: %d\n", ret); cpu_dev 124 drivers/cpufreq/cpufreq-dt.c name = find_supply_name(cpu_dev); cpu_dev 129 drivers/cpufreq/cpufreq-dt.c cpu_reg = regulator_get_optional(cpu_dev, name); cpu_dev 137 drivers/cpufreq/cpufreq-dt.c dev_dbg(cpu_dev, "cpu0 regulator not ready, retry\n"); cpu_dev 139 drivers/cpufreq/cpufreq-dt.c dev_dbg(cpu_dev, "no regulator for cpu0: %d\n", ret); cpu_dev 153 drivers/cpufreq/cpufreq-dt.c struct device *cpu_dev; cpu_dev 160 drivers/cpufreq/cpufreq-dt.c cpu_dev = get_cpu_device(policy->cpu); cpu_dev 161 drivers/cpufreq/cpufreq-dt.c if (!cpu_dev) { cpu_dev 166 drivers/cpufreq/cpufreq-dt.c cpu_clk = clk_get(cpu_dev, NULL); cpu_dev 169 drivers/cpufreq/cpufreq-dt.c dev_err(cpu_dev, "%s: failed to get clk: %d\n", __func__, ret); cpu_dev 174 drivers/cpufreq/cpufreq-dt.c ret = dev_pm_opp_of_get_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 184 drivers/cpufreq/cpufreq-dt.c if (dev_pm_opp_get_sharing_cpus(cpu_dev, policy->cpus)) cpu_dev 192 drivers/cpufreq/cpufreq-dt.c name = find_supply_name(cpu_dev); cpu_dev 194 drivers/cpufreq/cpufreq-dt.c opp_table = dev_pm_opp_set_regulators(cpu_dev, &name, 1); cpu_dev 197 drivers/cpufreq/cpufreq-dt.c dev_err(cpu_dev, "Failed to set regulator for cpu%d: %d\n", cpu_dev 229 drivers/cpufreq/cpufreq-dt.c ret = dev_pm_opp_get_opp_count(cpu_dev); cpu_dev 231 drivers/cpufreq/cpufreq-dt.c dev_dbg(cpu_dev, "OPP table is not ready, deferring probe\n"); cpu_dev 243 drivers/cpufreq/cpufreq-dt.c ret = dev_pm_opp_set_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 245 drivers/cpufreq/cpufreq-dt.c dev_err(cpu_dev, "%s: failed to mark OPPs as shared: %d\n", cpu_dev 249 drivers/cpufreq/cpufreq-dt.c ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table); cpu_dev 251 drivers/cpufreq/cpufreq-dt.c dev_err(cpu_dev, "failed to init cpufreq table: %d\n", ret); cpu_dev 255 drivers/cpufreq/cpufreq-dt.c priv->cpu_dev = cpu_dev; cpu_dev 260 drivers/cpufreq/cpufreq-dt.c policy->suspend_freq = dev_pm_opp_get_suspend_opp_freq(cpu_dev) / 1000; cpu_dev 271 drivers/cpufreq/cpufreq-dt.c transition_latency = dev_pm_opp_get_max_transition_latency(cpu_dev); cpu_dev 283 drivers/cpufreq/cpufreq-dt.c dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table); cpu_dev 316 drivers/cpufreq/cpufreq-dt.c dev_pm_opp_free_cpufreq_table(priv->cpu_dev, &policy->freq_table); cpu_dev 61 drivers/cpufreq/highbank-cpufreq.c struct device *cpu_dev; cpu_dev 70 drivers/cpufreq/highbank-cpufreq.c cpu_dev = get_cpu_device(0); cpu_dev 71 drivers/cpufreq/highbank-cpufreq.c if (!cpu_dev) { cpu_dev 76 drivers/cpufreq/highbank-cpufreq.c np = of_node_get(cpu_dev->of_node); cpu_dev 82 drivers/cpufreq/highbank-cpufreq.c cpu_clk = clk_get(cpu_dev, NULL); cpu_dev 29 drivers/cpufreq/imx-cpufreq-dt.c struct device *cpu_dev = get_cpu_device(0); cpu_dev 34 drivers/cpufreq/imx-cpufreq-dt.c ret = nvmem_cell_read_u32(cpu_dev, "speed_grade", &cell_value); cpu_dev 66 drivers/cpufreq/imx-cpufreq-dt.c cpufreq_opp_table = dev_pm_opp_set_supported_hw(cpu_dev, supported_hw, 2); cpu_dev 50 drivers/cpufreq/imx6q-cpufreq.c static struct device *cpu_dev; cpu_dev 71 drivers/cpufreq/imx6q-cpufreq.c opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); cpu_dev 73 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to find OPP for %ld\n", freq_hz); cpu_dev 82 drivers/cpufreq/imx6q-cpufreq.c dev_dbg(cpu_dev, "%u MHz, %ld mV --> %u MHz, %ld mV\n", cpu_dev 91 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to scale vddpu up: %d\n", ret); cpu_dev 97 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to scale vddsoc up: %d\n", ret); cpu_dev 102 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, cpu_dev 160 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to set clock rate: %d\n", ret); cpu_dev 163 drivers/cpufreq/imx6q-cpufreq.c dev_warn(cpu_dev, cpu_dev 176 drivers/cpufreq/imx6q-cpufreq.c dev_warn(cpu_dev, cpu_dev 180 drivers/cpufreq/imx6q-cpufreq.c dev_warn(cpu_dev, "failed to scale vddsoc down: %d\n", ret); cpu_dev 184 drivers/cpufreq/imx6q-cpufreq.c dev_warn(cpu_dev, "failed to scale vddpu down: %d\n", ret); cpu_dev 340 drivers/cpufreq/imx6q-cpufreq.c cpu_dev = get_cpu_device(0); cpu_dev 341 drivers/cpufreq/imx6q-cpufreq.c if (!cpu_dev) { cpu_dev 346 drivers/cpufreq/imx6q-cpufreq.c np = of_node_get(cpu_dev->of_node); cpu_dev 348 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to find cpu0 node\n"); cpu_dev 358 drivers/cpufreq/imx6q-cpufreq.c ret = clk_bulk_get(cpu_dev, num_clks, clks); cpu_dev 362 drivers/cpufreq/imx6q-cpufreq.c arm_reg = regulator_get(cpu_dev, "arm"); cpu_dev 363 drivers/cpufreq/imx6q-cpufreq.c pu_reg = regulator_get_optional(cpu_dev, "pu"); cpu_dev 364 drivers/cpufreq/imx6q-cpufreq.c soc_reg = regulator_get(cpu_dev, "soc"); cpu_dev 369 drivers/cpufreq/imx6q-cpufreq.c dev_dbg(cpu_dev, "regulators not ready, defer\n"); cpu_dev 373 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to get regulators\n"); cpu_dev 378 drivers/cpufreq/imx6q-cpufreq.c ret = dev_pm_opp_of_add_table(cpu_dev); cpu_dev 380 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to init OPP table: %d\n", ret); cpu_dev 389 drivers/cpufreq/imx6q-cpufreq.c ret = imx6ul_opp_check_speed_grading(cpu_dev); cpu_dev 394 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to read ocotp: %d\n", cpu_dev 399 drivers/cpufreq/imx6q-cpufreq.c imx6q_opp_check_speed_grading(cpu_dev); cpu_dev 402 drivers/cpufreq/imx6q-cpufreq.c num = dev_pm_opp_get_opp_count(cpu_dev); cpu_dev 405 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "no OPP table is found: %d\n", ret); cpu_dev 409 drivers/cpufreq/imx6q-cpufreq.c ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table); cpu_dev 411 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed to init cpufreq table: %d\n", ret); cpu_dev 416 drivers/cpufreq/imx6q-cpufreq.c imx6_soc_volt = devm_kcalloc(cpu_dev, num, sizeof(*imx6_soc_volt), cpu_dev 450 drivers/cpufreq/imx6q-cpufreq.c dev_warn(cpu_dev, "can NOT find valid fsl,soc-operating-points property in dtb, use default value!\n"); cpu_dev 479 drivers/cpufreq/imx6q-cpufreq.c opp = dev_pm_opp_find_freq_exact(cpu_dev, cpu_dev 483 drivers/cpufreq/imx6q-cpufreq.c opp = dev_pm_opp_find_freq_exact(cpu_dev, max_freq * 1000, true); cpu_dev 493 drivers/cpufreq/imx6q-cpufreq.c dev_err(cpu_dev, "failed register driver: %d\n", ret); cpu_dev 501 drivers/cpufreq/imx6q-cpufreq.c dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table); cpu_dev 504 drivers/cpufreq/imx6q-cpufreq.c dev_pm_opp_of_remove_table(cpu_dev); cpu_dev 523 drivers/cpufreq/imx6q-cpufreq.c dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table); cpu_dev 525 drivers/cpufreq/imx6q-cpufreq.c dev_pm_opp_of_remove_table(cpu_dev); cpu_dev 52 drivers/cpufreq/loongson1-cpufreq.c struct device *cpu_dev = get_cpu_device(policy->cpu); cpu_dev 74 drivers/cpufreq/loongson1-cpufreq.c dev_dbg(cpu_dev, "%u KHz --> %u KHz\n", old_freq, new_freq); cpu_dev 81 drivers/cpufreq/loongson1-cpufreq.c struct device *cpu_dev = get_cpu_device(policy->cpu); cpu_dev 99 drivers/cpufreq/loongson1-cpufreq.c dev_dbg(cpu_dev, cpu_dev 37 drivers/cpufreq/mediatek-cpufreq.c struct device *cpu_dev; cpu_dev 209 drivers/cpufreq/mediatek-cpufreq.c struct device *cpu_dev = info->cpu_dev; cpu_dev 225 drivers/cpufreq/mediatek-cpufreq.c opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); cpu_dev 302 drivers/cpufreq/mediatek-cpufreq.c struct device *cpu_dev; cpu_dev 311 drivers/cpufreq/mediatek-cpufreq.c cpu_dev = get_cpu_device(cpu); cpu_dev 312 drivers/cpufreq/mediatek-cpufreq.c if (!cpu_dev) { cpu_dev 317 drivers/cpufreq/mediatek-cpufreq.c cpu_clk = clk_get(cpu_dev, "cpu"); cpu_dev 328 drivers/cpufreq/mediatek-cpufreq.c inter_clk = clk_get(cpu_dev, "intermediate"); cpu_dev 341 drivers/cpufreq/mediatek-cpufreq.c proc_reg = regulator_get_optional(cpu_dev, "proc"); cpu_dev 355 drivers/cpufreq/mediatek-cpufreq.c sram_reg = regulator_get_exclusive(cpu_dev, "sram"); cpu_dev 358 drivers/cpufreq/mediatek-cpufreq.c ret = dev_pm_opp_of_get_sharing_cpus(cpu_dev, &info->cpus); cpu_dev 373 drivers/cpufreq/mediatek-cpufreq.c opp = dev_pm_opp_find_freq_ceil(cpu_dev, &rate); cpu_dev 382 drivers/cpufreq/mediatek-cpufreq.c info->cpu_dev = cpu_dev; cpu_dev 439 drivers/cpufreq/mediatek-cpufreq.c ret = dev_pm_opp_init_cpufreq_table(info->cpu_dev, &freq_table); cpu_dev 460 drivers/cpufreq/mediatek-cpufreq.c dev_pm_opp_free_cpufreq_table(info->cpu_dev, &policy->freq_table); cpu_dev 63 drivers/cpufreq/mvebu-cpufreq.c struct device *cpu_dev; cpu_dev 67 drivers/cpufreq/mvebu-cpufreq.c cpu_dev = get_cpu_device(cpu); cpu_dev 68 drivers/cpufreq/mvebu-cpufreq.c if (!cpu_dev) { cpu_dev 73 drivers/cpufreq/mvebu-cpufreq.c clk = clk_get(cpu_dev, NULL); cpu_dev 79 drivers/cpufreq/mvebu-cpufreq.c ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk), 0); cpu_dev 85 drivers/cpufreq/mvebu-cpufreq.c ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk) / 2, 0); cpu_dev 87 drivers/cpufreq/mvebu-cpufreq.c dev_pm_opp_remove(cpu_dev, clk_get_rate(clk)); cpu_dev 89 drivers/cpufreq/mvebu-cpufreq.c dev_err(cpu_dev, "Failed to register OPPs\n"); cpu_dev 93 drivers/cpufreq/mvebu-cpufreq.c ret = dev_pm_opp_set_sharing_cpus(cpu_dev, cpu_dev 94 drivers/cpufreq/mvebu-cpufreq.c cpumask_of(cpu_dev->id)); cpu_dev 96 drivers/cpufreq/mvebu-cpufreq.c dev_err(cpu_dev, "%s: failed to mark OPPs as shared: %d\n", cpu_dev 85 drivers/cpufreq/qcom-cpufreq-hw.c static int qcom_cpufreq_hw_read_lut(struct device *cpu_dev, cpu_dev 115 drivers/cpufreq/qcom-cpufreq-hw.c dev_pm_opp_add(cpu_dev, freq * 1000, volt); cpu_dev 116 drivers/cpufreq/qcom-cpufreq-hw.c dev_dbg(cpu_dev, "index=%d freq=%d, core_count %d\n", i, cpu_dev 136 drivers/cpufreq/qcom-cpufreq-hw.c dev_pm_opp_add(cpu_dev, prev_freq * 1000, volt); cpu_dev 147 drivers/cpufreq/qcom-cpufreq-hw.c dev_pm_opp_set_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 180 drivers/cpufreq/qcom-cpufreq-hw.c struct device *cpu_dev; cpu_dev 185 drivers/cpufreq/qcom-cpufreq-hw.c cpu_dev = get_cpu_device(policy->cpu); cpu_dev 186 drivers/cpufreq/qcom-cpufreq-hw.c if (!cpu_dev) { cpu_dev 228 drivers/cpufreq/qcom-cpufreq-hw.c ret = qcom_cpufreq_hw_read_lut(cpu_dev, policy, base); cpu_dev 234 drivers/cpufreq/qcom-cpufreq-hw.c ret = dev_pm_opp_get_opp_count(cpu_dev); cpu_dev 236 drivers/cpufreq/qcom-cpufreq-hw.c dev_err(cpu_dev, "Failed to add OPPs\n"); cpu_dev 253 drivers/cpufreq/qcom-cpufreq-hw.c struct device *cpu_dev = get_cpu_device(policy->cpu); cpu_dev 256 drivers/cpufreq/qcom-cpufreq-hw.c dev_pm_opp_remove_all_dynamic(cpu_dev); cpu_dev 50 drivers/cpufreq/qcom-cpufreq-nvmem.c int (*get_version)(struct device *cpu_dev, cpu_dev 94 drivers/cpufreq/qcom-cpufreq-nvmem.c static int qcom_cpufreq_kryo_name_version(struct device *cpu_dev, cpu_dev 104 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_err(cpu_dev, "Not Snapdragon 820/821!"); cpu_dev 143 drivers/cpufreq/qcom-cpufreq-nvmem.c struct device *cpu_dev; cpu_dev 148 drivers/cpufreq/qcom-cpufreq-nvmem.c cpu_dev = get_cpu_device(0); cpu_dev 149 drivers/cpufreq/qcom-cpufreq-nvmem.c if (!cpu_dev) cpu_dev 152 drivers/cpufreq/qcom-cpufreq-nvmem.c np = dev_pm_opp_of_get_opp_desc_node(cpu_dev); cpu_dev 177 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_err(cpu_dev, cpu_dev 184 drivers/cpufreq/qcom-cpufreq-nvmem.c ret = drv->data->get_version(cpu_dev, speedbin_nvmem, drv); cpu_dev 209 drivers/cpufreq/qcom-cpufreq-nvmem.c cpu_dev = get_cpu_device(cpu); cpu_dev 210 drivers/cpufreq/qcom-cpufreq-nvmem.c if (NULL == cpu_dev) { cpu_dev 217 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_pm_opp_set_supported_hw(cpu_dev, cpu_dev 221 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_err(cpu_dev, cpu_dev 229 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_pm_opp_attach_genpd(cpu_dev, cpu_dev 235 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_err(cpu_dev, cpu_dev 251 drivers/cpufreq/qcom-cpufreq-nvmem.c dev_err(cpu_dev, "Failed to register platform device\n"); cpu_dev 21 drivers/cpufreq/raspberrypi-cpufreq.c struct device *cpu_dev; cpu_dev 27 drivers/cpufreq/raspberrypi-cpufreq.c cpu_dev = get_cpu_device(0); cpu_dev 28 drivers/cpufreq/raspberrypi-cpufreq.c if (!cpu_dev) { cpu_dev 33 drivers/cpufreq/raspberrypi-cpufreq.c clk = clk_get(cpu_dev, NULL); cpu_dev 35 drivers/cpufreq/raspberrypi-cpufreq.c dev_err(cpu_dev, "Cannot get clock for CPU0\n"); cpu_dev 48 drivers/cpufreq/raspberrypi-cpufreq.c ret = dev_pm_opp_add(cpu_dev, rate, 0); cpu_dev 56 drivers/cpufreq/raspberrypi-cpufreq.c dev_err(cpu_dev, "Failed to create platform device, %d\n", ret); cpu_dev 63 drivers/cpufreq/raspberrypi-cpufreq.c dev_pm_opp_remove_all_dynamic(cpu_dev); cpu_dev 70 drivers/cpufreq/raspberrypi-cpufreq.c struct device *cpu_dev; cpu_dev 72 drivers/cpufreq/raspberrypi-cpufreq.c cpu_dev = get_cpu_device(0); cpu_dev 73 drivers/cpufreq/raspberrypi-cpufreq.c if (cpu_dev) cpu_dev 74 drivers/cpufreq/raspberrypi-cpufreq.c dev_pm_opp_remove_all_dynamic(cpu_dev); cpu_dev 24 drivers/cpufreq/scmi-cpufreq.c struct device *cpu_dev; cpu_dev 80 drivers/cpufreq/scmi-cpufreq.c scmi_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) cpu_dev 85 drivers/cpufreq/scmi-cpufreq.c domain = handle->perf_ops->device_domain_id(cpu_dev); cpu_dev 90 drivers/cpufreq/scmi-cpufreq.c if (cpu == cpu_dev->id) cpu_dev 108 drivers/cpufreq/scmi-cpufreq.c struct device *cpu_dev = get_cpu_device(cpu); cpu_dev 112 drivers/cpufreq/scmi-cpufreq.c if (!cpu_dev) { cpu_dev 117 drivers/cpufreq/scmi-cpufreq.c domain = handle->perf_ops->device_domain_id(cpu_dev); cpu_dev 137 drivers/cpufreq/scmi-cpufreq.c struct device *cpu_dev; cpu_dev 142 drivers/cpufreq/scmi-cpufreq.c cpu_dev = get_cpu_device(policy->cpu); cpu_dev 143 drivers/cpufreq/scmi-cpufreq.c if (!cpu_dev) { cpu_dev 148 drivers/cpufreq/scmi-cpufreq.c ret = handle->perf_ops->device_opps_add(handle, cpu_dev); cpu_dev 150 drivers/cpufreq/scmi-cpufreq.c dev_warn(cpu_dev, "failed to add opps to the device\n"); cpu_dev 154 drivers/cpufreq/scmi-cpufreq.c ret = scmi_get_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 156 drivers/cpufreq/scmi-cpufreq.c dev_warn(cpu_dev, "failed to get sharing cpumask\n"); cpu_dev 160 drivers/cpufreq/scmi-cpufreq.c ret = dev_pm_opp_set_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 162 drivers/cpufreq/scmi-cpufreq.c dev_err(cpu_dev, "%s: failed to mark OPPs as shared: %d\n", cpu_dev 167 drivers/cpufreq/scmi-cpufreq.c nr_opp = dev_pm_opp_get_opp_count(cpu_dev); cpu_dev 169 drivers/cpufreq/scmi-cpufreq.c dev_dbg(cpu_dev, "OPP table is not ready, deferring probe\n"); cpu_dev 180 drivers/cpufreq/scmi-cpufreq.c ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table); cpu_dev 182 drivers/cpufreq/scmi-cpufreq.c dev_err(cpu_dev, "failed to init cpufreq table: %d\n", ret); cpu_dev 186 drivers/cpufreq/scmi-cpufreq.c priv->cpu_dev = cpu_dev; cpu_dev 187 drivers/cpufreq/scmi-cpufreq.c priv->domain_id = handle->perf_ops->device_domain_id(cpu_dev); cpu_dev 195 drivers/cpufreq/scmi-cpufreq.c latency = handle->perf_ops->transition_latency_get(handle, cpu_dev); cpu_dev 210 drivers/cpufreq/scmi-cpufreq.c dev_pm_opp_remove_all_dynamic(cpu_dev); cpu_dev 219 drivers/cpufreq/scmi-cpufreq.c dev_pm_opp_free_cpufreq_table(priv->cpu_dev, &policy->freq_table); cpu_dev 220 drivers/cpufreq/scmi-cpufreq.c dev_pm_opp_remove_all_dynamic(priv->cpu_dev); cpu_dev 35 drivers/cpufreq/scpi-cpufreq.c struct device *cpu_dev; cpu_dev 72 drivers/cpufreq/scpi-cpufreq.c scpi_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) cpu_dev 77 drivers/cpufreq/scpi-cpufreq.c domain = scpi_ops->device_domain_id(cpu_dev); cpu_dev 82 drivers/cpufreq/scpi-cpufreq.c if (cpu == cpu_dev->id) cpu_dev 101 drivers/cpufreq/scpi-cpufreq.c struct device *cpu_dev; cpu_dev 105 drivers/cpufreq/scpi-cpufreq.c cpu_dev = get_cpu_device(policy->cpu); cpu_dev 106 drivers/cpufreq/scpi-cpufreq.c if (!cpu_dev) { cpu_dev 111 drivers/cpufreq/scpi-cpufreq.c ret = scpi_ops->add_opps_to_device(cpu_dev); cpu_dev 113 drivers/cpufreq/scpi-cpufreq.c dev_warn(cpu_dev, "failed to add opps to the device\n"); cpu_dev 117 drivers/cpufreq/scpi-cpufreq.c ret = scpi_get_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 119 drivers/cpufreq/scpi-cpufreq.c dev_warn(cpu_dev, "failed to get sharing cpumask\n"); cpu_dev 123 drivers/cpufreq/scpi-cpufreq.c ret = dev_pm_opp_set_sharing_cpus(cpu_dev, policy->cpus); cpu_dev 125 drivers/cpufreq/scpi-cpufreq.c dev_err(cpu_dev, "%s: failed to mark OPPs as shared: %d\n", cpu_dev 130 drivers/cpufreq/scpi-cpufreq.c ret = dev_pm_opp_get_opp_count(cpu_dev); cpu_dev 132 drivers/cpufreq/scpi-cpufreq.c dev_dbg(cpu_dev, "OPP table is not ready, deferring probe\n"); cpu_dev 143 drivers/cpufreq/scpi-cpufreq.c ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table); cpu_dev 145 drivers/cpufreq/scpi-cpufreq.c dev_err(cpu_dev, "failed to init cpufreq table: %d\n", ret); cpu_dev 149 drivers/cpufreq/scpi-cpufreq.c priv->cpu_dev = cpu_dev; cpu_dev 150 drivers/cpufreq/scpi-cpufreq.c priv->clk = clk_get(cpu_dev, NULL); cpu_dev 152 drivers/cpufreq/scpi-cpufreq.c dev_err(cpu_dev, "%s: Failed to get clk for cpu: %d\n", cpu_dev 153 drivers/cpufreq/scpi-cpufreq.c __func__, cpu_dev->id); cpu_dev 164 drivers/cpufreq/scpi-cpufreq.c latency = scpi_ops->get_transition_latency(cpu_dev); cpu_dev 177 drivers/cpufreq/scpi-cpufreq.c dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table); cpu_dev 181 drivers/cpufreq/scpi-cpufreq.c dev_pm_opp_remove_all_dynamic(cpu_dev); cpu_dev 191 drivers/cpufreq/scpi-cpufreq.c dev_pm_opp_free_cpufreq_table(priv->cpu_dev, &policy->freq_table); cpu_dev 192 drivers/cpufreq/scpi-cpufreq.c dev_pm_opp_remove_all_dynamic(priv->cpu_dev); cpu_dev 37 drivers/cpufreq/sun50i-cpufreq-nvmem.c struct device *cpu_dev; cpu_dev 42 drivers/cpufreq/sun50i-cpufreq-nvmem.c cpu_dev = get_cpu_device(0); cpu_dev 43 drivers/cpufreq/sun50i-cpufreq-nvmem.c if (!cpu_dev) cpu_dev 46 drivers/cpufreq/sun50i-cpufreq-nvmem.c np = dev_pm_opp_of_get_opp_desc_node(cpu_dev); cpu_dev 107 drivers/cpufreq/sun50i-cpufreq-nvmem.c struct device *cpu_dev = get_cpu_device(cpu); cpu_dev 109 drivers/cpufreq/sun50i-cpufreq-nvmem.c if (!cpu_dev) { cpu_dev 114 drivers/cpufreq/sun50i-cpufreq-nvmem.c opp_tables[cpu] = dev_pm_opp_set_prop_name(cpu_dev, name); cpu_dev 14 drivers/cpufreq/tango-cpufreq.c struct device *cpu_dev = get_cpu_device(0); cpu_dev 22 drivers/cpufreq/tango-cpufreq.c cpu_clk = clk_get(cpu_dev, NULL); cpu_dev 28 drivers/cpufreq/tango-cpufreq.c dev_pm_opp_add(cpu_dev, max_freq / 1, 0); cpu_dev 29 drivers/cpufreq/tango-cpufreq.c dev_pm_opp_add(cpu_dev, max_freq / 2, 0); cpu_dev 30 drivers/cpufreq/tango-cpufreq.c dev_pm_opp_add(cpu_dev, max_freq / 3, 0); cpu_dev 31 drivers/cpufreq/tango-cpufreq.c dev_pm_opp_add(cpu_dev, max_freq / 5, 0); cpu_dev 32 drivers/cpufreq/tango-cpufreq.c dev_pm_opp_add(cpu_dev, max_freq / 9, 0); cpu_dev 57 drivers/cpufreq/tegra124-cpufreq.c struct device *cpu_dev; cpu_dev 65 drivers/cpufreq/tegra124-cpufreq.c cpu_dev = get_cpu_device(0); cpu_dev 66 drivers/cpufreq/tegra124-cpufreq.c if (!cpu_dev) cpu_dev 50 drivers/cpufreq/ti-cpufreq.c struct device *cpu_dev; cpu_dev 125 drivers/cpufreq/ti-cpufreq.c struct device *dev = opp_data->cpu_dev; cpu_dev 156 drivers/cpufreq/ti-cpufreq.c struct device *dev = opp_data->cpu_dev; cpu_dev 176 drivers/cpufreq/ti-cpufreq.c struct device *dev = opp_data->cpu_dev; cpu_dev 228 drivers/cpufreq/ti-cpufreq.c opp_data->cpu_dev = get_cpu_device(0); cpu_dev 229 drivers/cpufreq/ti-cpufreq.c if (!opp_data->cpu_dev) { cpu_dev 234 drivers/cpufreq/ti-cpufreq.c opp_data->opp_node = dev_pm_opp_of_get_opp_desc_node(opp_data->cpu_dev); cpu_dev 236 drivers/cpufreq/ti-cpufreq.c dev_info(opp_data->cpu_dev, cpu_dev 259 drivers/cpufreq/ti-cpufreq.c ti_opp_table = dev_pm_opp_set_supported_hw(opp_data->cpu_dev, cpu_dev 262 drivers/cpufreq/ti-cpufreq.c dev_err(opp_data->cpu_dev, cpu_dev 271 drivers/cpufreq/ti-cpufreq.c ti_opp_table = dev_pm_opp_set_regulators(opp_data->cpu_dev, cpu_dev 32 drivers/cpufreq/vexpress-spc-cpufreq.c struct device *cpu_dev = get_cpu_device(cpumask_first(cpumask)); cpu_dev 37 drivers/cpufreq/vexpress-spc-cpufreq.c return dev_pm_opp_get_opp_count(cpu_dev) <= 0; cpu_dev 40 drivers/cpufreq/vexpress-spc-cpufreq.c static int ve_spc_get_transition_latency(struct device *cpu_dev) cpu_dev 682 drivers/cpuidle/sysfs.c struct device *cpu_dev = get_cpu_device((unsigned long)dev->cpu); cpu_dev 694 drivers/cpuidle/sysfs.c if (!cpu_dev) cpu_dev 705 drivers/cpuidle/sysfs.c error = kobject_init_and_add(&kdev->kobj, &ktype_cpuidle, &cpu_dev->kobj, cpu_dev 1155 drivers/gpu/drm/amd/amdkfd/kfd_topology.c struct kfd_topology_device *cpu_dev; cpu_dev 1179 drivers/gpu/drm/amd/amdkfd/kfd_topology.c cpu_dev = kfd_topology_device_by_proximity_domain( cpu_dev 1181 drivers/gpu/drm/amd/amdkfd/kfd_topology.c if (cpu_dev) { cpu_dev 1183 drivers/gpu/drm/amd/amdkfd/kfd_topology.c &cpu_dev->io_link_props, list) cpu_dev 111 drivers/opp/cpu.c struct device *cpu_dev; cpu_dev 120 drivers/opp/cpu.c cpu_dev = get_cpu_device(cpu); cpu_dev 121 drivers/opp/cpu.c if (!cpu_dev) { cpu_dev 127 drivers/opp/cpu.c _dev_pm_opp_find_and_remove_table(cpu_dev); cpu_dev 155 drivers/opp/cpu.c int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpu_dev 163 drivers/opp/cpu.c opp_table = _find_opp_table(cpu_dev); cpu_dev 168 drivers/opp/cpu.c if (cpu == cpu_dev->id) cpu_dev 173 drivers/opp/cpu.c dev_err(cpu_dev, "%s: failed to get cpu%d device\n", cpu_dev 205 drivers/opp/cpu.c int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) cpu_dev 211 drivers/opp/cpu.c opp_table = _find_opp_table(cpu_dev); cpu_dev 228 drivers/opp/cpu.c cpumask_set_cpu(cpu_dev->id, cpumask); cpu_dev 870 drivers/opp/of.c struct device *cpu_dev; cpu_dev 877 drivers/opp/of.c cpu_dev = get_cpu_device(cpu); cpu_dev 878 drivers/opp/of.c if (!cpu_dev) { cpu_dev 885 drivers/opp/of.c ret = dev_pm_opp_of_add_table(cpu_dev); cpu_dev 925 drivers/opp/of.c int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, cpu_dev 932 drivers/opp/of.c np = dev_pm_opp_of_get_opp_desc_node(cpu_dev); cpu_dev 934 drivers/opp/of.c dev_dbg(cpu_dev, "%s: Couldn't find opp node.\n", __func__); cpu_dev 938 drivers/opp/of.c cpumask_set_cpu(cpu_dev->id, cpumask); cpu_dev 945 drivers/opp/of.c if (cpu == cpu_dev->id) cpu_dev 950 drivers/opp/of.c dev_err(cpu_dev, "%s: failed to get cpu%d node\n", cpu_dev 1056 drivers/opp/of.c struct device *cpu_dev; cpu_dev 1064 drivers/opp/of.c cpu_dev = get_cpu_device(cpu); cpu_dev 1065 drivers/opp/of.c if (!cpu_dev) cpu_dev 1068 drivers/opp/of.c np = of_node_get(cpu_dev->of_node); cpu_dev 1078 drivers/opp/of.c opp = dev_pm_opp_find_freq_ceil(cpu_dev, &Hz); cpu_dev 1107 drivers/opp/of.c struct device *cpu_dev; cpu_dev 1111 drivers/opp/of.c cpu_dev = get_cpu_device(cpu); cpu_dev 1112 drivers/opp/of.c if (!cpu_dev) cpu_dev 1115 drivers/opp/of.c nr_opp = dev_pm_opp_get_opp_count(cpu_dev); cpu_dev 1119 drivers/opp/of.c np = of_node_get(cpu_dev->of_node); cpu_dev 381 drivers/opp/ti-opp-supply.c struct device *cpu_dev = get_cpu_device(0); cpu_dev 408 drivers/opp/ti-opp-supply.c ret = PTR_ERR_OR_ZERO(dev_pm_opp_register_set_opp_helper(cpu_dev, cpu_dev 51 include/linux/of_device.h struct device *cpu_dev; cpu_dev 52 include/linux/of_device.h cpu_dev = get_cpu_device(cpu); cpu_dev 53 include/linux/of_device.h if (!cpu_dev) cpu_dev 55 include/linux/of_device.h return of_node_get(cpu_dev->of_node); cpu_dev 137 include/linux/pm_opp.h int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask); cpu_dev 138 include/linux/pm_opp.h int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask); cpu_dev 320 include/linux/pm_opp.h static inline int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask) cpu_dev 325 include/linux/pm_opp.h static inline int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) cpu_dev 346 include/linux/pm_opp.h int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask); cpu_dev 375 include/linux/pm_opp.h static inline int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask)