Home
last modified time | relevance | path

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

/linux-6.1.9/tools/gpio/
Dgpio-event-mon.c175 unsigned long debounce_period_us = 0; in main() local
196 debounce_period_us = strtoul(optarg, NULL, 10); in main()
222 if (debounce_period_us) { in main()
228 config.attrs[attr].attr.debounce_period_us = debounce_period_us; in main()
Dlsgpio.c97 info->attrs[0].debounce_period_us); in print_attributes()
/linux-6.1.9/drivers/gpio/
Dgpiolib-cdev.c715 usecs_to_jiffies(READ_ONCE(line->desc->debounce_period_us))); in process_hw_ts()
856 usecs_to_jiffies(READ_ONCE(line->desc->debounce_period_us))); in debounce_irq_handler()
930 static int debounce_setup(struct line *line, unsigned int debounce_period_us) in debounce_setup() argument
936 ret = gpiod_set_debounce(line->desc, debounce_period_us); in debounce_setup()
938 WRITE_ONCE(line->desc->debounce_period_us, debounce_period_us); in debounce_setup()
944 if (debounce_period_us) { in debounce_setup()
997 return lc->attrs[i].attr.debounce_period_us; in gpio_v2_line_config_debounce_period()
1018 WRITE_ONCE(line->desc->debounce_period_us, 0); in edge_detector_stop()
1026 u32 debounce_period_us; in edge_detector_setup() local
1039 debounce_period_us = gpio_v2_line_config_debounce_period(lc, line_idx); in edge_detector_setup()
[all …]
Dgpiolib.h180 unsigned int debounce_period_us; member
Dgpiolib.c2062 WRITE_ONCE(desc->debounce_period_us, 0); in gpiod_free_commit()
/linux-6.1.9/include/uapi/linux/
Dgpio.h136 __u32 debounce_period_us; member