Lines Matching refs:setup
205 struct devrequest *setup) in sandbox_hub_submit_control_msg() argument
211 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
213 switch (setup->request) { in sandbox_hub_submit_control_msg()
225 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
226 setup->request); in sandbox_hub_submit_control_msg()
230 switch (setup->request) { in sandbox_hub_submit_control_msg()
235 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
245 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()
249 switch (setup->requesttype) { in sandbox_hub_submit_control_msg()
251 switch (setup->request) { in sandbox_hub_submit_control_msg()
255 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
257 port, setup->value); in sandbox_hub_submit_control_msg()
258 if (setup->value < USB_PORT_FEAT_C_CONNECTION) { in sandbox_hub_submit_control_msg()
260 1 << setup->value); in sandbox_hub_submit_control_msg()
269 port = (setup->index & USB_HUB_PORT_MASK) - 1; in sandbox_hub_submit_control_msg()
271 port, setup->value); in sandbox_hub_submit_control_msg()
272 if (setup->value < USB_PORT_FEAT_C_CONNECTION) { in sandbox_hub_submit_control_msg()
274 1 << setup->value, 0); in sandbox_hub_submit_control_msg()
277 (setup->value - 16); in sandbox_hub_submit_control_msg()
284 __func__, setup->requesttype, in sandbox_hub_submit_control_msg()
285 setup->request); in sandbox_hub_submit_control_msg()
290 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()