Lines Matching +full:suspend +full:- +full:in +full:- +full:wait
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
41 * going under test needs to be put in suspend before sending the in ehset_prepare_port_for_testing()
51 * Wait for the port to be disabled. It's an arbitrary value in ehset_prepare_port_for_testing()
58 * put the port in SUSPEND. in ehset_prepare_port_for_testing()
70 int ret = -EINVAL; in ehset_probe()
72 struct usb_device *hub_udev = dev->parent; in ehset_probe()
74 u8 portnum = dev->portnum; in ehset_probe()
75 u16 test_pid = le16_to_cpu(dev->descriptor.idProduct); in ehset_probe()
115 /* Test: wait for 15secs -> suspend -> 15secs delay -> resume */ in ehset_probe()
129 /* Test: wait for 15secs -> GetDescriptor request */ in ehset_probe()
139 * GetDescriptor SETUP request -> 15secs delay -> IN & STATUS in ehset_probe()
145 if (hub_udev != dev->bus->root_hub) { in ehset_probe()
146 dev_err(&intf->dev, "SINGLE_STEP_SET_FEATURE test only supported on root hub\n"); in ehset_probe()
157 dev_err(&intf->dev, "%s: unsupported PID: 0x%x\n", in ehset_probe()