Searched refs:line_state (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/serial/
H A Dkl5kusb105.c117 unsigned long line_state; /* modem line settings */ member in struct:klsi_105_private
231 priv->line_state = 0; klsi_105_port_probe()
258 unsigned long line_state; klsi_105_open() local
267 * priv->line_state. klsi_105_open()
317 rc = klsi_105_get_line_state(port, &line_state); klsi_105_open()
320 priv->line_state = line_state; klsi_105_open()
322 dev_dbg(&port->dev, "%s - read line state 0x%lx\n", __func__, line_state); klsi_105_open()
585 unsigned long line_state; klsi_105_tiocmget() local
587 rc = klsi_105_get_line_state(port, &line_state); klsi_105_tiocmget()
596 priv->line_state = line_state; klsi_105_tiocmget()
598 dev_dbg(&port->dev, "%s - read line state 0x%lx\n", __func__, line_state); klsi_105_tiocmget()
599 return (int)line_state; klsi_105_tiocmget()
/linux-4.4.14/drivers/usb/phy/
H A Dphy-mxs-usb.c344 unsigned int line_state; mxs_phy_is_low_speed_connection() local
359 regmap_read(mxs_phy->regmap_anatop, reg, &line_state); mxs_phy_is_low_speed_connection()
361 if ((line_state & (dp_bit | dm_bit)) == dm_bit) mxs_phy_is_low_speed_connection()
H A Dphy-msm-usb.c952 u32 line_state; msm_chg_check_dcd() local
957 line_state = ulpi_read(phy, 0x15); msm_chg_check_dcd()
958 ret = !(line_state & 1); msm_chg_check_dcd()
961 line_state = ulpi_read(phy, 0x87); msm_chg_check_dcd()
962 ret = line_state & 2; msm_chg_check_dcd()

Completed in 93 milliseconds