Searched refs:watched_lines (Results 1 – 1 of 1) sorted by relevance
2202 unsigned long *watched_lines; member2257 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1()2266 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1()2295 if (test_and_set_bit(lineinfo.offset, cdev->watched_lines)) in lineinfo_get()2302 clear_bit(lineinfo.offset, cdev->watched_lines); in lineinfo_get()2319 if (!test_and_clear_bit(offset, cdev->watched_lines)) in lineinfo_unwatch()2387 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()2516 cdev->watched_lines = bitmap_zalloc(gdev->chip->ngpio, GFP_KERNEL); in gpio_chrdev_open()2517 if (!cdev->watched_lines) in gpio_chrdev_open()2543 bitmap_free(cdev->watched_lines); in gpio_chrdev_open()[all …]