iofl               87 drivers/hid/usbhid/hid-core.c 	if (test_bit(HID_IN_POLLING, &usbhid->iofl) &&
iofl               88 drivers/hid/usbhid/hid-core.c 	    !test_bit(HID_DISCONNECTED, &usbhid->iofl) &&
iofl               89 drivers/hid/usbhid/hid-core.c 	    !test_bit(HID_SUSPENDED, &usbhid->iofl) &&
iofl               90 drivers/hid/usbhid/hid-core.c 	    !test_and_set_bit(HID_IN_RUNNING, &usbhid->iofl)) {
iofl               93 drivers/hid/usbhid/hid-core.c 			clear_bit(HID_IN_RUNNING, &usbhid->iofl);
iofl               95 drivers/hid/usbhid/hid-core.c 				set_bit(HID_NO_BANDWIDTH, &usbhid->iofl);
iofl               97 drivers/hid/usbhid/hid-core.c 			clear_bit(HID_NO_BANDWIDTH, &usbhid->iofl);
iofl              123 drivers/hid/usbhid/hid-core.c 	if (test_bit(HID_CLEAR_HALT, &usbhid->iofl)) {
iofl              126 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_CLEAR_HALT, &usbhid->iofl);
iofl              132 drivers/hid/usbhid/hid-core.c 			set_bit(HID_RESET_PENDING, &usbhid->iofl);
iofl              136 drivers/hid/usbhid/hid-core.c 	if (test_bit(HID_RESET_PENDING, &usbhid->iofl)) {
iofl              151 drivers/hid/usbhid/hid-core.c 	if (test_bit(HID_DISCONNECTED, &usbhid->iofl))
iofl              169 drivers/hid/usbhid/hid-core.c 		if (!test_bit(HID_NO_BANDWIDTH, &usbhid->iofl)
iofl              170 drivers/hid/usbhid/hid-core.c 		     && !test_and_set_bit(HID_RESET_PENDING, &usbhid->iofl)) {
iofl              196 drivers/hid/usbhid/hid-core.c 	if (!hid || test_bit(HID_RESET_PENDING, &usbhid->iofl) ||
iofl              197 drivers/hid/usbhid/hid-core.c 			test_bit(HID_SUSPENDED, &usbhid->iofl))
iofl              212 drivers/hid/usbhid/hid-core.c 		if (test_bit(HID_SUSPENDED, &usbhid->iofl)) {
iofl              218 drivers/hid/usbhid/hid-core.c 		set_bit(HID_OUT_RUNNING, &usbhid->iofl);
iofl              220 drivers/hid/usbhid/hid-core.c 			clear_bit(HID_OUT_RUNNING, &usbhid->iofl);
iofl              235 drivers/hid/usbhid/hid-core.c 	if (!hid || test_bit(HID_RESET_PENDING, &usbhid->iofl) ||
iofl              236 drivers/hid/usbhid/hid-core.c 			test_bit(HID_SUSPENDED, &usbhid->iofl))
iofl              251 drivers/hid/usbhid/hid-core.c 		if (test_bit(HID_SUSPENDED, &usbhid->iofl)) {
iofl              257 drivers/hid/usbhid/hid-core.c 		set_bit(HID_CTRL_RUNNING, &usbhid->iofl);
iofl              259 drivers/hid/usbhid/hid-core.c 			clear_bit(HID_CTRL_RUNNING, &usbhid->iofl);
iofl              280 drivers/hid/usbhid/hid-core.c 		if (!test_bit(HID_OPENED, &usbhid->iofl))
iofl              283 drivers/hid/usbhid/hid-core.c 		if (!test_bit(HID_RESUME_RUNNING, &usbhid->iofl)) {
iofl              293 drivers/hid/usbhid/hid-core.c 				set_bit(HID_KEYS_PRESSED, &usbhid->iofl);
iofl              295 drivers/hid/usbhid/hid-core.c 				clear_bit(HID_KEYS_PRESSED, &usbhid->iofl);
iofl              300 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_IN_RUNNING, &usbhid->iofl);
iofl              301 drivers/hid/usbhid/hid-core.c 		set_bit(HID_CLEAR_HALT, &usbhid->iofl);
iofl              307 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_IN_RUNNING, &usbhid->iofl);
iofl              314 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_IN_RUNNING, &usbhid->iofl);
iofl              324 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_IN_RUNNING, &usbhid->iofl);
iofl              466 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_OUT_RUNNING, &usbhid->iofl);
iofl              517 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_CTRL_RUNNING, &usbhid->iofl);
iofl              530 drivers/hid/usbhid/hid-core.c 		test_bit(HID_DISCONNECTED, &usbhid->iofl))
iofl              549 drivers/hid/usbhid/hid-core.c 		if (!test_bit(HID_OUT_RUNNING, &usbhid->iofl)) {
iofl              573 drivers/hid/usbhid/hid-core.c 			if (!test_bit(HID_OUT_RUNNING, &usbhid->iofl))
iofl              600 drivers/hid/usbhid/hid-core.c 	if (!test_bit(HID_CTRL_RUNNING, &usbhid->iofl)) {
iofl              624 drivers/hid/usbhid/hid-core.c 		if (!test_bit(HID_CTRL_RUNNING, &usbhid->iofl))
iofl              647 drivers/hid/usbhid/hid-core.c 				(!test_bit(HID_CTRL_RUNNING, &usbhid->iofl) &&
iofl              648 drivers/hid/usbhid/hid-core.c 				!test_bit(HID_OUT_RUNNING, &usbhid->iofl)),
iofl              687 drivers/hid/usbhid/hid-core.c 	set_bit(HID_OPENED, &usbhid->iofl);
iofl              697 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_OPENED, &usbhid->iofl);
iofl              704 drivers/hid/usbhid/hid-core.c 	set_bit(HID_RESUME_RUNNING, &usbhid->iofl);
iofl              705 drivers/hid/usbhid/hid-core.c 	set_bit(HID_IN_POLLING, &usbhid->iofl);
iofl              715 drivers/hid/usbhid/hid-core.c 			clear_bit(HID_OPENED, &usbhid->iofl);
iofl              716 drivers/hid/usbhid/hid-core.c 			clear_bit(HID_IN_POLLING, &usbhid->iofl);
iofl              732 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_RESUME_RUNNING, &usbhid->iofl);
iofl              751 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_OPENED, &usbhid->iofl);
iofl              753 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_IN_POLLING, &usbhid->iofl);
iofl              788 drivers/hid/usbhid/hid-core.c 		if (test_bit(HID_CTRL_RUNNING, &usbhid->iofl))
iofl              790 drivers/hid/usbhid/hid-core.c 		if (test_bit(HID_OUT_RUNNING, &usbhid->iofl))
iofl             1073 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_DISCONNECTED, &usbhid->iofl);
iofl             1165 drivers/hid/usbhid/hid-core.c 	set_bit(HID_STARTED, &usbhid->iofl);
iofl             1171 drivers/hid/usbhid/hid-core.c 		set_bit(HID_IN_POLLING, &usbhid->iofl);
iofl             1217 drivers/hid/usbhid/hid-core.c 		clear_bit(HID_IN_POLLING, &usbhid->iofl);
iofl             1223 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_STARTED, &usbhid->iofl);
iofl             1225 drivers/hid/usbhid/hid-core.c 	set_bit(HID_DISCONNECTED, &usbhid->iofl);
iofl             1432 drivers/hid/usbhid/hid-core.c 	set_bit(HID_DISCONNECTED, &usbhid->iofl);
iofl             1455 drivers/hid/usbhid/hid-core.c 	int clear_halt = test_bit(HID_CLEAR_HALT, &usbhid->iofl);
iofl             1456 drivers/hid/usbhid/hid-core.c 	int reset_pending = test_bit(HID_RESET_PENDING, &usbhid->iofl);
iofl             1459 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_SUSPENDED, &usbhid->iofl);
iofl             1467 drivers/hid/usbhid/hid-core.c 	if (reset_pending || !test_bit(HID_STARTED, &usbhid->iofl))
iofl             1476 drivers/hid/usbhid/hid-core.c 	if (usbhid->urbout && !test_bit(HID_OUT_RUNNING, &usbhid->iofl))
iofl             1478 drivers/hid/usbhid/hid-core.c 	if (!test_bit(HID_CTRL_RUNNING, &usbhid->iofl))
iofl             1490 drivers/hid/usbhid/hid-core.c 	set_bit(HID_RESET_PENDING, &usbhid->iofl);
iofl             1533 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_RESET_PENDING, &usbhid->iofl);
iofl             1534 drivers/hid/usbhid/hid-core.c 	clear_bit(HID_CLEAR_HALT, &usbhid->iofl);
iofl             1565 drivers/hid/usbhid/hid-core.c 		if (!test_bit(HID_RESET_PENDING, &usbhid->iofl)
iofl             1566 drivers/hid/usbhid/hid-core.c 		    && !test_bit(HID_CLEAR_HALT, &usbhid->iofl)
iofl             1567 drivers/hid/usbhid/hid-core.c 		    && !test_bit(HID_OUT_RUNNING, &usbhid->iofl)
iofl             1568 drivers/hid/usbhid/hid-core.c 		    && !test_bit(HID_CTRL_RUNNING, &usbhid->iofl)
iofl             1569 drivers/hid/usbhid/hid-core.c 		    && !test_bit(HID_KEYS_PRESSED, &usbhid->iofl)
iofl             1572 drivers/hid/usbhid/hid-core.c 			set_bit(HID_SUSPENDED, &usbhid->iofl);
iofl             1592 drivers/hid/usbhid/hid-core.c 		set_bit(HID_SUSPENDED, &usbhid->iofl);
iofl             1601 drivers/hid/usbhid/hid-core.c 	if (PMSG_IS_AUTO(message) && test_bit(HID_KEYS_PRESSED, &usbhid->iofl)) {
iofl               85 drivers/hid/usbhid/usbhid.h 	unsigned long iofl;                                             /* I/O flags (CTRL_RUNNING, OUT_RUNNING) */