Searched refs:gpiod_bat (Results 1 – 1 of 1) sorted by relevance
35 struct gpio_desc *gpiod_bat; member54 if (!bat->gpiod_bat || bat->adc_bat < 0) in tosa_read_bat()58 gpiod_set_value(bat->gpiod_bat, 1); in tosa_read_bat()62 gpiod_set_value(bat->gpiod_bat, 0); in tosa_read_bat()259 .gpiod_bat = NULL,281 .gpiod_bat = NULL,302 .gpiod_bat = NULL,353 tosa_bat_main.gpiod_bat = devm_gpiod_get(dev, "main battery", GPIOD_OUT_LOW); in tosa_bat_probe()354 if (IS_ERR(tosa_bat_main.gpiod_bat)) in tosa_bat_probe()355 return dev_err_probe(dev, PTR_ERR(tosa_bat_main.gpiod_bat), in tosa_bat_probe()[all …]