Lines Matching refs:trb

160 				 struct cdns3_trb *trb)  in cdns3_trb_virt_to_dma()  argument
162 u32 offset = (char *)trb - (char *)priv_ep->trb_pool; in cdns3_trb_virt_to_dma()
775 struct cdns3_trb *trb) in cdns3_wa1_update_guard() argument
787 priv_ep->wa1_trb = trb; in cdns3_wa1_update_guard()
820 struct cdns3_trb *trb; in cdns3_ep_run_transfer() local
845 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
847 priv_req->trb = trb; in cdns3_ep_run_transfer()
885 togle_pcs = cdns3_wa1_update_guard(priv_ep, trb); in cdns3_ep_run_transfer()
896 trb->buffer = TRB_BUFFER(trb_dma); in cdns3_ep_run_transfer()
904 trb->length = TRB_BURST_LEN(priv_ep->trb_burst_size) | in cdns3_ep_run_transfer()
907 trb->length |= TRB_TDL_SS_SIZE(td_size); in cdns3_ep_run_transfer()
929 trb->control = control; in cdns3_ep_run_transfer()
931 priv_req->trb->control = control; in cdns3_ep_run_transfer()
937 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
940 trb = priv_req->trb; in cdns3_ep_run_transfer()
945 trb->control |= TRB_IOC | TRB_ISP; in cdns3_ep_run_transfer()
954 trb->control = trb->control ^ 1; in cdns3_ep_run_transfer()
959 trace_cdns3_prepare_trb(priv_ep, priv_req->trb); in cdns3_ep_run_transfer()
1081 struct cdns3_trb *trb = priv_req->trb; in cdns3_request_handled() local
1089 trb = &priv_ep->trb_pool[priv_req->start_trb]; in cdns3_request_handled()
1091 if ((trb->control & TRB_CYCLE) != priv_ep->ccs) in cdns3_request_handled()
1131 struct cdns3_trb *trb; in cdns3_transfer_completed() local
1150 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()
1151 trace_cdns3_complete_trb(priv_ep, trb); in cdns3_transfer_completed()
1153 if (trb != priv_req->trb) in cdns3_transfer_completed()
1156 priv_req->trb, trb); in cdns3_transfer_completed()
1158 request->actual = TRB_LEN(le32_to_cpu(trb->length)); in cdns3_transfer_completed()
2093 if (priv_ep->wa1_trb == priv_req->trb) in cdns3_gadget_ep_dequeue()
2096 link_trb = priv_req->trb; in cdns3_gadget_ep_dequeue()