Lines Matching refs:voltage
390 struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t voltage)
401 /* find first voltage equal or bigger than requested */
402 if (lookup_table->entries[i].us_vdd >= voltage)
405 /* voltage is bigger than max voltage in the table */
410 uint32_t voltage)
421 /* find first voltage bigger than requested */
422 if (voltage_table->entries[i].value >= voltage)
426 /* voltage is bigger than max voltage in the table */
471 /* search for leakage voltage ID 0xff01 ~ 0xff08 and sckl */
479 pr_debug("Can't find requested voltage id in vdd_dep_on_sclk table\n");
579 " found a available voltage in VDDC DPM Table \n");
583 uint32_t sclk, uint16_t id, uint16_t *voltage)
589 ret = atomctrl_get_voltage_evv(hwmgr, id, voltage);
591 ret = atomctrl_get_voltage_evv_on_sclk(hwmgr, voltage_type, sclk, id, voltage);
592 if (*voltage >= 2000 || *voltage == 0)
593 *voltage = 1150;
596 *voltage = (uint16_t)(vol/100);