• Home
  • Raw
  • Download

Lines Matching refs:op_regs

94 	halted = readl(&xhci->op_regs->status) & STS_HALT;  in xhci_quiesce()
98 cmd = readl(&xhci->op_regs->command); in xhci_quiesce()
100 writel(cmd, &xhci->op_regs->command); in xhci_quiesce()
117 ret = xhci_handshake(&xhci->op_regs->status, in xhci_halt()
136 temp = readl(&xhci->op_regs->command); in xhci_start()
140 writel(temp, &xhci->op_regs->command); in xhci_start()
146 ret = xhci_handshake(&xhci->op_regs->status, in xhci_start()
172 state = readl(&xhci->op_regs->status); in xhci_reset()
185 command = readl(&xhci->op_regs->command); in xhci_reset()
187 writel(command, &xhci->op_regs->command); in xhci_reset()
199 ret = xhci_handshake(&xhci->op_regs->command, in xhci_reset()
213 ret = xhci_handshake(&xhci->op_regs->status, in xhci_reset()
253 val = readl(&xhci->op_regs->command); in xhci_zero_64b_regs()
255 writel(val, &xhci->op_regs->command); in xhci_zero_64b_regs()
258 val = readl(&xhci->op_regs->status); in xhci_zero_64b_regs()
260 writel(val, &xhci->op_regs->status); in xhci_zero_64b_regs()
263 val = xhci_read_64(xhci, &xhci->op_regs->dcbaa_ptr); in xhci_zero_64b_regs()
265 xhci_write_64(xhci, 0, &xhci->op_regs->dcbaa_ptr); in xhci_zero_64b_regs()
266 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
268 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
286 err = xhci_handshake(&xhci->op_regs->status, in xhci_zero_64b_regs()
672 temp = readl(&xhci->op_regs->command); in xhci_run()
676 writel(temp, &xhci->op_regs->command); in xhci_run()
754 temp = readl(&xhci->op_regs->status); in xhci_stop()
755 writel((temp & ~0x1fff) | STS_EINT, &xhci->op_regs->status); in xhci_stop()
764 readl(&xhci->op_regs->status)); in xhci_stop()
795 readl(&xhci->op_regs->status)); in xhci_shutdown()
802 xhci->s3.command = readl(&xhci->op_regs->command); in xhci_save_registers()
803 xhci->s3.dev_nt = readl(&xhci->op_regs->dev_notification); in xhci_save_registers()
804 xhci->s3.dcbaa_ptr = xhci_read_64(xhci, &xhci->op_regs->dcbaa_ptr); in xhci_save_registers()
805 xhci->s3.config_reg = readl(&xhci->op_regs->config_reg); in xhci_save_registers()
815 writel(xhci->s3.command, &xhci->op_regs->command); in xhci_restore_registers()
816 writel(xhci->s3.dev_nt, &xhci->op_regs->dev_notification); in xhci_restore_registers()
817 xhci_write_64(xhci, xhci->s3.dcbaa_ptr, &xhci->op_regs->dcbaa_ptr); in xhci_restore_registers()
818 writel(xhci->s3.config_reg, &xhci->op_regs->config_reg); in xhci_restore_registers()
831 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
840 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
938 status = readl(&xhci->op_regs->status); in xhci_pending_portevent()
1013 command = readl(&xhci->op_regs->command); in xhci_suspend()
1015 writel(command, &xhci->op_regs->command); in xhci_suspend()
1020 if (xhci_handshake(&xhci->op_regs->status, in xhci_suspend()
1032 command = readl(&xhci->op_regs->command); in xhci_suspend()
1034 writel(command, &xhci->op_regs->command); in xhci_suspend()
1036 if (xhci_handshake(&xhci->op_regs->status, in xhci_suspend()
1047 res = readl(&xhci->op_regs->status); in xhci_suspend()
1118 retval = xhci_handshake(&xhci->op_regs->status, in xhci_resume()
1132 command = readl(&xhci->op_regs->command); in xhci_resume()
1134 writel(command, &xhci->op_regs->command); in xhci_resume()
1140 if (xhci_handshake(&xhci->op_regs->status, in xhci_resume()
1146 temp = readl(&xhci->op_regs->status); in xhci_resume()
1173 temp = readl(&xhci->op_regs->status); in xhci_resume()
1174 writel((temp & ~0x1fff) | STS_EINT, &xhci->op_regs->status); in xhci_resume()
1182 readl(&xhci->op_regs->status)); in xhci_resume()
1211 command = readl(&xhci->op_regs->command); in xhci_resume()
1213 writel(command, &xhci->op_regs->command); in xhci_resume()
1214 xhci_handshake(&xhci->op_regs->status, STS_HALT, in xhci_resume()
1652 temp = readl(&xhci->op_regs->status); in xhci_urb_dequeue()
3940 state = readl(&xhci->op_regs->status); in xhci_disable_slot()
4230 temp_64 = xhci_read_64(xhci, &xhci->op_regs->dcbaa_ptr); in xhci_setup_device()
5235 xhci->op_regs = hcd->regs + in xhci_gen_setup()