Lines Matching refs:inhibited
373 if (dev->inhibited) in input_handle_event()
620 if (dev->users++ || dev->inhibited) { in input_open_device()
683 if (!dev->inhibited && !--dev->users) { in input_close_device()
1432 return scnprintf(buf, PAGE_SIZE, "%d\n", input_dev->inhibited); in inhibited_show()
1441 bool inhibited; in inhibited_store() local
1443 if (strtobool(buf, &inhibited)) in inhibited_store()
1446 if (inhibited) in inhibited_store()
1457 static DEVICE_ATTR_RW(inhibited);
1753 if (dev->inhibited) in input_inhibit_device()
1768 dev->inhibited = true; in input_inhibit_device()
1781 if (!dev->inhibited) in input_uninhibit_device()
1794 dev->inhibited = false; in input_uninhibit_device()
2232 return !dev->inhibited && dev->users > 0; in input_device_enabled()