Lines Matching +full:0 +full:x0107
13 #define TEST_SE0_NAK_PID 0x0101
14 #define TEST_J_PID 0x0102
15 #define TEST_K_PID 0x0103
16 #define TEST_PACKET_PID 0x0104
17 #define TEST_HS_HOST_PORT_SUSPEND_RESUME 0x0106
18 #define TEST_SINGLE_STEP_GET_DEV_DESC 0x0107
19 #define TEST_SINGLE_STEP_SET_FEATURE 0x0108
29 { USB_DEVICE(0x0424, 0x4502) },
30 { USB_DEVICE(0x0424, 0x4913) },
31 { USB_DEVICE(0x0451, 0x8027) },
37 int ret = 0; in ehset_prepare_port_for_testing()
40 * The USB2.0 spec chapter 11.24.2.13 says that the USB port which is in ehset_prepare_port_for_testing()
47 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_CLEAR_FEATURE, in ehset_prepare_port_for_testing()
49 portnum, NULL, 0, 1000, GFP_KERNEL); in ehset_prepare_port_for_testing()
60 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_prepare_port_for_testing()
62 portnum, NULL, 0, 1000, GFP_KERNEL); in ehset_prepare_port_for_testing()
80 if (ret < 0) in ehset_probe()
82 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_probe()
85 NULL, 0, 1000, GFP_KERNEL); in ehset_probe()
89 if (ret < 0) in ehset_probe()
91 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_probe()
93 (USB_TEST_J << 8) | portnum, NULL, 0, in ehset_probe()
98 if (ret < 0) in ehset_probe()
100 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_probe()
102 (USB_TEST_K << 8) | portnum, NULL, 0, in ehset_probe()
107 if (ret < 0) in ehset_probe()
109 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_probe()
112 NULL, 0, 1000, GFP_KERNEL); in ehset_probe()
117 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_probe()
119 portnum, NULL, 0, 1000, GFP_KERNEL); in ehset_probe()
120 if (ret < 0) in ehset_probe()
124 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_CLEAR_FEATURE, in ehset_probe()
126 portnum, NULL, 0, 1000, GFP_KERNEL); in ehset_probe()
132 ret = usb_control_msg_recv(dev, 0, USB_REQ_GET_DESCRIPTOR, in ehset_probe()
133 USB_DIR_IN, USB_DT_DEVICE << 8, 0, in ehset_probe()
150 ret = usb_control_msg_send(hub_udev, 0, USB_REQ_SET_FEATURE, in ehset_probe()
152 (6 << 8) | portnum, NULL, 0, in ehset_probe()
157 dev_err(&intf->dev, "%s: unsupported PID: 0x%x\n", in ehset_probe()
169 { USB_DEVICE(0x1a0a, TEST_SE0_NAK_PID) },
170 { USB_DEVICE(0x1a0a, TEST_J_PID) },
171 { USB_DEVICE(0x1a0a, TEST_K_PID) },
172 { USB_DEVICE(0x1a0a, TEST_PACKET_PID) },
173 { USB_DEVICE(0x1a0a, TEST_HS_HOST_PORT_SUSPEND_RESUME) },
174 { USB_DEVICE(0x1a0a, TEST_SINGLE_STEP_GET_DEV_DESC) },
175 { USB_DEVICE(0x1a0a, TEST_SINGLE_STEP_SET_FEATURE) },