Searched refs:opp_tokens (Results 1 – 1 of 1) sorted by relevance
87 int *opp_tokens; in sun50i_cpufreq_nvmem_probe() local93 opp_tokens = kcalloc(num_possible_cpus(), sizeof(*opp_tokens), in sun50i_cpufreq_nvmem_probe()95 if (!opp_tokens) in sun50i_cpufreq_nvmem_probe()100 kfree(opp_tokens); in sun50i_cpufreq_nvmem_probe()114 opp_tokens[cpu] = dev_pm_opp_set_prop_name(cpu_dev, name); in sun50i_cpufreq_nvmem_probe()115 if (opp_tokens[cpu] < 0) { in sun50i_cpufreq_nvmem_probe()116 ret = opp_tokens[cpu]; in sun50i_cpufreq_nvmem_probe()125 platform_set_drvdata(pdev, opp_tokens); in sun50i_cpufreq_nvmem_probe()134 dev_pm_opp_put_prop_name(opp_tokens[cpu]); in sun50i_cpufreq_nvmem_probe()135 kfree(opp_tokens); in sun50i_cpufreq_nvmem_probe()[all …]