Home
last modified time | relevance | path

Searched refs:TRBS_PER_SEGMENT (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/usb/cdns3/
Ddebug.h140 if (trb_per_sector > TRBS_PER_SEGMENT) in cdns3_dbg_ring()
141 trb_per_sector = TRBS_PER_SEGMENT; in cdns3_dbg_ring()
143 if (trb_per_sector > TRBS_PER_SEGMENT) { in cdns3_dbg_ring()
Dgadget.h968 #define TRBS_PER_SEGMENT 40 macro
972 #if TRBS_PER_SEGMENT < 2
986 TRBS_PER_ISOC_SEGMENT : TRBS_PER_SEGMENT)
1002 #define TRB_RING_SIZE (TRB_SIZE * TRBS_PER_SEGMENT)
Dgadget.c877 TRBS_PER_SEGMENT > 2) in cdns3_ep_run_transfer()
1098 if (TRBS_PER_SEGMENT == 2 && priv_ep->type != USB_ENDPOINT_XFER_ISOC) { in cdns3_request_handled()
1163 TRBS_PER_SEGMENT == 2) in cdns3_transfer_completed()
/external/u-boot/drivers/usb/host/
Dxhci-mem.c226 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = val_64; in xhci_link_segments()
232 val = le32_to_cpu(prev->trbs[TRBS_PER_SEGMENT-1].link.control); in xhci_link_segments()
236 prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); in xhci_link_segments()
334 prev->trbs[TRBS_PER_SEGMENT-1].link.control |= in xhci_ring_alloc()
563 entry->seg_size = cpu_to_le32(TRBS_PER_SEGMENT); in xhci_mem_init()
Dxhci-ring.c40 return trb == &seg->trbs[TRBS_PER_SEGMENT]; in last_trb()
61 return ((trb == &seg->trbs[TRBS_PER_SEGMENT]) && in last_trb_on_last_seg()
Dxhci.c1480 *size = (TRBS_PER_SEGMENT - 2) * TRB_MAX_BUFF_SIZE; in xhci_get_max_xfer_size()
/external/u-boot/include/usb/
Dxhci.h991 #define TRBS_PER_SEGMENT 64 macro
993 #define MAX_RSVD_CMD_TRBS (TRBS_PER_SEGMENT - 3)
994 #define SEGMENT_SIZE (TRBS_PER_SEGMENT*16)