Searched refs:gpio_detect (Results 1 – 2 of 2) sorted by relevance
208 struct gpio_desc *gpio_detect; member914 if (chip->gpio_detect) { in sbs_get_property()915 ret = gpiod_get_value_cansleep(chip->gpio_detect); in sbs_get_property()1011 if (!chip->gpio_detect && chip->is_present != (ret >= 0)) { in sbs_get_property()1042 ret = gpiod_get_value_cansleep(chip->gpio_detect); in sbs_supply_changed()1168 chip->gpio_detect = devm_gpiod_get_optional(&client->dev, in sbs_probe()1170 if (IS_ERR(chip->gpio_detect)) in sbs_probe()1171 return dev_err_probe(&client->dev, PTR_ERR(chip->gpio_detect), in sbs_probe()1176 if (!chip->gpio_detect) in sbs_probe()1179 irq = gpiod_to_irq(chip->gpio_detect); in sbs_probe()[all …]
46 int gpio_detect; member60 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()237 cf->gpio_detect = *prop; in electra_cf_probe()