Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A Dep0.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()
H A Dgadget.c1031 trb->length = cpu_to_le32(TRB_BURST_LEN(16) | TRB_LEN(length)); in cdns3_ep_run_stream_transfer()
1226 TRB_LEN(length)); in cdns3_ep_run_transfer()
1531 TRB_LEN(le32_to_cpu(trb->length)); in cdns3_transfer_completed()
1566 request->actual += TRB_LEN(le32_to_cpu(trb->length)); in cdns3_transfer_completed()
H A Dtrace.h415 TRB_LEN(__entry->length),
H A Dgadget.h1068 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dep0.c45 priv_ep->trb_pool[0].length = TRB_LEN(length); in cdns3_ep0_run_transfer()
50 priv_ep->trb_pool[1].length = TRB_LEN(0); in cdns3_ep0_run_transfer()
614 TRB_LEN(le32_to_cpu(priv_ep->trb_pool->length)); in cdns3_transfer_completed()
H A Dgadget.h1053 #define TRB_LEN(p) ((p) & GENMASK(16, 0)) macro
H A Dgadget.c905 TRB_LEN(length); in cdns3_ep_run_transfer()
1158 request->actual = TRB_LEN(le32_to_cpu(trb->length)); in cdns3_transfer_completed()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci.h1301 #define TRB_LEN(p) ((p) & 0x1ffff) macro
2357 TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb()
2367 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb()
2381 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb()
2395 field1, field0, TRB_LEN(field2), GET_TD_SIZE(field2), in xhci_decode_trb()
H A Dxhci-ring.c2290 sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); in sum_trb_lengths()
2412 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_isoc_td()
2516 ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); in process_bulk_intr_td()
3697 length_field = TRB_LEN(trb_buff_len) | in xhci_queue_bulk_tx()
3815 TRB_LEN(8) | TRB_INTR_TARGET(0), in xhci_queue_ctrl_tx()
3843 length_field = TRB_LEN(urb->transfer_buffer_length) | in xhci_queue_ctrl_tx()
4160 length_field = TRB_LEN(trb_buff_len) | in xhci_queue_isoc_tx()
H A Dxhci-dbgcap.c263 length = TRB_LEN(req->length); in xhci_dbc_queue_bulk_tx()
/OK3568_Linux_fs/u-boot/include/usb/
H A Dxhci.h848 #define TRB_LEN(p) ((p) & 0x1ffff) macro
/OK3568_Linux_fs/kernel/drivers/usb/early/
H A Dxhci-dbc.c489 length = TRB_LEN(size); in xdbc_bulk_transfer()