Lines Matching refs:vdd
403 int vdd; in get_core_volt_from_fuse() local
419 vdd = -EINVAL; in get_core_volt_from_fuse()
423 vdd = 900; in get_core_volt_from_fuse()
426 vdd = 1000; in get_core_volt_from_fuse()
429 vdd = -EINVAL; in get_core_volt_from_fuse()
433 debug("%s: The required minimum volt of CORE is %dmV\n", __func__, vdd); in get_core_volt_from_fuse()
435 return vdd; in get_core_volt_from_fuse()
531 int vdd; in get_core_volt_from_fuse() local
546 vdd = -EINVAL; in get_core_volt_from_fuse()
550 vdd = 900; in get_core_volt_from_fuse()
553 vdd = 1000; in get_core_volt_from_fuse()
556 vdd = -EINVAL; in get_core_volt_from_fuse()
560 debug("%s: The required minimum volt of CORE is %dmV\n", __func__, vdd); in get_core_volt_from_fuse()
562 return vdd; in get_core_volt_from_fuse()
565 __weak int board_switch_core_volt(u32 vdd) in board_switch_core_volt() argument
570 static int setup_core_volt(u32 vdd) in setup_core_volt() argument
572 return board_setup_core_volt(vdd); in setup_core_volt()
594 int vdd; in setup_chip_volt() local
596 vdd = get_core_volt_from_fuse(); in setup_chip_volt()
598 if (vdd < 0) in setup_chip_volt()
599 return vdd; in setup_chip_volt()
601 if (setup_core_volt(vdd)) in setup_chip_volt()
602 printf("%s: Switch core VDD to %dmV failed\n", __func__, vdd); in setup_chip_volt()
604 if (setup_serdes_volt(vdd)) in setup_chip_volt()
605 printf("%s: Switch SVDD to %dmV failed\n", __func__, vdd); in setup_chip_volt()
609 if (vdd == 900) in setup_chip_volt()