Lines Matching defs:hw_opp_tables
59 struct opp_table **hw_opp_tables;
329 drv->hw_opp_tables = kcalloc(num_possible_cpus(),
330 sizeof(*drv->hw_opp_tables),
332 if (!drv->hw_opp_tables) {
366 drv->hw_opp_tables[cpu] = dev_pm_opp_set_supported_hw(
368 if (IS_ERR(drv->hw_opp_tables[cpu])) {
369 ret = PTR_ERR(drv->hw_opp_tables[cpu]);
416 if (IS_ERR_OR_NULL(drv->hw_opp_tables[cpu]))
418 dev_pm_opp_put_supported_hw(drv->hw_opp_tables[cpu]);
420 kfree(drv->hw_opp_tables);
439 if (drv->hw_opp_tables[cpu])
440 dev_pm_opp_put_supported_hw(drv->hw_opp_tables[cpu]);
446 kfree(drv->hw_opp_tables);