Home
last modified time | relevance | path

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

/external/u-boot/drivers/power/regulator/
Dmax77686.c72 int hex_max = 0; in max77686_buck_volt2hex() local
80 hex_max = MAX77686_BUCK234_VOLT_MAX_HEX; in max77686_buck_volt2hex()
91 hex_max = MAX77686_BUCK_VOLT_MAX_HEX; in max77686_buck_volt2hex()
95 if (hex >= 0 && hex <= hex_max) in max77686_buck_volt2hex()
105 int hex_max = 0; in max77686_buck_hex2volt() local
114 hex_max = MAX77686_BUCK234_VOLT_MAX_HEX; in max77686_buck_hex2volt()
115 if (hex > hex_max) in max77686_buck_hex2volt()
122 hex_max = MAX77686_BUCK_VOLT_MAX_HEX; in max77686_buck_hex2volt()
123 if (hex > hex_max) in max77686_buck_hex2volt()