Lines Matching refs:ccs

156 	uint32_t ccs;			/* consumer cycle state */  member
180 #define ep_ccs _ep_trb_rings._epu_trb.ccs
345 uint64_t ringaddr, int ccs);
675 devep->ep_sctx_trbs[i].ccs = in pci_xhci_init_ep()
1297 devep->ep_sctx_trbs[streamid].ccs = in pci_xhci_cmd_set_tr()
1404 uint32_t ccs; /* cycle state (XHCI 4.9.2) */ in pci_xhci_complete_commands() local
1414 ccs = sc->opregs.crcr & XHCI_CRCR_LO_RCS; in pci_xhci_complete_commands()
1423 (ccs & XHCI_TRB_3_CYCLE_BIT)) in pci_xhci_complete_commands()
1429 trb->dwTrb3 & XHCI_TRB_3_CYCLE_BIT, ccs)); in pci_xhci_complete_commands()
1433 evtrb.dwTrb3 = (ccs & XHCI_TRB_3_CYCLE_BIT) | in pci_xhci_complete_commands()
1440 ccs ^= XHCI_CRCR_LO_RCS; in pci_xhci_complete_commands()
1528 sc->opregs.crcr = crcr | (sc->opregs.crcr & XHCI_CRCR_LO_CA) | ccs; in pci_xhci_complete_commands()
1619 trb->dwTrb3 = (trb->dwTrb3 & ~0x1) | (xfer->data[i].ccs); in pci_xhci_xfer_complete()
1623 xfer->data[i].ccs); in pci_xhci_xfer_complete()
1665 struct xhci_endp_ctx *ep_ctx, uint32_t streamid, uint64_t ringaddr, int ccs) in pci_xhci_update_ep_ring() argument
1670 (ccs & 0x1); in pci_xhci_update_ep_ring()
1673 devep->ep_sctx_trbs[streamid].ccs = ccs & 0x1; in pci_xhci_update_ep_ring()
1674 ep_ctx->qwEpCtx2 = (ep_ctx->qwEpCtx2 & ~0x1) | (ccs & 0x1); in pci_xhci_update_ep_ring()
1680 devep->ep_ccs = ccs & 0x1; in pci_xhci_update_ep_ring()
1682 ep_ctx->qwEpCtx2 = (ringaddr & ~0xFUL) | (ccs & 0x1); in pci_xhci_update_ep_ring()
1764 uint32_t epid, uint64_t addr, uint32_t ccs, uint32_t streamid) in pci_xhci_handle_transfer() argument
1795 (ccs & XHCI_TRB_3_CYCLE_BIT)) { in pci_xhci_handle_transfer()
1797 trbflags & XHCI_TRB_3_CYCLE_BIT, ccs)); in pci_xhci_handle_transfer()
1806 ccs ^= 0x1; in pci_xhci_handle_transfer()
1809 (void *)addr, ccs); in pci_xhci_handle_transfer()
1830 (void *)addr, ccs); in pci_xhci_handle_transfer()
1848 trb->dwTrb2 & 0x1FFFF, (void *)addr, ccs); in pci_xhci_handle_transfer()
1853 (void *)addr, ccs); in pci_xhci_handle_transfer()
1858 (void *)addr, ccs); in pci_xhci_handle_transfer()
1864 (void *)addr, ccs); in pci_xhci_handle_transfer()
1963 uint32_t ccs; in pci_xhci_device_doorbell() local
2027 ccs = sctx_tr->ccs; in pci_xhci_device_doorbell()
2038 ccs = devep->ep_ccs; in pci_xhci_device_doorbell()
2052 ringaddr, ccs, streamid); in pci_xhci_device_doorbell()