Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dgpio-fan.c43 struct gpio_desc *alarm_gpio; member
75 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show()
89 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init()
304 if (index == 0 && !data->alarm_gpio) in gpio_fan_is_visible()
421 fan_data->alarm_gpio = devm_gpiod_get_optional(dev, "alarm", GPIOD_IN); in gpio_fan_get_of_data()
422 if (IS_ERR(fan_data->alarm_gpio)) in gpio_fan_get_of_data()
423 return PTR_ERR(fan_data->alarm_gpio); in gpio_fan_get_of_data()
428 if (fan_data->alarm_gpio) in gpio_fan_get_of_data()
536 if (fan_data->alarm_gpio) { in gpio_fan_probe()