Lines Matching refs:config_cmd
3463 struct xhci_command *config_cmd; in xhci_alloc_streams() local
3489 config_cmd = xhci_alloc_command_with_ctx(xhci, true, mem_flags); in xhci_alloc_streams()
3490 if (!config_cmd) in xhci_alloc_streams()
3493 ctrl_ctx = xhci_get_input_control_ctx(config_cmd->in_ctx); in xhci_alloc_streams()
3497 xhci_free_command(xhci, config_cmd); in xhci_alloc_streams()
3509 xhci_free_command(xhci, config_cmd); in xhci_alloc_streams()
3516 xhci_free_command(xhci, config_cmd); in xhci_alloc_streams()
3557 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); in xhci_alloc_streams()
3559 xhci_endpoint_copy(xhci, config_cmd->in_ctx, in xhci_alloc_streams()
3567 xhci_setup_input_ctx_for_config_ep(xhci, config_cmd->in_ctx, in xhci_alloc_streams()
3572 ret = xhci_configure_endpoint(xhci, udev, config_cmd, in xhci_alloc_streams()
3590 xhci_free_command(xhci, config_cmd); in xhci_alloc_streams()
3613 xhci_free_command(xhci, config_cmd); in xhci_alloc_streams()
5097 struct xhci_command *config_cmd; in xhci_update_hub_device() local
5114 config_cmd = xhci_alloc_command_with_ctx(xhci, true, mem_flags); in xhci_update_hub_device()
5115 if (!config_cmd) in xhci_update_hub_device()
5118 ctrl_ctx = xhci_get_input_control_ctx(config_cmd->in_ctx); in xhci_update_hub_device()
5122 xhci_free_command(xhci, config_cmd); in xhci_update_hub_device()
5130 xhci_free_command(xhci, config_cmd); in xhci_update_hub_device()
5135 xhci_slot_copy(xhci, config_cmd->in_ctx, vdev->out_ctx); in xhci_update_hub_device()
5137 slot_ctx = xhci_get_slot_ctx(xhci, config_cmd->in_ctx); in xhci_update_hub_device()
5183 ret = xhci_configure_endpoint(xhci, hdev, config_cmd, in xhci_update_hub_device()
5186 ret = xhci_configure_endpoint(xhci, hdev, config_cmd, in xhci_update_hub_device()
5189 xhci_free_command(xhci, config_cmd); in xhci_update_hub_device()