Home
last modified time | relevance | path

Searched refs:TRB_LEN (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-debug.h234 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()
Dcdns3-ep0.c42 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()
Dcdnsp-ring.c960 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()
Dcdns3-gadget.c1036 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()
Dcdns3-trace.h408 TRB_LEN(__entry->length),
Dcdns3-gadget.h1072 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
Dcdnsp-gadget.h994 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/
Dcdns2-ep0.c49 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()
Dcdns2-debug.h183 buffer, TRB_LEN(length), in cdns2_decode_trb()
Dcdns2-gadget.h482 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
Dcdns2-gadget.c583 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/
Dxhci.h1017 #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()
Dxhci-ring.c2278 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()
Dxhci-dbgcap.c280 length = TRB_LEN(req->length); in xhci_dbc_queue_bulk_tx()
/linux-6.12.1/drivers/usb/early/
Dxhci-dbc.c489 length = TRB_LEN(size); in xdbc_bulk_transfer()