Lines Matching refs:buck_gpios
37 int buck_gpios[3]; member
274 gpio_set_value(s5m8767->buck_gpios[0], (temp_index >> 2) & 0x1); in s5m8767_set_high()
275 gpio_set_value(s5m8767->buck_gpios[1], (temp_index >> 1) & 0x1); in s5m8767_set_high()
276 gpio_set_value(s5m8767->buck_gpios[2], temp_index & 0x1); in s5m8767_set_high()
285 gpio_set_value(s5m8767->buck_gpios[2], temp_index & 0x1); in s5m8767_set_low()
286 gpio_set_value(s5m8767->buck_gpios[1], (temp_index >> 1) & 0x1); in s5m8767_set_low()
287 gpio_set_value(s5m8767->buck_gpios[0], (temp_index >> 2) & 0x1); in s5m8767_set_low()
501 pdata->buck_gpios[i] = gpio; in s5m8767_pmic_dt_parse_dvs_gpio()
743 s5m8767->buck_gpios[0] = pdata->buck_gpios[0]; in s5m8767_pmic_probe()
744 s5m8767->buck_gpios[1] = pdata->buck_gpios[1]; in s5m8767_pmic_probe()
745 s5m8767->buck_gpios[2] = pdata->buck_gpios[2]; in s5m8767_pmic_probe()
800 if (!gpio_is_valid(pdata->buck_gpios[0]) || in s5m8767_pmic_probe()
801 !gpio_is_valid(pdata->buck_gpios[1]) || in s5m8767_pmic_probe()
802 !gpio_is_valid(pdata->buck_gpios[2])) { in s5m8767_pmic_probe()
807 ret = devm_gpio_request(&pdev->dev, pdata->buck_gpios[0], in s5m8767_pmic_probe()
812 ret = devm_gpio_request(&pdev->dev, pdata->buck_gpios[1], in s5m8767_pmic_probe()
817 ret = devm_gpio_request(&pdev->dev, pdata->buck_gpios[2], in s5m8767_pmic_probe()
823 gpio_direction_output(pdata->buck_gpios[0], in s5m8767_pmic_probe()
826 gpio_direction_output(pdata->buck_gpios[1], in s5m8767_pmic_probe()
829 gpio_direction_output(pdata->buck_gpios[2], in s5m8767_pmic_probe()