Searched refs:voltage_reg (Results 1 – 4 of 4) sorted by relevance
383 } voltage_reg; in voltage_adjust() local389 voltage_reg.u32 = 0; in voltage_adjust()390 voltage_reg.bits.voltage_core = *core_volt; in voltage_adjust()392 writel(voltage_reg.u32, VOLTAGE_RECOED_REG); in voltage_adjust()504 } voltage_reg; in end_svb() local506 voltage_reg.u32 = 0; in end_svb()507 voltage_reg.u32 = readl(VOLTAGE_RECOED_REG); in end_svb()508 core_volt = voltage_reg.bits.voltage_core; in end_svb()
423 } voltage_reg; in voltage_adjust() local439 voltage_reg.u32 = 0; in voltage_adjust()440 voltage_reg.bits.voltage_core = *core_volt; in voltage_adjust()441 voltage_reg.bits.voltage_cpu = *cpu_volt; in voltage_adjust()443 writel(voltage_reg.u32, VOLTAGE_RECOED_REG); in voltage_adjust()593 } voltage_reg; in end_svb() local595 voltage_reg.u32 = 0; in end_svb()596 voltage_reg.u32 = readl(VOLTAGE_RECOED_REG); in end_svb()597 core_volt = voltage_reg.bits.voltage_core; in end_svb()
442 } voltage_reg; in voltage_check() local450 voltage_reg.u32 = 0; in voltage_check()451 voltage_reg.bits.voltage_core = (unsigned int)*pcore_mv; in voltage_check()452 voltage_reg.bits.voltage_cpu = (unsigned int)*pcpu_mv; in voltage_check()453 voltage_reg.bits.delta_core = (unsigned int)core_delta_mv; in voltage_check()455 writel(voltage_reg.u32, VOLTAGE_RECOED_REG); in voltage_check()