Searched refs:misc_opened (Results 1 – 4 of 4) sorted by relevance
26 unsigned long misc_opened; /* whether the device is open */ member83 if (test_and_set_bit(0, &smo8800->misc_opened)) in smo8800_misc_open()95 clear_bit(0, &smo8800->misc_opened); /* release the device */ in smo8800_misc_release()
54 unsigned long misc_opened; member433 if (!test_bit(0, &sensor_inst->misc_opened)) in hid_sensor_capture_sample()463 if (!test_bit(0, &sensor_inst->misc_opened)) in hid_sensor_send_event()679 clear_bit(0, &sensor_inst->misc_opened); in hid_sensor_custom_release()691 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
490 if (!test_bit(0, &lis3->misc_opened)) in lis302dl_interrupt()578 if (test_and_set_bit(0, &lis3->misc_opened)) in lis3lv02d_misc_open()593 clear_bit(0, &lis3->misc_opened); /* release the device */ in lis3lv02d_misc_release()