Lines Matching refs:ccs

157 	uint32_t ccs;			/* consumer cycle state */  member
181 #define ep_ccs _ep_trb_rings._epu_trb.ccs
346 uint64_t ringaddr, int ccs);
675 devep->ep_sctx_trbs[i].ccs = in pci_xhci_init_ep()
1275 devep->ep_sctx_trbs[streamid].ccs = in pci_xhci_cmd_set_tr()
1375 uint32_t ccs; /* cycle state (XHCI 4.9.2) */ in pci_xhci_complete_commands() local
1385 ccs = sc->opregs.crcr & XHCI_CRCR_LO_RCS; in pci_xhci_complete_commands()
1394 (ccs & XHCI_TRB_3_CYCLE_BIT)) in pci_xhci_complete_commands()
1400 trb->dwTrb3 & XHCI_TRB_3_CYCLE_BIT, ccs)); in pci_xhci_complete_commands()
1404 evtrb.dwTrb3 = (ccs & XHCI_TRB_3_CYCLE_BIT) | in pci_xhci_complete_commands()
1411 ccs ^= XHCI_CRCR_LO_RCS; in pci_xhci_complete_commands()
1499 sc->opregs.crcr = crcr | (sc->opregs.crcr & XHCI_CRCR_LO_CA) | ccs; in pci_xhci_complete_commands()
1589 trb->dwTrb3 = (trb->dwTrb3 & ~0x1) | (xfer->data[i].ccs); in pci_xhci_xfer_complete()
1593 xfer->data[i].ccs); in pci_xhci_xfer_complete()
1635 struct xhci_endp_ctx *ep_ctx, uint32_t streamid, uint64_t ringaddr, int ccs) in pci_xhci_update_ep_ring() argument
1640 (ccs & 0x1); in pci_xhci_update_ep_ring()
1643 devep->ep_sctx_trbs[streamid].ccs = ccs & 0x1; in pci_xhci_update_ep_ring()
1644 ep_ctx->qwEpCtx2 = (ep_ctx->qwEpCtx2 & ~0x1) | (ccs & 0x1); in pci_xhci_update_ep_ring()
1650 devep->ep_ccs = ccs & 0x1; in pci_xhci_update_ep_ring()
1652 ep_ctx->qwEpCtx2 = (ringaddr & ~0xFUL) | (ccs & 0x1); in pci_xhci_update_ep_ring()
1723 uint32_t epid, uint64_t addr, uint32_t ccs, uint32_t streamid) in pci_xhci_handle_transfer() argument
1754 (ccs & XHCI_TRB_3_CYCLE_BIT)) { in pci_xhci_handle_transfer()
1756 trbflags & XHCI_TRB_3_CYCLE_BIT, ccs)); in pci_xhci_handle_transfer()
1765 ccs ^= 0x1; in pci_xhci_handle_transfer()
1768 (void *)addr, ccs); in pci_xhci_handle_transfer()
1789 (void *)addr, ccs); in pci_xhci_handle_transfer()
1807 trb->dwTrb2 & 0x1FFFF, (void *)addr, ccs); in pci_xhci_handle_transfer()
1812 (void *)addr, ccs); in pci_xhci_handle_transfer()
1817 (void *)addr, ccs); in pci_xhci_handle_transfer()
1823 (void *)addr, ccs); in pci_xhci_handle_transfer()
1922 uint32_t ccs; in pci_xhci_device_doorbell() local
1986 ccs = sctx_tr->ccs; in pci_xhci_device_doorbell()
1997 ccs = devep->ep_ccs; in pci_xhci_device_doorbell()
2011 ringaddr, ccs, streamid); in pci_xhci_device_doorbell()