Lines Matching full:linestate
147 * @ls_det_en: linestate detection enable register.
148 * @ls_det_st: linestate detection state register.
149 * @ls_det_clr: linestate detection clear register.
162 * @utmi_ls: utmi linestate state register.
165 * @port_ls_filter_con: set linestate filter time for otg port or host port.
217 * @ls_filter_con: set linestate filter time.
219 * @ls_filter_con: set linestate filter time.
256 * @ls_irq: IRQ number assigned for linestate detection.
258 * @otg_mux_irq: IRQ number which multiplex otg-id/otg-bvalid/linestate
846 /* clear linestate and enable linestate detect irq */ in rockchip_usb2phy_init()
849 dev_err(rphy->dev, "failed to enable linestate irq\n"); in rockchip_usb2phy_init()
1653 dev_dbg(&rport->phy->dev, "linestate is SE1, power on phy\n"); in rockchip_usb2phy_sm_work()
1670 * activate the linestate detection to get the next device in rockchip_usb2phy_sm_work()
1700 dev_dbg(&rport->phy->dev, "linestate interrupt\n"); in rockchip_usb2phy_linestate_irq()
1704 /* disable linestate detect irq and clear its status */ in rockchip_usb2phy_linestate_irq()
1710 * the linestate irq. in rockchip_usb2phy_linestate_irq()
1844 * Handle disc irq before linestate irq to set the disc in rockchip_usb2phy_irq()
1845 * state for sm work scheduled in the linestate irq handler. in rockchip_usb2phy_irq()
1851 /* Handle linestate irq for both otg port and host port */ in rockchip_usb2phy_irq()
1918 /* Init linestate irq for both otg port and host port */ in rockchip_usb2phy_port_irq_init()
1919 rport->ls_irq = of_irq_get_byname(child_np, "linestate"); in rockchip_usb2phy_port_irq_init()
1921 dev_err(rphy->dev, "no linestate irq provided\n"); in rockchip_usb2phy_port_irq_init()
1930 dev_err(rphy->dev, "failed to request linestate irq handle\n"); in rockchip_usb2phy_port_irq_init()
2748 /* Choose the Tx fs/ls data as linestate from TX driver for otg port */ in rk3528_usb2phy_tuning()
2989 * Set the linestate filter time to 1ms based in rockchip_usb2phy_pm_suspend()
3031 /* activate the linestate to detect the next interrupt. */ in rockchip_usb2phy_pm_suspend()
3036 dev_err(rphy->dev, "failed to enable linestate irq\n"); in rockchip_usb2phy_pm_suspend()