Lines Matching refs:setup
206 struct devrequest *setup) in sandbox_hub_submit_control_msg() argument
212 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
214 switch (setup->request) { in sandbox_hub_submit_control_msg()
226 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
227 setup->request); in sandbox_hub_submit_control_msg()
231 switch (setup->request) { in sandbox_hub_submit_control_msg()
236 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
246 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()
250 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
252 switch (setup->request) { in sandbox_hub_submit_control_msg()
256 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
258 port, setup->value); in sandbox_hub_submit_control_msg()
259 if (setup->value < USB_PORT_FEAT_C_CONNECTION) { in sandbox_hub_submit_control_msg()
261 1 << setup->value); in sandbox_hub_submit_control_msg()
270 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
272 port, setup->value); in sandbox_hub_submit_control_msg()
273 if (setup->value < USB_PORT_FEAT_C_CONNECTION) { in sandbox_hub_submit_control_msg()
275 1 << setup->value, 0); in sandbox_hub_submit_control_msg()
278 (setup->value - 16); in sandbox_hub_submit_control_msg()
285 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
286 setup->request); in sandbox_hub_submit_control_msg()
291 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()