Lines Matching defs:ccs
160 uint32_t ccs; /* consumer cycle state */
184 #define ep_ccs _ep_trb_rings._epu_trb.ccs
350 uint64_t ringaddr, int ccs);
675 devep->ep_sctx_trbs[i].ccs =
1297 devep->ep_sctx_trbs[streamid].ccs =
1404 uint32_t ccs; /* cycle state (XHCI 4.9.2) */
1414 ccs = sc->opregs.crcr & XHCI_CRCR_LO_RCS;
1423 (ccs & XHCI_TRB_3_CYCLE_BIT))
1427 " dwTrb3 x%08x, TRB_CYCLE %u/ccs %u",
1429 trb->dwTrb3 & XHCI_TRB_3_CYCLE_BIT, ccs));
1433 evtrb.dwTrb3 = (ccs & XHCI_TRB_3_CYCLE_BIT) |
1440 ccs ^= XHCI_CRCR_LO_RCS;
1528 sc->opregs.crcr = crcr | (sc->opregs.crcr & XHCI_CRCR_LO_CA) | ccs;
1619 trb->dwTrb3 = (trb->dwTrb3 & ~0x1) | (xfer->data[i].ccs);
1623 xfer->data[i].ccs);
1665 struct xhci_endp_ctx *ep_ctx, uint32_t streamid, uint64_t ringaddr, int ccs)
1670 (ccs & 0x1);
1673 devep->ep_sctx_trbs[streamid].ccs = ccs & 0x1;
1674 ep_ctx->qwEpCtx2 = (ep_ctx->qwEpCtx2 & ~0x1) | (ccs & 0x1);
1680 devep->ep_ccs = ccs & 0x1;
1682 ep_ctx->qwEpCtx2 = (ringaddr & ~0xFUL) | (ccs & 0x1);
1754 uint32_t epid, uint64_t addr, uint32_t ccs, uint32_t streamid)
1785 (ccs & XHCI_TRB_3_CYCLE_BIT)) {
1786 DPRINTF(("Cycle-bit changed trbflags %x, ccs %x",
1787 trbflags & XHCI_TRB_3_CYCLE_BIT, ccs));
1796 ccs ^= 0x1;
1799 (void *)addr, ccs);
1820 (void *)addr, ccs);
1838 trb->dwTrb2 & 0x1FFFF, (void *)addr, ccs);
1843 (void *)addr, ccs);
1848 (void *)addr, ccs);
1854 (void *)addr, ccs);
1953 uint32_t ccs;
2011 ccs = sctx_tr->ccs;
2013 DPRINTF(("doorbell, stream %u, ccs %lx, trb ccs %x",
2022 ccs = devep->ep_ccs;
2024 DPRINTF(("doorbell, ccs %lx, trb ccs %x",
2036 ringaddr, ccs, streamid);
3043 SNAPSHOT_VAR_OR_LEAVE(xfer_block->ccs, meta, ret, done);