Lines Matching refs:watched_lines
2541 unsigned long *watched_lines; member
2596 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1()
2605 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1()
2634 if (test_and_set_bit(lineinfo.offset, cdev->watched_lines)) in lineinfo_get()
2642 clear_bit(lineinfo.offset, cdev->watched_lines); in lineinfo_get()
2659 if (!test_and_clear_bit(offset, cdev->watched_lines)) in lineinfo_unwatch()
2730 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()
2900 cdev->watched_lines = bitmap_zalloc(gdev->chip->ngpio, GFP_KERNEL); in gpio_chrdev_open()
2901 if (!cdev->watched_lines) in gpio_chrdev_open()
2939 bitmap_free(cdev->watched_lines); in gpio_chrdev_open()
2962 bitmap_free(cdev->watched_lines); in gpio_chrdev_release()