Home
last modified time | relevance | path

Searched refs:supported_hw (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/cpufreq/
H A Dimx-cpufreq-dt.c86 u32 cell_value, supported_hw[2]; in imx_cpufreq_dt_probe() local
151 supported_hw[0] = BIT(speed_grade); in imx_cpufreq_dt_probe()
152 supported_hw[1] = BIT(mkt_segment); in imx_cpufreq_dt_probe()
154 speed_grade, mkt_segment, supported_hw[0], supported_hw[1]); in imx_cpufreq_dt_probe()
156 cpufreq_opp_token = dev_pm_opp_set_supported_hw(cpu_dev, supported_hw, 2); in imx_cpufreq_dt_probe()
H A Dqcom-cpufreq-nvmem.c494 .supported_hw = NULL, in qcom_cpufreq_probe()
504 config.supported_hw = &drv->versions; in qcom_cpufreq_probe()
511 if (config.supported_hw) { in qcom_cpufreq_probe()
H A Dti-cpufreq.c485 .supported_hw = version, in ti_cpufreq_probe()
/linux/drivers/soc/tegra/
H A Dcommon.c129 config.supported_hw = &hw_version; in devm_tegra_core_dev_init_opp_table()
133 config.supported_hw = &hw_version; in devm_tegra_core_dev_init_opp_table()
147 if (!config.supported_hw) in devm_tegra_core_dev_init_opp_table()
/linux/rust/kernel/
H A Dopp.rs364 supported_hw: Option<KVec<u32>>, field
429 if self.supported_hw.is_some() { in set_supported_hw()
437 self.supported_hw = Some(hw); in set_supported_hw()
468 let (supported_hw, supported_hw_count) = self in set()
469 .supported_hw in set()
492 supported_hw, in set()
/linux/include/linux/
H A Dpm_opp.h63 * @supported_hw: Array of hierarchy of versions to match.
77 const unsigned int *supported_hw; member
635 .supported_hw = versions, in dev_pm_opp_set_supported_hw()
652 .supported_hw = versions, in devm_pm_opp_set_supported_hw()
/linux/drivers/opp/
H A Dcore.c2087 if (opp_table->supported_hw) in _opp_set_supported_hw()
2090 opp_table->supported_hw = kmemdup_array(versions, count, in _opp_set_supported_hw()
2092 if (!opp_table->supported_hw) in _opp_set_supported_hw()
2102 if (opp_table->supported_hw) { in _opp_put_supported_hw()
2103 kfree(opp_table->supported_hw); in _opp_put_supported_hw()
2104 opp_table->supported_hw = NULL; in _opp_put_supported_hw()
2503 if (config->supported_hw) { in dev_pm_opp_set_config()
2504 ret = _opp_set_supported_hw(opp_table, config->supported_hw, in dev_pm_opp_set_config()
H A Dopp.h181 * @supported_hw: Array of version number to support.
182 * @supported_hw_count: Number of elements in supported_hw array.
231 unsigned int *supported_hw; member
H A Dof.c503 if (!opp_table->supported_hw) { in _opp_is_supported()
505 * In the case that no supported_hw has been set by the in _opp_is_supported()
539 if (!(val & opp_table->supported_hw[j])) { in _opp_is_supported()
/linux/drivers/devfreq/
H A Dtegra30-devfreq.c844 .supported_hw = &hw_version, in tegra_devfreq_probe()