Lines Matching +full:2200 +full:mv
448 static int menelaus_set_voltage(const struct menelaus_vtg *vtg, int mV, in menelaus_set_voltage() argument
463 "to %d mV (reg 0x%02x, val 0x%02x)\n", in menelaus_set_voltage()
464 vtg->name, mV, vtg->vtg_reg, val); in menelaus_set_voltage()
535 dev_dbg(&c->dev, "Setting VCORE FLOOR to %d mV and ROOF to %d mV\n", in menelaus_set_vcore_hw()
573 int menelaus_set_vmem(unsigned int mV) in menelaus_set_vmem() argument
577 if (mV == 0) in menelaus_set_vmem()
580 val = menelaus_get_vtg_value(mV, vmem_values, ARRAY_SIZE(vmem_values)); in menelaus_set_vmem()
583 return menelaus_set_voltage(&vmem_vtg, mV, val, 0x02); in menelaus_set_vmem()
602 int menelaus_set_vio(unsigned int mV) in menelaus_set_vio() argument
606 if (mV == 0) in menelaus_set_vio()
609 val = menelaus_get_vtg_value(mV, vio_values, ARRAY_SIZE(vio_values)); in menelaus_set_vio()
612 return menelaus_set_voltage(&vio_vtg, mV, val, 0x02); in menelaus_set_vio()
620 { 2200, 3 },
643 int menelaus_set_vdcdc(int dcdc, unsigned int mV) in menelaus_set_vdcdc() argument
655 if (mV == 0) in menelaus_set_vdcdc()
658 val = menelaus_get_vtg_value(mV, vdcdc_values, in menelaus_set_vdcdc()
662 return menelaus_set_voltage(vtg, mV, val, 0x03); in menelaus_set_vdcdc()
680 int menelaus_set_vmmc(unsigned int mV) in menelaus_set_vmmc() argument
684 if (mV == 0) in menelaus_set_vmmc()
687 val = menelaus_get_vtg_value(mV, vmmc_values, ARRAY_SIZE(vmmc_values)); in menelaus_set_vmmc()
690 return menelaus_set_voltage(&vmmc_vtg, mV, val, 0x02); in menelaus_set_vmmc()
710 int menelaus_set_vaux(unsigned int mV) in menelaus_set_vaux() argument
714 if (mV == 0) in menelaus_set_vaux()
717 val = menelaus_get_vtg_value(mV, vaux_values, ARRAY_SIZE(vaux_values)); in menelaus_set_vaux()
720 return menelaus_set_voltage(&vaux_vtg, mV, val, 0x02); in menelaus_set_vaux()