Home
last modified time | relevance | path

Searched refs:vid_current (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/board/freescale/t4qds/
H A Dt4240qds.c211 u8 vid, vid_current; in adjust_vdd() local
294 vid_current = QIXIS_READ(brdcfg[6]); in adjust_vdd()
295 vdd_current = 121250 - (vid_current - 0x40) * 625; in adjust_vdd()
297 vid_current, vdd_current/100); in adjust_vdd()
315 while (vdd_last > 0 && vid_current < 0x80 && in adjust_vdd()
317 vid_current++; in adjust_vdd()
318 vdd_last = set_voltage(vid_current); in adjust_vdd()
324 while (vdd_last > 0 && vid_current >= 0x40 && in adjust_vdd()
326 vid_current--; in adjust_vdd()
327 vdd_last = set_voltage(vid_current); in adjust_vdd()