Lines Matching refs:hccr
349 struct xhci_hccr *hccr = ctrl->hccr; in xhci_scratchpad_alloc() local
357 num_sp = HCS_MAX_SCRATCHPAD(xhci_readl(&hccr->cr_hcsparams2)); in xhci_scratchpad_alloc()
424 CTX_SIZE(readl(&ctrl->hccr->cr_hccparams)); in xhci_alloc_container_ctx()
426 ctx->size += CTX_SIZE(readl(&ctrl->hccr->cr_hccparams)); in xhci_alloc_container_ctx()
499 int xhci_mem_init(struct xhci_ctrl *ctrl, struct xhci_hccr *hccr, in xhci_mem_init() argument
533 val = xhci_readl(&hccr->cr_dboff); in xhci_mem_init()
535 ctrl->dba = (struct xhci_doorbell_array *)((char *)hccr + val); in xhci_mem_init()
538 val = xhci_readl(&hccr->cr_rtsoff); in xhci_mem_init()
540 ctrl->run_regs = (struct xhci_run_regs *)((char *)hccr + val); in xhci_mem_init()
629 (ctx->bytes + CTX_SIZE(readl(&ctrl->hccr->cr_hccparams))); in xhci_get_slot_ctx()
651 (ep_index * CTX_SIZE(readl(&ctrl->hccr->cr_hccparams)))); in xhci_get_ep_ctx()