Searched refs:svsb (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/soc/mediatek/ |
D | mtk-svs.c | 463 void (*set_freq_pct)(struct svs_platform *svsp, struct svs_bank *svsb); 464 void (*get_volts)(struct svs_platform *svsp, struct svs_bank *svsb); 568 static void svs_switch_bank(struct svs_platform *svsp, struct svs_bank *svsb) in svs_switch_bank() argument 570 svs_writel_relaxed(svsp, svsb->core_sel, CORESEL); in svs_switch_bank() 585 static int svs_sync_bank_volts_from_opp(struct svs_bank *svsb) in svs_sync_bank_volts_from_opp() argument 587 const struct svs_bank_pdata *bdata = &svsb->pdata; in svs_sync_bank_volts_from_opp() 592 opp = dev_pm_opp_find_freq_exact(svsb->opp_dev, in svs_sync_bank_volts_from_opp() 593 svsb->opp_dfreq[i], in svs_sync_bank_volts_from_opp() 596 dev_err(svsb->dev, "cannot find freq = %u (%ld)\n", in svs_sync_bank_volts_from_opp() 597 svsb->opp_dfreq[i], PTR_ERR(opp)); in svs_sync_bank_volts_from_opp() [all …]
|