Home
last modified time | relevance | path

Searched refs:misc_opened (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/hid/
Dhid-sensor-custom.c59 unsigned long misc_opened; member
441 if (!test_bit(0, &sensor_inst->misc_opened)) in hid_sensor_capture_sample()
471 if (!test_bit(0, &sensor_inst->misc_opened)) in hid_sensor_send_event()
687 clear_bit(0, &sensor_inst->misc_opened); in hid_sensor_custom_release()
699 if (test_and_set_bit(0, &sensor_inst->misc_opened)) in hid_sensor_custom_open()
/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d.h308 unsigned long misc_opened; /* bit0: whether the device is open */ member
Dlis3lv02d.c501 if (!test_bit(0, &lis3->misc_opened)) in lis302dl_interrupt()
589 if (test_and_set_bit(0, &lis3->misc_opened)) in lis3lv02d_misc_open()
604 clear_bit(0, &lis3->misc_opened); /* release the device */ in lis3lv02d_misc_release()