Lines Matching refs:cfg_cmd
3235 struct xhci_command *stop_cmd, *cfg_cmd; in xhci_endpoint_reset() local
3279 cfg_cmd = xhci_alloc_command_with_ctx(xhci, true, GFP_NOWAIT); in xhci_endpoint_reset()
3280 if (!cfg_cmd) in xhci_endpoint_reset()
3297 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3305 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3319 ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); in xhci_endpoint_reset()
3322 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3328 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset()
3330 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset()
3332 err = xhci_queue_configure_endpoint(xhci, cfg_cmd, cfg_cmd->in_ctx->dma, in xhci_endpoint_reset()
3336 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3345 wait_for_completion(cfg_cmd->completion); in xhci_endpoint_reset()
3347 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()