/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
H A D | trace.h | 215 __field(int, start_trb) 231 __entry->start_trb = req->start_trb; 245 __entry->start_trb, 533 __field(unsigned int, start_trb) 542 __entry->start_trb = priv_req->start_trb; 550 __entry->enqueue_idx, __entry->start_trb,
|
H A D | gadget.c | 1012 priv_req->start_trb = priv_ep->enqueue; in cdns3_ep_run_stream_transfer() 1013 priv_req->end_trb = priv_req->start_trb; in cdns3_ep_run_stream_transfer() 1151 priv_req->start_trb = priv_ep->enqueue; in cdns3_ep_run_transfer() 1393 priv_req->start_trb * TRB_SIZE), in cdns3_ep_run_transfer() 1454 * ST = priv_req->start_trb - index of first TRB in transfer ring 1492 if (priv_req->start_trb < priv_req->end_trb) { in cdns3_trb_handled() 1496 if (priv_ep->dequeue < priv_req->start_trb) in cdns3_trb_handled() 1500 if ((priv_req->start_trb > priv_req->end_trb) && in cdns3_trb_handled() 1502 (priv_ep->dequeue < priv_req->start_trb)) in cdns3_trb_handled() 1505 if ((priv_req->start_trb in cdns3_trb_handled() [all...] |
H A D | gadget.h | 1221 * @start_trb: number of the first TRB in transfer ring 1234 int start_trb; member
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdns3-trace.h | 211 __field(int, start_trb) 226 __entry->start_trb = req->start_trb; 239 __entry->start_trb, 520 __field(unsigned int, start_trb) 529 __entry->start_trb = priv_req->start_trb; 537 __entry->enqueue_idx, __entry->start_trb,
|
H A D | cdnsp-ring.c | 526 * This TD is defined by the TRBs starting at start_trb in start_seg and ending 533 union cdnsp_trb *start_trb, in cdnsp_trb_in_td() 543 start_dma = cdnsp_trb_virt_to_dma(start_seg, start_trb); in cdnsp_trb_in_td() 967 struct cdnsp_generic_trb *start_trb) in cdnsp_giveback_first_trb() 976 start_trb->field[3] |= cpu_to_le32(start_cycle); in cdnsp_giveback_first_trb() 978 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in cdnsp_giveback_first_trb() 1863 struct cdnsp_generic_trb *start_trb; in cdnsp_queue_bulk_tx() local 1912 start_trb = &ring->enqueue->generic; in cdnsp_queue_bulk_tx() 2004 start_cycle, start_trb); in cdnsp_queue_bulk_tx() 2206 struct cdnsp_generic_trb *start_trb; in cdnsp_queue_isoc_tx() local 531 cdnsp_trb_in_td(struct cdnsp_device *pdev, struct cdnsp_segment *start_seg, union cdnsp_trb *start_trb, union cdnsp_trb *end_trb, dma_addr_t suspect_dma) cdnsp_trb_in_td() argument 963 cdnsp_giveback_first_trb(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id, int start_cycle, struct cdnsp_generic_trb *start_trb) cdnsp_giveback_first_trb() argument [all...] |
H A D | cdns3-gadget.c | 1017 priv_req->start_trb = priv_ep->enqueue; in cdns3_ep_run_stream_transfer() 1018 priv_req->end_trb = priv_req->start_trb; in cdns3_ep_run_stream_transfer() 1156 priv_req->start_trb = priv_ep->enqueue; in cdns3_ep_run_transfer() 1398 priv_req->start_trb * TRB_SIZE), in cdns3_ep_run_transfer() 1459 * ST = priv_req->start_trb - index of first TRB in transfer ring 1497 if (priv_req->start_trb < priv_req->end_trb) { in cdns3_trb_handled() 1501 if (priv_ep->dequeue < priv_req->start_trb) in cdns3_trb_handled() 1505 if ((priv_req->start_trb > priv_req->end_trb) && in cdns3_trb_handled() 1507 (priv_ep->dequeue < priv_req->start_trb)) in cdns3_trb_handled() 1510 if ((priv_req->start_trb in cdns3_trb_handled() [all...] |
H A D | cdns3-gadget.h | 1223 * @start_trb: number of the first TRB in transfer ring 1236 int start_trb; member
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-trace.h | 287 __field(int, start_trb) 305 __entry->start_trb = preq->start_trb; 318 __entry->start_trb, 530 __field(unsigned int, start_trb) 539 __entry->start_trb = priv_req->start_trb; 547 __entry->enqueue_idx, __entry->start_trb,
|
H A D | cdns2-gadget.c | 783 preq->start_trb = ring->enqueue; in cdns2_ep_run_transfer() 853 * ST = preq->start_trb - index of first TRB in transfer ring 901 if (preq->start_trb < preq->end_trb) { in cdns2_trb_handled() 905 if (ring->dequeue < preq->start_trb) in cdns2_trb_handled() 909 if (preq->start_trb > preq->end_trb && ring->dequeue > preq->end_trb && in cdns2_trb_handled() 910 ring->dequeue < preq->start_trb) in cdns2_trb_handled() 913 if (preq->start_trb == preq->end_trb && ring->dequeue != preq->end_trb) in cdns2_trb_handled()
|
H A D | cdns2-gadget.h | 583 * @start_trb: number of the first TRB in transfer ring. 593 int start_trb; member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mem.c | 1964 union xhci_trb *start_trb, in xhci_test_trb_in_td() 1974 start_dma = xhci_trb_virt_to_dma(input_seg, start_trb); in xhci_test_trb_in_td() 1977 seg = trb_in_td(xhci, input_seg, start_trb, end_trb, input_dma, false); in xhci_test_trb_in_td() 1987 start_trb, start_dma, in xhci_test_trb_in_td() 1991 trb_in_td(xhci, input_seg, start_trb, end_trb, input_dma, in xhci_test_trb_in_td() 2025 union xhci_trb *start_trb; in xhci_check_trb_in_td_math() member 2032 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math() 2039 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math() 2046 .start_trb = xhci->cmd_ring->first_seg->trbs, in xhci_check_trb_in_td_math() 2053 .start_trb in xhci_check_trb_in_td_math() 1962 xhci_test_trb_in_td(struct xhci_hcd *xhci, struct xhci_segment *input_seg, union xhci_trb *start_trb, union xhci_trb *end_trb, dma_addr_t input_dma, struct xhci_segment *result_seg, char *test_name, int test_number) xhci_test_trb_in_td() argument [all...] |
H A D | xhci-ring.c | 1939 * This TD is defined by the TRBs starting at start_trb in start_seg and ending 1946 union xhci_trb *start_trb, in trb_in_td() 1956 start_dma = xhci_trb_virt_to_dma(start_seg, start_trb); in trb_in_td() 3263 struct xhci_generic_trb *start_trb) in giveback_first_trb() 3271 start_trb->field[3] |= cpu_to_le32(start_cycle); in giveback_first_trb() 3273 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb() 3447 struct xhci_generic_trb *start_trb; in xhci_queue_bulk_tx() local 3495 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx() 3597 start_cycle, start_trb); in xhci_queue_bulk_tx() 3609 struct xhci_generic_trb *start_trb; in xhci_queue_ctrl_tx() local 1944 trb_in_td(struct xhci_hcd *xhci, struct xhci_segment *start_seg, union xhci_trb *start_trb, union xhci_trb *end_trb, dma_addr_t suspect_dma, bool debug) trb_in_td() argument 3261 giveback_first_trb(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, unsigned int stream_id, int start_cycle, struct xhci_generic_trb *start_trb) giveback_first_trb() argument 3906 struct xhci_generic_trb *start_trb; xhci_queue_isoc_tx() local [all...] |
H A D | xhci.h | 2119 struct xhci_segment *start_seg, union xhci_trb *start_trb,
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-ring.c | 2037 * This TD is defined by the TRBs starting at start_trb in start_seg and ending 2044 union xhci_trb *start_trb, in trb_in_td() 2054 start_dma = xhci_trb_virt_to_dma(start_seg, start_trb); in trb_in_td() 3413 struct xhci_generic_trb *start_trb) in giveback_first_trb() 3421 start_trb->field[3] |= cpu_to_le32(start_cycle); in giveback_first_trb() 3423 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb() 3597 struct xhci_generic_trb *start_trb; in xhci_queue_bulk_tx() local 3645 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx() 3747 start_cycle, start_trb); in xhci_queue_bulk_tx() 3759 struct xhci_generic_trb *start_trb; in xhci_queue_ctrl_tx() local 2042 trb_in_td(struct xhci_hcd *xhci, struct xhci_segment *start_seg, union xhci_trb *start_trb, union xhci_trb *end_trb, dma_addr_t suspect_dma, bool debug) trb_in_td() argument 3411 giveback_first_trb(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, unsigned int stream_id, int start_cycle, struct xhci_generic_trb *start_trb) giveback_first_trb() argument 4056 struct xhci_generic_trb *start_trb; xhci_queue_isoc_tx() local [all...] |
H A D | xhci.h | 2158 struct xhci_segment *start_seg, union xhci_trb *start_trb,
|