Searched refs:gpio_level (Results 1 – 1 of 1) sorted by relevance
478 int ret, gpio_level; in rk808_buck1_2_set_voltage_sel() local483 gpio_level = gpiod_get_value(gpio); in rk808_buck1_2_set_voltage_sel()484 if (gpio_level == 0) { in rk808_buck1_2_set_voltage_sel()503 gpiod_set_value(gpio, !gpio_level); in rk808_buck1_2_set_voltage_sel()