Lines Matching defs:command
1016 /* Allocate the (input) device context for address device command */
1113 /* Setup an xHCI virtual device for a Set Address command */
1627 * issue a configure endpoint command.
1652 * issue a configure endpoint command. Only the context entries field matters,
1763 struct xhci_command *command;
1766 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev));
1767 if (!command)
1771 command->completion =
1774 if (!command->completion) {
1775 kfree(command);
1778 init_completion(command->completion);
1781 command->status = 0;
1782 INIT_LIST_HEAD(&command->cmd_list);
1783 return command;
1789 struct xhci_command *command;
1791 command = xhci_alloc_command(xhci, allocate_completion, mem_flags);
1792 if (!command)
1795 command->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT,
1797 if (!command->in_ctx) {
1798 kfree(command->completion);
1799 kfree(command);
1802 return command;
1811 struct xhci_command *command)
1814 command->in_ctx);
1815 kfree(command->completion);
1816 kfree(command);
1882 xhci_dbg_trace(xhci, trace_xhci_dbg_init, "Freed command ring");
1998 /* TRB math checks for xhci_trb_in_td(), using the command and event rings. */
2438 /* init command timeout work */
2491 * however, the command ring segment needs 64-byte aligned segments
2524 /* Set up the command ring to have one segments for now. */
2529 "Allocated command ring at %p", xhci->cmd_ring);
2539 "// Setting command ring address to 0x%016llx", val_64);
2546 /* Reserve one command ring TRB for disabling LPM.