Searched refs:misc_opened (Results 1 – 3 of 3) sorted by relevance
59 unsigned long misc_opened; member441 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()
308 unsigned long misc_opened; /* bit0: whether the device is open */ member
501 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()