| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-debug.h | 234 TRB_LEN(field2), GET_TD_SIZE(field2), in cdnsp_decode_trb() 246 field1, field0, TRB_LEN(field2), in cdnsp_decode_trb() 261 field1, field0, TRB_LEN(field2), in cdnsp_decode_trb() 279 field1, field0, TRB_LEN(field2), in cdnsp_decode_trb()
|
| H A D | cdns3-ep0.c | 42 priv_ep->trb_pool[0].length = cpu_to_le32(TRB_LEN(length)); in cdns3_ep0_run_transfer() 47 priv_ep->trb_pool[1].length = cpu_to_le32(TRB_LEN(0)); in cdns3_ep0_run_transfer() 580 TRB_LEN(le32_to_cpu(priv_ep->trb_pool->length)); in cdns3_transfer_completed()
|
| H A D | cdnsp-ring.c | 961 sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); in cdnsp_sum_trb_lengths() 1060 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in cdnsp_process_isoc_td() 1145 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in cdnsp_process_bulk_intr_td() 1996 length_field = TRB_LEN(trb_buff_len) | TRB_TD_SIZE(remainder) | in cdnsp_queue_bulk_tx() 2083 length_field = TRB_LEN(preq->request.length) | in cdnsp_queue_ctrl_tx() 2298 length_field = TRB_LEN(trb_buff_len) | TRB_TD_SIZE(remainder) | in cdnsp_queue_isoc_tx()
|
| H A D | cdns3-gadget.c | 1036 trb->length = cpu_to_le32(TRB_BURST_LEN(16) | TRB_LEN(length)); in cdns3_ep_run_stream_transfer() 1281 TRB_LEN(length)); in cdns3_ep_run_transfer() 1592 TRB_LEN(le32_to_cpu(trb->length)); in cdns3_transfer_completed() 1631 request->actual += TRB_LEN(le32_to_cpu(trb->length)); in cdns3_transfer_completed()
|
| H A D | cdns3-trace.h | 408 TRB_LEN(__entry->length),
|
| H A D | cdns3-gadget.h | 1072 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
|
| H A D | cdnsp-gadget.h | 997 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
|
| /linux-6.15/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-ep0.c | 49 ring->trbs[0].length = cpu_to_le32(TRB_LEN(length)); in cdns2_ep0_enqueue() 55 ring->trbs[1].length = cpu_to_le32(TRB_LEN(0)); in cdns2_ep0_enqueue() 470 TRB_LEN(le32_to_cpu(pep->ring.trbs->length)); in cdns2_transfer_completed()
|
| H A D | cdns2-debug.h | 183 buffer, TRB_LEN(length), in cdns2_decode_trb()
|
| H A D | cdns2-gadget.h | 482 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
|
| H A D | cdns2-gadget.c | 584 length = TRB_LEN(trb_buff_len) | in cdns2_ep_tx_isoc() 675 TRB_LEN(length)); in cdns2_ep_tx_bulk() 1017 TRB_LEN(le32_to_cpu(trb->length)); in cdns2_transfer_completed()
|
| /linux-6.15/drivers/usb/host/ |
| H A D | xhci.h | 1026 #define TRB_LEN(p) ((p) & 0x1ffff) macro 2063 TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2073 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2087 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2100 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2115 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb()
|
| H A D | xhci-ring.c | 2296 sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); in sum_trb_lengths() 2417 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_isoc_td() 2540 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_bulk_intr_td() 3704 length_field = TRB_LEN(trb_buff_len) | in xhci_queue_bulk_tx() 3833 TRB_LEN(8) | TRB_INTR_TARGET(0), in xhci_queue_ctrl_tx() 3861 length_field = TRB_LEN(urb->transfer_buffer_length) | in xhci_queue_ctrl_tx() 4176 length_field = TRB_LEN(trb_buff_len) | in xhci_queue_isoc_tx()
|
| H A D | xhci-dbgcap.c | 281 length = TRB_LEN(req->length); in xhci_dbc_queue_bulk_tx()
|
| /linux-6.15/drivers/usb/early/ |
| H A D | xhci-dbc.c | 489 length = TRB_LEN(size); in xdbc_bulk_transfer()
|