Searched refs:ccdev (Results 1 – 2 of 2) sorted by relevance
/drivers/thermal/ |
D | clock_cooling.c | 89 static int clock_cooling_get_property(struct clock_cooling_device *ccdev, in clock_cooling_get_property() argument 98 struct cpufreq_frequency_table *pos, *table = ccdev->freq_table; in clock_cooling_get_property() 174 struct clock_cooling_device *ccdev = cdev->devdata; in clock_cooling_get_level() local 177 if (clock_cooling_get_property(ccdev, (unsigned long)freq, &val, in clock_cooling_get_level() 198 clock_cooling_get_frequency(struct clock_cooling_device *ccdev, in clock_cooling_get_frequency() argument 204 ret = clock_cooling_get_property(ccdev, level, &freq, GET_FREQ); in clock_cooling_get_frequency() 223 static int clock_cooling_apply(struct clock_cooling_device *ccdev, in clock_cooling_apply() argument 231 if (ccdev->clock_state == cooling_state) in clock_cooling_apply() 234 clip_freq = clock_cooling_get_frequency(ccdev, cooling_state); in clock_cooling_apply() 238 cur_freq = clk_get_rate(ccdev->clk); in clock_cooling_apply() [all …]
|
/drivers/ssb/ |
D | driver_chipcommon.c | 45 struct ssb_device *ccdev = cc->dev; in ssb_chipco_set_clockmode() local 49 if (!ccdev) in ssb_chipco_set_clockmode() 51 bus = ccdev->bus; in ssb_chipco_set_clockmode() 54 if (ccdev->id.revision >= 10 && mode == SSB_CLKMODE_SLOW) in ssb_chipco_set_clockmode() 59 WARN_ON(ccdev->id.revision >= 20); in ssb_chipco_set_clockmode() 62 if (ccdev->id.revision < 6) in ssb_chipco_set_clockmode() 66 if (ccdev->id.revision >= 10) in ssb_chipco_set_clockmode() 79 if (ccdev->id.revision < 10) { in ssb_chipco_set_clockmode() 93 if (ccdev->id.revision < 10) { in ssb_chipco_set_clockmode()
|