Lines Matching refs:handled
209 int handled = 1; in ep0_get_status() local
230 handled = 0; in ep0_get_status()
238 handled = -EINVAL; in ep0_get_status()
246 handled = -EINVAL; in ep0_get_status()
255 handled = 0; in ep0_get_status()
259 if (handled > 0) { in ep0_get_status()
271 handled = ret; in ep0_get_status()
273 return handled; in ep0_get_status()
279 int handled = 1; in handle_test_mode() local
300 handled = -EINVAL; in handle_test_mode()
322 return handled; in handle_test_mode()
329 int handled = -EINVAL; in ep0_handle_feature_dev() local
335 handled = 1; in ep0_handle_feature_dev()
342 handled = handle_test_mode(mtu, setup); in ep0_handle_feature_dev()
357 handled = 1; in ep0_handle_feature_dev()
372 handled = 1; in ep0_handle_feature_dev()
375 handled = -EINVAL; in ep0_handle_feature_dev()
378 return handled; in ep0_handle_feature_dev()
385 int handled = -EINVAL; in ep0_handle_feature() local
396 handled = ep0_handle_feature_dev(mtu, setup, set); in ep0_handle_feature()
404 handled = 0; in ep0_handle_feature()
418 handled = 1; in ep0_handle_feature()
427 handled = 0; in ep0_handle_feature()
430 return handled; in ep0_handle_feature()
445 int handled = -EINVAL; in handle_standard_request() local
468 handled = 1; in handle_standard_request()
483 handled = 0; in handle_standard_request()
486 handled = ep0_handle_feature(mtu, setup, 0); in handle_standard_request()
489 handled = ep0_handle_feature(mtu, setup, 1); in handle_standard_request()
492 handled = ep0_get_status(mtu, setup); in handle_standard_request()
495 handled = ep0_set_sel(mtu, setup); in handle_standard_request()
498 handled = 1; in handle_standard_request()
502 handled = 0; in handle_standard_request()
505 return handled; in handle_standard_request()
643 int handled = 0; in ep0_handle_setup() local
649 handled = handle_standard_request(mtu, &setup); in ep0_handle_setup()
652 handled, decode_ep0_state(mtu)); in ep0_handle_setup()
654 if (handled < 0) in ep0_handle_setup()
656 else if (handled > 0) in ep0_handle_setup()
659 handled = forward_to_driver(mtu, &setup); in ep0_handle_setup()
660 if (handled < 0) { in ep0_handle_setup()
662 dev_dbg(mtu->dev, "%s stall (%d)\n", __func__, handled); in ep0_handle_setup()
673 } else if (handled == USB_GADGET_DELAYED_STATUS) { in ep0_handle_setup()