Searched refs:misc_opened (Results 1 – 4 of 4) sorted by relevance
24 unsigned long misc_opened; /* whether the device is open */ member115 if (test_and_set_bit(0, &smo8800->misc_opened)) in smo8800_misc_open()127 clear_bit(0, &smo8800->misc_opened); /* release the device */ in smo8800_misc_release()
51 unsigned long misc_opened; member429 if (!test_bit(0, &sensor_inst->misc_opened)) in hid_sensor_capture_sample()459 if (!test_bit(0, &sensor_inst->misc_opened)) in hid_sensor_send_event()675 clear_bit(0, &sensor_inst->misc_opened); in hid_sensor_custom_release()687 if (test_and_set_bit(0, &sensor_inst->misc_opened)) in hid_sensor_custom_open()
294 unsigned long misc_opened; /* bit0: whether the device is open */ member
480 if (!test_bit(0, &lis3->misc_opened)) in lis302dl_interrupt()568 if (test_and_set_bit(0, &lis3->misc_opened)) in lis3lv02d_misc_open()583 clear_bit(0, &lis3->misc_opened); /* release the device */ in lis3lv02d_misc_release()