Lines Matching refs:generic
86 return TRB_TYPE_NOOP_LE32(trb->generic.field[3]); in trb_is_noop()
130 trb->generic.field[0] = 0; in trb_to_noop()
131 trb->generic.field[1] = 0; in trb_to_noop()
132 trb->generic.field[2] = 0; in trb_to_noop()
134 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in trb_to_noop()
135 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); in trb_to_noop()
224 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
733 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in td_to_noop()
1077 if (unlikely(TRB_TO_SUSPEND_PORT(le32_to_cpu(trb->generic.field[3])))) { in xhci_handle_cmd_stop_ep()
1084 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); in xhci_handle_cmd_stop_ep()
1372 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); in xhci_handle_cmd_set_deq()
1373 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
1477 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); in xhci_handle_cmd_reset_ep()
1502 if ((le32_to_cpu(trb->generic.field[3])) & TRB_TSP) in xhci_handle_cmd_reset_ep()
1726 trace_xhci_handle_command(xhci->cmd_ring, &cmd_trb->generic); in handle_cmd_completion()
1773 cmd_type = TRB_FIELD_TO_TYPE(le32_to_cpu(cmd_trb->generic.field[3])); in handle_cmd_completion()
1792 le32_to_cpu(cmd_trb->generic.field[3]))); in handle_cmd_completion()
1799 le32_to_cpu(cmd_trb->generic.field[3]))); in handle_cmd_completion()
1809 le32_to_cpu(cmd_trb->generic.field[3]))); in handle_cmd_completion()
1817 le32_to_cpu(cmd_trb->generic.field[3])); in handle_cmd_completion()
1858 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->generic.field[3])); in handle_device_notification()
1915 if (GET_COMP_CODE(le32_to_cpu(event->generic.field[2])) != COMP_SUCCESS) in handle_port_status()
1919 port_id = GET_PORT_ID(le32_to_cpu(event->generic.field[0])); in handle_port_status()
2305 sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); in sum_trb_lengths()
2322 trb_type = TRB_FIELD_TO_TYPE(le32_to_cpu(ep_trb->generic.field[3])); in process_ctrl_td()
2427 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_isoc_td()
2531 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_bulk_intr_td()
3002 trace_xhci_handle_event(xhci->event_ring, &event->generic); in xhci_handle_event()
3197 trb = &ring->enqueue->generic; in queue_trb()
3647 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx()
3802 start_trb = &ep_ring->enqueue->generic; in xhci_queue_ctrl_tx()
4078 start_trb = &ep_ring->enqueue->generic; in xhci_queue_isoc_tx()