dmcfreq 77 drivers/devfreq/rk3399_dmc.c struct rk3399_dmcfreq *dmcfreq = dev_get_drvdata(dev); dmcfreq 79 drivers/devfreq/rk3399_dmc.c unsigned long old_clk_rate = dmcfreq->rate; dmcfreq 93 drivers/devfreq/rk3399_dmc.c if (dmcfreq->rate == target_rate) dmcfreq 96 drivers/devfreq/rk3399_dmc.c mutex_lock(&dmcfreq->lock); dmcfreq 98 drivers/devfreq/rk3399_dmc.c if (target_rate >= dmcfreq->odt_dis_freq) dmcfreq 106 drivers/devfreq/rk3399_dmc.c arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, dmcfreq->odt_pd_arg0, dmcfreq 107 drivers/devfreq/rk3399_dmc.c dmcfreq->odt_pd_arg1, dmcfreq 116 drivers/devfreq/rk3399_dmc.c err = regulator_set_voltage(dmcfreq->vdd_center, target_volt, dmcfreq 125 drivers/devfreq/rk3399_dmc.c err = clk_set_rate(dmcfreq->dmc_clk, target_rate); dmcfreq 129 drivers/devfreq/rk3399_dmc.c regulator_set_voltage(dmcfreq->vdd_center, dmcfreq->volt, dmcfreq 130 drivers/devfreq/rk3399_dmc.c dmcfreq->volt); dmcfreq 140 drivers/devfreq/rk3399_dmc.c dmcfreq->rate = clk_get_rate(dmcfreq->dmc_clk); dmcfreq 143 drivers/devfreq/rk3399_dmc.c if (dmcfreq->rate != target_rate) { dmcfreq 145 drivers/devfreq/rk3399_dmc.c target_rate, dmcfreq->rate); dmcfreq 146 drivers/devfreq/rk3399_dmc.c regulator_set_voltage(dmcfreq->vdd_center, dmcfreq->volt, dmcfreq 147 drivers/devfreq/rk3399_dmc.c dmcfreq->volt); dmcfreq 150 drivers/devfreq/rk3399_dmc.c err = regulator_set_voltage(dmcfreq->vdd_center, target_volt, dmcfreq 155 drivers/devfreq/rk3399_dmc.c dmcfreq->rate = target_rate; dmcfreq 156 drivers/devfreq/rk3399_dmc.c dmcfreq->volt = target_volt; dmcfreq 159 drivers/devfreq/rk3399_dmc.c mutex_unlock(&dmcfreq->lock); dmcfreq 166 drivers/devfreq/rk3399_dmc.c struct rk3399_dmcfreq *dmcfreq = dev_get_drvdata(dev); dmcfreq 170 drivers/devfreq/rk3399_dmc.c ret = devfreq_event_get_event(dmcfreq->edev, &edata); dmcfreq 174 drivers/devfreq/rk3399_dmc.c stat->current_frequency = dmcfreq->rate; dmcfreq 183 drivers/devfreq/rk3399_dmc.c struct rk3399_dmcfreq *dmcfreq = dev_get_drvdata(dev); dmcfreq 185 drivers/devfreq/rk3399_dmc.c *freq = dmcfreq->rate; dmcfreq 199 drivers/devfreq/rk3399_dmc.c struct rk3399_dmcfreq *dmcfreq = dev_get_drvdata(dev); dmcfreq 202 drivers/devfreq/rk3399_dmc.c ret = devfreq_event_disable_edev(dmcfreq->edev); dmcfreq 208 drivers/devfreq/rk3399_dmc.c ret = devfreq_suspend_device(dmcfreq->devfreq); dmcfreq 219 drivers/devfreq/rk3399_dmc.c struct rk3399_dmcfreq *dmcfreq = dev_get_drvdata(dev); dmcfreq 222 drivers/devfreq/rk3399_dmc.c ret = devfreq_event_enable_edev(dmcfreq->edev); dmcfreq 228 drivers/devfreq/rk3399_dmc.c ret = devfreq_resume_device(dmcfreq->devfreq); dmcfreq 473 drivers/devfreq/rk3399_dmc.c struct rk3399_dmcfreq *dmcfreq = dev_get_drvdata(&pdev->dev); dmcfreq 478 drivers/devfreq/rk3399_dmc.c devm_devfreq_unregister_opp_notifier(dmcfreq->dev, dmcfreq->devfreq); dmcfreq 479 drivers/devfreq/rk3399_dmc.c dev_pm_opp_of_remove_table(dmcfreq->dev);