Searched refs:misc_opened (Results 1 – 4 of 4) sorted by relevance
33 unsigned long misc_opened; /* whether the device is open */ member125 if (test_and_set_bit(0, &smo8800->misc_opened)) in smo8800_misc_open()137 clear_bit(0, &smo8800->misc_opened); /* release the device */ in smo8800_misc_release()
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()
307 unsigned long misc_opened; /* bit0: whether the device is open */ member
492 if (!test_bit(0, &lis3->misc_opened)) in lis302dl_interrupt()580 if (test_and_set_bit(0, &lis3->misc_opened)) in lis3lv02d_misc_open()595 clear_bit(0, &lis3->misc_opened); /* release the device */ in lis3lv02d_misc_release()