Home
last modified time | relevance | path

Searched refs:pin_state (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/serial/
H A Doti6858.c100 u8 pin_state; member
527 buf->pin_state = 0x5b; /* RTS, CTS, DSR, DTR, RI, DCD */ in oti6858_open()
613 unsigned pin_state; in oti6858_tiocmget() local
617 pin_state = priv->status.pin_state & PIN_MASK; in oti6858_tiocmget()
621 if ((pin_state & PIN_RTS) != 0) in oti6858_tiocmget()
623 if ((pin_state & PIN_CTS) != 0) in oti6858_tiocmget()
625 if ((pin_state & PIN_DSR) != 0) in oti6858_tiocmget()
627 if ((pin_state & PIN_DTR) != 0) in oti6858_tiocmget()
629 if ((pin_state & PIN_RI) != 0) in oti6858_tiocmget()
631 if ((pin_state & PIN_DCD) != 0) in oti6858_tiocmget()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddpll.c19 enum dpll_pin_state pin_state; member
258 enum dpll_pin_state pin_state; in mlx5_dpll_periodic_work() local
265 pin_state = mlx5_dpll_pin_state_get(&synce_status); in mlx5_dpll_periodic_work()
272 if (mdpll->last.pin_state != pin_state) in mlx5_dpll_periodic_work()
277 mdpll->last.pin_state = pin_state; in mlx5_dpll_periodic_work()
/linux/sound/pci/hda/
H A Dcirrus_scodec_test.c16 unsigned int pin_state; member
42 return !!(gpio_priv->pin_state & BIT(offset)); in cirrus_scodec_test_gpio_get()
223 priv->gpio_priv->pin_state = in cirrus_scodec_test_spkid_parse()
229 i, priv->gpio_priv->pin_state); in cirrus_scodec_test_spkid_parse()
H A Dhda_generic.c4136 int pin_state, int stream_state) in set_path_power() argument
4151 if (pin_state >= 0) in set_path_power()
4152 path->pin_enabled = pin_state; in set_path_power()
/linux/drivers/mmc/host/
H A Drenesas_sdhi_core.c256 struct pinctrl_state *pin_state; in renesas_sdhi_start_signal_voltage_switch() local
261 pin_state = priv->pins_default; in renesas_sdhi_start_signal_voltage_switch()
264 pin_state = priv->pins_uhs; in renesas_sdhi_start_signal_voltage_switch()
274 if (IS_ERR(priv->pinctrl) || IS_ERR(pin_state)) in renesas_sdhi_start_signal_voltage_switch()
282 return pinctrl_select_state(priv->pinctrl, pin_state); in renesas_sdhi_start_signal_voltage_switch()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c289 u8 *pin_state, *pin_usg; in bnxt_ptp_cfg_pin() local
306 pin_state = &req->pin0_state; in bnxt_ptp_cfg_pin()
309 *(pin_state + (pin * 2)) = state; in bnxt_ptp_cfg_pin()