Lines Matching full:setup
208 struct devrequest *setup) in sandbox_hub_submit_control_msg() argument
214 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
216 switch (setup->request) { in sandbox_hub_submit_control_msg()
228 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
229 setup->request); in sandbox_hub_submit_control_msg()
233 switch (setup->request) { in sandbox_hub_submit_control_msg()
238 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
248 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()
252 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
254 switch (setup->request) { in sandbox_hub_submit_control_msg()
258 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
260 port, setup->value); in sandbox_hub_submit_control_msg()
261 if (setup->value < USB_PORT_FEAT_C_CONNECTION) { in sandbox_hub_submit_control_msg()
263 1 << setup->value); in sandbox_hub_submit_control_msg()
272 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
274 port, setup->value); in sandbox_hub_submit_control_msg()
275 if (setup->value < USB_PORT_FEAT_C_CONNECTION) { in sandbox_hub_submit_control_msg()
277 1 << setup->value, 0); in sandbox_hub_submit_control_msg()
280 (setup->value - 16); in sandbox_hub_submit_control_msg()
287 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
288 setup->request); in sandbox_hub_submit_control_msg()
293 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()