Lines Matching refs:port_regs
102 __le32 __iomem *port_regs, in cdnsp_set_link_state() argument
108 temp = readl(port_regs); in cdnsp_set_link_state()
111 writel(temp, port_regs); in cdnsp_set_link_state()
119 trace_cdnsp_handle_port_status(port_num, readl(port_regs)); in cdnsp_set_link_state()
120 writel(temp, port_regs); in cdnsp_set_link_state()
121 trace_cdnsp_link_state_changed(port_num, readl(port_regs)); in cdnsp_set_link_state()
125 __le32 __iomem *port_regs) in cdnsp_disable_port() argument
127 u32 temp = cdnsp_port_state_to_neutral(readl(port_regs)); in cdnsp_disable_port()
129 writel(temp | PORT_PED, port_regs); in cdnsp_disable_port()
133 __le32 __iomem *port_regs) in cdnsp_clear_port_change_bit() argument
135 u32 portsc = readl(port_regs); in cdnsp_clear_port_change_bit()
138 (portsc & PORT_CHANGE_BITS), port_regs); in cdnsp_clear_port_change_bit()
1485 struct cdnsp_port_regs __iomem *port_regs; in __cdnsp_gadget_wakeup() local
1488 port_regs = pdev->active_port->regs; in __cdnsp_gadget_wakeup()
1489 portsc = readl(&port_regs->portsc) & PORT_PLS_MASK; in __cdnsp_gadget_wakeup()
1493 portpm = readl(&port_regs->portpmsc); in __cdnsp_gadget_wakeup()
1502 cdnsp_set_link_state(pdev, &port_regs->portsc, XDEV_U0); in __cdnsp_gadget_wakeup()
1735 struct cdnsp_port_regs __iomem *port_regs; in cdnsp_irq_reset() local
1739 port_regs = pdev->active_port->regs; in cdnsp_irq_reset()
1740 pdev->gadget.speed = cdnsp_port_speed(readl(port_regs)); in cdnsp_irq_reset()