Lines Matching refs:trb_fields
183 unsigned int *trb_fields) in queue_trb() argument
191 trb->field[i] = cpu_to_le32(trb_fields[i]); in queue_trb()
576 u32 trb_fields[4]; in xhci_bulk_tx() local
696 trb_fields[0] = lower_32_bits(addr); in xhci_bulk_tx()
697 trb_fields[1] = upper_32_bits(addr); in xhci_bulk_tx()
698 trb_fields[2] = length_field; in xhci_bulk_tx()
699 trb_fields[3] = field | (TRB_NORMAL << TRB_TYPE_SHIFT); in xhci_bulk_tx()
701 queue_trb(ctrl, ring, (num_trbs > 1), trb_fields); in xhci_bulk_tx()
760 u32 trb_fields[4]; in xhci_ctrl_tx() local
846 trb_fields[0] = req->requesttype | req->request << 8 | in xhci_ctrl_tx()
848 trb_fields[1] = le16_to_cpu(req->index) | in xhci_ctrl_tx()
851 trb_fields[2] = (8 | ((0 & TRB_INTR_TARGET_MASK) << in xhci_ctrl_tx()
854 trb_fields[3] = field; in xhci_ctrl_tx()
855 queue_trb(ctrl, ep_ring, true, trb_fields); in xhci_ctrl_tx()
878 trb_fields[0] = lower_32_bits(buf_64); in xhci_ctrl_tx()
879 trb_fields[1] = upper_32_bits(buf_64); in xhci_ctrl_tx()
880 trb_fields[2] = length_field; in xhci_ctrl_tx()
881 trb_fields[3] = field | ep_ring->cycle_state; in xhci_ctrl_tx()
884 queue_trb(ctrl, ep_ring, true, trb_fields); in xhci_ctrl_tx()
899 trb_fields[0] = 0; in xhci_ctrl_tx()
900 trb_fields[1] = 0; in xhci_ctrl_tx()
901 trb_fields[2] = ((0 & TRB_INTR_TARGET_MASK) << TRB_INTR_TARGET_SHIFT); in xhci_ctrl_tx()
903 trb_fields[3] = field | TRB_IOC | in xhci_ctrl_tx()
907 queue_trb(ctrl, ep_ring, false, trb_fields); in xhci_ctrl_tx()