Lines Matching refs:opp_id
99 int opp_id) in k3_avs_program_voltage() argument
101 u32 volt = vd->opps[opp_id].volt; in k3_avs_program_voltage()
107 vd->opp = opp_id; in k3_avs_program_voltage()
150 int k3_avs_set_opp(struct udevice *dev, int vdd_id, int opp_id) in k3_avs_set_opp() argument
159 return k3_avs_program_voltage(priv, vd, opp_id); in k3_avs_set_opp()
165 int opp_id; in match_opp() local
167 for (opp_id = 0; opp_id < NUM_OPPS; opp_id++) { in match_opp()
168 opp = &vd->opps[opp_id]; in match_opp()
170 return opp_id; in match_opp()
191 int opp_id; in k3_avs_notify_freq() local
203 opp_id = match_opp(vd, freq); in k3_avs_notify_freq()
204 if (opp_id < 0) in k3_avs_notify_freq()
205 return opp_id; in k3_avs_notify_freq()
207 vd->opp = opp_id; in k3_avs_notify_freq()
208 return k3_avs_program_voltage(priv, vd, opp_id); in k3_avs_notify_freq()
250 int opp_id; in k3_avs_probe() local
277 for (opp_id = 0; opp_id < NUM_OPPS; opp_id++) { in k3_avs_probe()
278 opp = &vd->opps[opp_id]; in k3_avs_probe()
284 opp_id); in k3_avs_probe()