Searched refs:misc_opened (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/platform/x86/dell/
H A Ddell-smo8800.c26 unsigned long misc_opened; /* whether the device is open */ member in struct:smo8800_device
83 if (test_and_set_bit(0, &smo8800->misc_opened))
95 clear_bit(0, &smo8800->misc_opened); /* release the device */
/linux-master/drivers/hid/
H A Dhid-sensor-custom.c54 unsigned long misc_opened; member in struct:hid_sensor_custom
434 if (!test_bit(0, &sensor_inst->misc_opened))
464 if (!test_bit(0, &sensor_inst->misc_opened))
680 clear_bit(0, &sensor_inst->misc_opened);
692 if (test_and_set_bit(0, &sensor_inst->misc_opened))
/linux-master/drivers/misc/lis3lv02d/
H A Dlis3lv02d.h294 unsigned long misc_opened; /* bit0: whether the device is open */ member in struct:lis3lv02d
H A Dlis3lv02d.c490 if (!test_bit(0, &lis3->misc_opened))
578 if (test_and_set_bit(0, &lis3->misc_opened))
593 clear_bit(0, &lis3->misc_opened); /* release the device */

Completed in 146 milliseconds