Lines Matching refs:slot_id

272 void xhci_queue_command(struct xhci_ctrl *ctrl, u8 *ptr, u32 slot_id,  in xhci_queue_command()  argument
283 fields[3] = TRB_TYPE(cmd) | SLOT_ID_FOR_TRB(slot_id) | in xhci_queue_command()
377 xhci_writel(&ctrl->dba->doorbell[udev->slot_id], in giveback_first_trb()
484 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in reset_ep()
489 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_RESET_EP); in reset_ep()
495 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in reset_ep()
499 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in reset_ep()
505 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in reset_ep()
521 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in abort_td()
525 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_STOP_RING); in abort_td()
532 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in abort_td()
543 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td()
548 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in abort_td()
554 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td()
607 int slot_id = udev->slot_id; in xhci_bulk_tx() local
626 virt_dev = ctrl->devs[slot_id]; in xhci_bulk_tx()
767 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_bulk_tx()
801 int slot_id = udev->slot_id; in xhci_ctrl_tx() local
804 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_ctrl_tx()
959 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_ctrl_tx()
979 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_ctrl_tx()