Searched refs:watched_lines (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib-cdev.c | 1984 unsigned long *watched_lines; member 2039 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1() 2048 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1() 2077 if (test_and_set_bit(lineinfo.offset, cdev->watched_lines)) in lineinfo_get() 2084 clear_bit(lineinfo.offset, cdev->watched_lines); in lineinfo_get() 2101 if (!test_and_clear_bit(offset, cdev->watched_lines)) in lineinfo_unwatch() 2169 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify() 2304 cdev->watched_lines = bitmap_zalloc(gdev->chip->ngpio, GFP_KERNEL); in gpio_chrdev_open() 2305 if (!cdev->watched_lines) in gpio_chrdev_open() 2331 bitmap_free(cdev->watched_lines); in gpio_chrdev_open() [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpiolib-cdev.c | 2362 unsigned long *watched_lines; member 2417 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1() 2426 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1() 2455 if (test_and_set_bit(lineinfo.offset, cdev->watched_lines)) in lineinfo_get() 2462 clear_bit(lineinfo.offset, cdev->watched_lines); in lineinfo_get() 2479 if (!test_and_clear_bit(offset, cdev->watched_lines)) in lineinfo_unwatch() 2550 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify() 2719 cdev->watched_lines = bitmap_zalloc(gdev->chip->ngpio, GFP_KERNEL); in gpio_chrdev_open() 2720 if (!cdev->watched_lines) in gpio_chrdev_open() 2758 bitmap_free(cdev->watched_lines); in gpio_chrdev_open() [all...] |
Completed in 7 milliseconds