Lines Matching refs:op_regs
117 halted = readl(&xhci->op_regs->status) & STS_HALT; in xhci_quiesce()
121 cmd = readl(&xhci->op_regs->command); in xhci_quiesce()
123 writel(cmd, &xhci->op_regs->command); in xhci_quiesce()
141 ret = xhci_handshake(&xhci->op_regs->status, in xhci_halt()
162 temp = readl(&xhci->op_regs->command); in xhci_start()
166 writel(temp, &xhci->op_regs->command); in xhci_start()
172 ret = xhci_handshake(&xhci->op_regs->status, in xhci_start()
200 state = readl(&xhci->op_regs->status); in xhci_reset()
213 command = readl(&xhci->op_regs->command); in xhci_reset()
215 writel(command, &xhci->op_regs->command); in xhci_reset()
227 ret = xhci_handshake_check_state(xhci, &xhci->op_regs->command, in xhci_reset()
241 ret = xhci_handshake(&xhci->op_regs->status, STS_CNR, 0, timeout_us); in xhci_reset()
283 val = readl(&xhci->op_regs->command); in xhci_zero_64b_regs()
285 writel(val, &xhci->op_regs->command); in xhci_zero_64b_regs()
288 val = readl(&xhci->op_regs->status); in xhci_zero_64b_regs()
290 writel(val, &xhci->op_regs->status); in xhci_zero_64b_regs()
293 val = xhci_read_64(xhci, &xhci->op_regs->dcbaa_ptr); in xhci_zero_64b_regs()
295 xhci_write_64(xhci, 0, &xhci->op_regs->dcbaa_ptr); in xhci_zero_64b_regs()
296 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
298 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
316 err = xhci_handshake(&xhci->op_regs->status, in xhci_zero_64b_regs()
511 temp = readl(&xhci->op_regs->command); in xhci_run_finished()
513 writel(temp, &xhci->op_regs->command); in xhci_run_finished()
646 temp = readl(&xhci->op_regs->status); in xhci_stop()
647 writel((temp & ~0x1fff) | STS_EINT, &xhci->op_regs->status); in xhci_stop()
655 readl(&xhci->op_regs->status)); in xhci_stop()
702 readl(&xhci->op_regs->status)); in xhci_shutdown()
712 xhci->s3.command = readl(&xhci->op_regs->command); in xhci_save_registers()
713 xhci->s3.dev_nt = readl(&xhci->op_regs->dev_notification); in xhci_save_registers()
714 xhci->s3.dcbaa_ptr = xhci_read_64(xhci, &xhci->op_regs->dcbaa_ptr); in xhci_save_registers()
715 xhci->s3.config_reg = readl(&xhci->op_regs->config_reg); in xhci_save_registers()
737 writel(xhci->s3.command, &xhci->op_regs->command); in xhci_restore_registers()
738 writel(xhci->s3.dev_nt, &xhci->op_regs->dev_notification); in xhci_restore_registers()
739 xhci_write_64(xhci, xhci->s3.dcbaa_ptr, &xhci->op_regs->dcbaa_ptr); in xhci_restore_registers()
740 writel(xhci->s3.config_reg, &xhci->op_regs->config_reg); in xhci_restore_registers()
761 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
770 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
856 status = readl(&xhci->op_regs->status); in xhci_pending_portevent()
935 command = readl(&xhci->op_regs->command); in xhci_suspend()
937 writel(command, &xhci->op_regs->command); in xhci_suspend()
942 if (xhci_handshake(&xhci->op_regs->status, in xhci_suspend()
954 command = readl(&xhci->op_regs->command); in xhci_suspend()
956 writel(command, &xhci->op_regs->command); in xhci_suspend()
958 if (xhci_handshake(&xhci->op_regs->status, in xhci_suspend()
969 res = readl(&xhci->op_regs->status); in xhci_suspend()
1040 retval = xhci_handshake(&xhci->op_regs->status, in xhci_resume()
1054 command = readl(&xhci->op_regs->command); in xhci_resume()
1056 writel(command, &xhci->op_regs->command); in xhci_resume()
1062 if (xhci_handshake(&xhci->op_regs->status, in xhci_resume()
1070 temp = readl(&xhci->op_regs->status); in xhci_resume()
1102 temp = readl(&xhci->op_regs->status); in xhci_resume()
1103 writel((temp & ~0x1fff) | STS_EINT, &xhci->op_regs->status); in xhci_resume()
1110 readl(&xhci->op_regs->status)); in xhci_resume()
1146 command = readl(&xhci->op_regs->command); in xhci_resume()
1148 writel(command, &xhci->op_regs->command); in xhci_resume()
1149 xhci_handshake(&xhci->op_regs->status, STS_HALT, in xhci_resume()
1714 temp = readl(&xhci->op_regs->status); in xhci_urb_dequeue()
3929 state = readl(&xhci->op_regs->status); in xhci_disable_slot()
4229 temp_64 = xhci_read_64(xhci, &xhci->op_regs->dcbaa_ptr); in xhci_setup_device()
5224 xhci->op_regs = hcd->regs + in xhci_gen_setup()