Lines Matching refs:le32_to_cpu

66 		return le32_to_cpu(trb->link.control) & LINK_TOGGLE;  in last_trb_on_last_seg()
97 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
426 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != in event_ready()
453 type = TRB_FIELD_TO_TYPE(le32_to_cpu(event->event_cmd.flags)); in xhci_wait_for_event()
464 le32_to_cpu(event->generic.field[2])) != in xhci_wait_for_event()
469 le32_to_cpu(event->generic.field[0]), in xhci_wait_for_event()
470 le32_to_cpu(event->generic.field[1]), in xhci_wait_for_event()
471 le32_to_cpu(event->generic.field[2]), in xhci_wait_for_event()
472 le32_to_cpu(event->generic.field[3])); in xhci_wait_for_event()
502 field = le32_to_cpu(event->trans_event.flags); in abort_td()
505 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len in abort_td()
510 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
511 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td()
518 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
519 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td()
528 (int)EVENT_TRB_LEN(le32_to_cpu(event->trans_event.transfer_len))); in record_transfer_result()
530 switch (GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len))) { in record_transfer_result()
632 le32_to_cpu(ep_ctx->ep_info) & EP_STATE_MASK); in xhci_bulk_tx()
732 (int)EVENT_TRB_LEN(le32_to_cpu(event->trans_event.transfer_len)); in xhci_bulk_tx()
737 field = le32_to_cpu(event->trans_event.flags); in xhci_bulk_tx()
820 le32_to_cpu(ep_ctx->ep_info) & EP_STATE_MASK); in xhci_ctrl_tx()
927 field = le32_to_cpu(event->trans_event.flags); in xhci_ctrl_tx()
939 if (GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len)) in xhci_ctrl_tx()