Searched refs:TRBS_PER_SEGMENT (Results 1 – 10 of 10) sorted by relevance
139 if (trb_per_sector > TRBS_PER_SEGMENT) in cdns3_dbg_ring()140 trb_per_sector = TRBS_PER_SEGMENT; in cdns3_dbg_ring()142 if (trb_per_sector > TRBS_PER_SEGMENT) { in cdns3_dbg_ring()
968 #define TRBS_PER_SEGMENT 40 macro972 #if TRBS_PER_SEGMENT < 2986 TRBS_PER_ISOC_SEGMENT : TRBS_PER_SEGMENT)1002 #define TRB_RING_SIZE (TRB_SIZE * TRBS_PER_SEGMENT)
373 (TRBS_PER_SEGMENT * 65) + CDNS3_MSG_MAX)
883 TRBS_PER_SEGMENT > 2) in cdns3_ep_run_transfer()1109 if (TRBS_PER_SEGMENT == 2 && priv_ep->type != USB_ENDPOINT_XFER_ISOC) { in cdns3_request_handled()1177 TRBS_PER_SEGMENT == 2) in cdns3_transfer_completed()
59 for (i = 0; i < TRBS_PER_SEGMENT; i++) in xhci_segment_alloc()108 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = in xhci_link_segments()112 val = le32_to_cpu(prev->trbs[TRBS_PER_SEGMENT-1].link.control); in xhci_link_segments()121 prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); in xhci_link_segments()142 ring->num_trbs_free += (TRBS_PER_SEGMENT - 1) * num_segs; in xhci_link_rings()145 ring->last_seg->trbs[TRBS_PER_SEGMENT-1].link.control in xhci_link_rings()147 last->trbs[TRBS_PER_SEGMENT-1].link.control in xhci_link_rings()314 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_initialize_ring_info()390 ring->last_seg->trbs[TRBS_PER_SEGMENT - 1].link.control |= in xhci_ring_alloc()423 num_segs_needed = (num_trbs + (TRBS_PER_SEGMENT - 1) - 1) / in xhci_ring_expansion()[all …]
1509 #define TRBS_PER_SEGMENT 256 macro1511 #define MAX_RSVD_CMD_TRBS (TRBS_PER_SEGMENT - 3)1512 #define TRB_SEGMENT_SIZE (TRBS_PER_SEGMENT*16)
201 for (i = 0; i < TRBS_PER_SEGMENT; i++) { in xhci_ring_dump_segment()
75 if (segment_offset >= TRBS_PER_SEGMENT) in xhci_trb_virt_to_dma()92 return trb == &seg->trbs[TRBS_PER_SEGMENT - 1]; in last_trb_on_seg()1768 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); in trb_in_td()
860 sizeof(union xhci_trb) * (TRBS_PER_SEGMENT - 1)); in xhci_clear_command_ring()861 seg->trbs[TRBS_PER_SEGMENT - 1].link.control &= in xhci_clear_command_ring()872 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_clear_command_ring()
400 if (ring->enqueue >= &ring->segment->trbs[TRBS_PER_SEGMENT - 1]) { in xdbc_queue_trb()821 if (xdbc.evt_ring.dequeue == &xdbc.evt_seg.trbs[TRBS_PER_SEGMENT]) { in xdbc_handle_events()