Searched refs:TRB_LEN (Results 1 – 15 of 15) sorted by relevance
/linux-6.12.1/drivers/usb/cdns3/ |
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()
|
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()
|
D | cdnsp-ring.c | 960 sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); in cdnsp_sum_trb_lengths() 1059 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in cdnsp_process_isoc_td() 1144 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in cdnsp_process_bulk_intr_td() 1995 length_field = TRB_LEN(trb_buff_len) | TRB_TD_SIZE(remainder) | in cdnsp_queue_bulk_tx() 2082 length_field = TRB_LEN(preq->request.length) | in cdnsp_queue_ctrl_tx() 2297 length_field = TRB_LEN(trb_buff_len) | TRB_TD_SIZE(remainder) | in cdnsp_queue_isoc_tx()
|
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()
|
D | cdns3-trace.h | 408 TRB_LEN(__entry->length),
|
D | cdns3-gadget.h | 1072 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
|
D | cdnsp-gadget.h | 994 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
|
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/ |
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()
|
D | cdns2-debug.h | 183 buffer, TRB_LEN(length), in cdns2_decode_trb()
|
D | cdns2-gadget.h | 482 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
|
D | cdns2-gadget.c | 583 length = TRB_LEN(trb_buff_len) | in cdns2_ep_tx_isoc() 674 TRB_LEN(length)); in cdns2_ep_tx_bulk() 1016 TRB_LEN(le32_to_cpu(trb->length)); in cdns2_transfer_completed()
|
/linux-6.12.1/drivers/usb/host/ |
D | xhci.h | 1017 #define TRB_LEN(p) ((p) & 0x1ffff) macro 2040 TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2050 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2064 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb() 2078 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb()
|
D | xhci-ring.c | 2278 sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); in sum_trb_lengths() 2399 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_isoc_td() 2522 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_bulk_intr_td() 3662 length_field = TRB_LEN(trb_buff_len) | in xhci_queue_bulk_tx() 3777 TRB_LEN(8) | TRB_INTR_TARGET(0), in xhci_queue_ctrl_tx() 3805 length_field = TRB_LEN(urb->transfer_buffer_length) | in xhci_queue_ctrl_tx() 4120 length_field = TRB_LEN(trb_buff_len) | in xhci_queue_isoc_tx()
|
D | xhci-dbgcap.c | 280 length = TRB_LEN(req->length); in xhci_dbc_queue_bulk_tx()
|
/linux-6.12.1/drivers/usb/early/ |
D | xhci-dbc.c | 489 length = TRB_LEN(size); in xdbc_bulk_transfer()
|