Searched refs:button_gpiod (Results 1 – 1 of 1) sorted by relevance
64 struct gpio_desc *button_gpiod; member117 int val = gpiod_get_value_cansleep(as5011->button_gpiod); in as5011_button_interrupt()264 as5011->button_gpiod = devm_gpiod_get(&client->dev, NULL, GPIOD_IN); in as5011_probe()265 if (IS_ERR(as5011->button_gpiod)) { in as5011_probe()266 error = PTR_ERR(as5011->button_gpiod); in as5011_probe()270 gpiod_set_consumer_name(as5011->button_gpiod, "AS5011 button"); in as5011_probe()272 irq = gpiod_to_irq(as5011->button_gpiod); in as5011_probe()
Completed in 8 milliseconds