Home
last modified time | relevance | path

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

/drivers/hwmon/
Dgpio-fan.c44 struct gpio_desc *alarm_gpio; member
76 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show()
90 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()
305 if (index == 0 && !data->alarm_gpio) in gpio_fan_is_visible()
419 fan_data->alarm_gpio = devm_gpiod_get_optional(dev, "alarm", GPIOD_IN); in gpio_fan_get_of_data()
420 if (IS_ERR(fan_data->alarm_gpio)) in gpio_fan_get_of_data()
421 return PTR_ERR(fan_data->alarm_gpio); in gpio_fan_get_of_data()
426 if (fan_data->alarm_gpio) in gpio_fan_get_of_data()
534 if (fan_data->alarm_gpio) { in gpio_fan_probe()