Lines Matching defs:flags
118 return ((le32_to_cpu(ring->dequeue->event_cmd.flags) & TRB_CYCLE) ==
434 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags)
481 spin_unlock_irqrestore(&xhci->lock, flags);
484 spin_lock_irqsave(&xhci->lock, flags);
955 if (ep->vdev->flags & VDEV_PORT_ERROR)
1611 unsigned long flags;
1619 spin_lock_irqsave(&xhci->lock, flags);
1626 spin_unlock_irqrestore(&xhci->lock, flags);
1665 xhci_abort_cmd_ring(xhci, flags);
1682 spin_unlock_irqrestore(&xhci->lock, flags);
1689 unsigned int slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags));
1940 xhci->devs[port->slot_id]->flags |= VDEV_PORT_ERROR;
1976 set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
2046 set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
2595 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags));
2596 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1;
2735 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
2743 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
2800 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
2971 le32_to_cpu(event->flags));
2988 * speculative reads of the event's flags/data below.
2991 trb_type = TRB_FIELD_TO_TYPE(le32_to_cpu(event->event_cmd.flags));