• Home
  • Raw
  • Download

Lines Matching refs:trb

37 	struct dwc3_trb			*trb;  in dwc3_ep0_prepare_one_trb()  local
41 trb = &dwc->ep0_trb[dep->trb_enqueue]; in dwc3_ep0_prepare_one_trb()
46 trb->bpl = lower_32_bits(buf_dma); in dwc3_ep0_prepare_one_trb()
47 trb->bph = upper_32_bits(buf_dma); in dwc3_ep0_prepare_one_trb()
48 trb->size = len; in dwc3_ep0_prepare_one_trb()
49 trb->ctrl = type; in dwc3_ep0_prepare_one_trb()
51 trb->ctrl |= (DWC3_TRB_CTRL_HWO in dwc3_ep0_prepare_one_trb()
55 trb->ctrl |= DWC3_TRB_CTRL_CHN; in dwc3_ep0_prepare_one_trb()
57 trb->ctrl |= (DWC3_TRB_CTRL_IOC in dwc3_ep0_prepare_one_trb()
60 trace_dwc3_prepare_trb(dep, trb); in dwc3_ep0_prepare_one_trb()
832 struct dwc3_trb *trb; in dwc3_ep0_complete_data() local
843 trb = dwc->ep0_trb; in dwc3_ep0_complete_data()
844 trace_dwc3_complete_trb(ep0, trb); in dwc3_ep0_complete_data()
850 status = DWC3_TRB_SIZE_TRBSTS(trb->size); in dwc3_ep0_complete_data()
861 length = trb->size & DWC3_TRB_SIZE_MASK; in dwc3_ep0_complete_data()
867 trb++; in dwc3_ep0_complete_data()
868 trb->ctrl &= ~DWC3_TRB_CTRL_HWO; in dwc3_ep0_complete_data()
869 trace_dwc3_complete_trb(ep0, trb); in dwc3_ep0_complete_data()
890 struct dwc3_trb *trb; in dwc3_ep0_complete_status() local
894 trb = dwc->ep0_trb; in dwc3_ep0_complete_status()
896 trace_dwc3_complete_trb(dep, trb); in dwc3_ep0_complete_status()
916 status = DWC3_TRB_SIZE_TRBSTS(trb->size); in dwc3_ep0_complete_status()
985 req->trb = &dwc->ep0_trb[dep->trb_enqueue - 1]; in __dwc3_ep0_do_control_data()
1007 req->trb = &dwc->ep0_trb[dep->trb_enqueue - 1]; in __dwc3_ep0_do_control_data()
1027 req->trb = &dwc->ep0_trb[dep->trb_enqueue]; in __dwc3_ep0_do_control_data()