Home
last modified time | relevance | path

Searched refs:op_regs (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/usb/gadget/
Dmv_udc_core.c85 epctrlx = readl(&udc->op_regs->epctrlx[0]); in ep0_reset()
97 writel(epctrlx, &udc->op_regs->epctrlx[0]); in ep0_reset()
107 epctrlx = readl(&udc->op_regs->epctrlx[0]); in ep0_stall()
109 writel(epctrlx, &udc->op_regs->epctrlx[0]); in ep0_stall()
254 if (readl(&udc->op_regs->epprime) & bit_pos) { in queue_dtd()
256 while (readl(&udc->op_regs->epprime) & bit_pos) { in queue_dtd()
264 if (readl(&udc->op_regs->epstatus) & bit_pos) in queue_dtd()
275 tmp = readl(&udc->op_regs->usbcmd); in queue_dtd()
277 writel(tmp, &udc->op_regs->usbcmd); in queue_dtd()
280 epstatus = readl(&udc->op_regs->epstatus) & bit_pos; in queue_dtd()
[all …]
Dlangwell_udc.c107 readl(&dev->op_regs->extsts)); in print_all_registers()
109 readl(&dev->op_regs->extintr)); in print_all_registers()
111 readl(&dev->op_regs->usbcmd)); in print_all_registers()
113 readl(&dev->op_regs->usbsts)); in print_all_registers()
115 readl(&dev->op_regs->usbintr)); in print_all_registers()
117 readl(&dev->op_regs->frindex)); in print_all_registers()
119 readl(&dev->op_regs->ctrldssegment)); in print_all_registers()
121 readl(&dev->op_regs->deviceaddr)); in print_all_registers()
123 readl(&dev->op_regs->endpointlistaddr)); in print_all_registers()
125 readl(&dev->op_regs->ttctrl)); in print_all_registers()
[all …]
Dlangwell_udc.h210 struct langwell_op_regs __iomem *op_regs; member
Dmv_udc.h174 struct mv_op_regs __iomem *op_regs; member
/linux-2.6.39/drivers/usb/host/
Dxhci.c82 halted = xhci_readl(xhci, &xhci->op_regs->status) & STS_HALT; in xhci_quiesce()
86 cmd = xhci_readl(xhci, &xhci->op_regs->command); in xhci_quiesce()
88 xhci_writel(xhci, cmd, &xhci->op_regs->command); in xhci_quiesce()
105 ret = handshake(xhci, &xhci->op_regs->status, in xhci_halt()
120 temp = xhci_readl(xhci, &xhci->op_regs->command); in xhci_start()
124 xhci_writel(xhci, temp, &xhci->op_regs->command); in xhci_start()
130 ret = handshake(xhci, &xhci->op_regs->status, in xhci_start()
154 state = xhci_readl(xhci, &xhci->op_regs->status); in xhci_reset()
161 command = xhci_readl(xhci, &xhci->op_regs->command); in xhci_reset()
163 xhci_writel(xhci, command, &xhci->op_regs->command); in xhci_reset()
[all …]
Dxhci-dbg.c45 xhci_dbg(xhci, "// xHCI operational registers at %p:\n", xhci->op_regs); in xhci_dbg_regs()
113 temp = xhci_readl(xhci, &xhci->op_regs->command); in xhci_print_command_reg()
131 temp = xhci_readl(xhci, &xhci->op_regs->status); in xhci_print_status()
143 xhci_dbg(xhci, "xHCI operational registers at %p:\n", xhci->op_regs); in xhci_print_op_regs()
161 addr = &xhci->op_regs->port_status_base; in xhci_print_ports()
414 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_dbg_cmd_ptrs()
Dxhci-hub.c830 temp = xhci_readl(xhci, &xhci->op_regs->command); in xhci_bus_resume()
832 xhci_writel(xhci, temp, &xhci->op_regs->command); in xhci_bus_resume()
906 (void) xhci_readl(xhci, &xhci->op_regs->command); in xhci_bus_resume()
910 temp = xhci_readl(xhci, &xhci->op_regs->command); in xhci_bus_resume()
912 xhci_writel(xhci, temp, &xhci->op_regs->command); in xhci_bus_resume()
913 temp = xhci_readl(xhci, &xhci->op_regs->command); in xhci_bus_resume()
Dxhci-mem.c1498 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_mem_cleanup()
1527 xhci_write_64(xhci, 0, &xhci->op_regs->dcbaa_ptr); in xhci_mem_cleanup()
1872 &xhci->op_regs->port_status_base + in xhci_setup_port_arrays()
1892 &xhci->op_regs->port_status_base + in xhci_setup_port_arrays()
1915 page_size = xhci_readl(xhci, &xhci->op_regs->page_size); in xhci_mem_init()
1938 val2 = xhci_readl(xhci, &xhci->op_regs->config_reg); in xhci_mem_init()
1942 xhci_writel(xhci, val, &xhci->op_regs->config_reg); in xhci_mem_init()
1956 xhci_write_64(xhci, dma, &xhci->op_regs->dcbaa_ptr); in xhci_mem_init()
1998 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init()
2003 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init()
Dxhci-pci.c93 xhci->op_regs = hcd->regs + in xhci_pci_setup()
Dxhci-ring.c1310 temp1 = xhci_readl(xhci, &xhci->op_regs->command); in handle_port_status()
2244 status = xhci_readl(xhci, &xhci->op_regs->status); in xhci_irq()
2276 xhci_writel(xhci, status, &xhci->op_regs->status); in xhci_irq()
Dxhci.h1202 struct xhci_op_regs __iomem *op_regs; member