Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/serial/
Doti6858.c100 u8 pin_state; member
529 buf->pin_state = 0x5b; /* RTS, CTS, DSR, DTR, RI, DCD */ in oti6858_open()
615 unsigned pin_state; in oti6858_tiocmget() local
619 pin_state = priv->status.pin_state & PIN_MASK; in oti6858_tiocmget()
623 if ((pin_state & PIN_RTS) != 0) in oti6858_tiocmget()
625 if ((pin_state & PIN_CTS) != 0) in oti6858_tiocmget()
627 if ((pin_state & PIN_DSR) != 0) in oti6858_tiocmget()
629 if ((pin_state & PIN_DTR) != 0) in oti6858_tiocmget()
631 if ((pin_state & PIN_RI) != 0) in oti6858_tiocmget()
633 if ((pin_state & PIN_DCD) != 0) in oti6858_tiocmget()
[all …]
/Linux-v5.4/drivers/mmc/host/
Drenesas_sdhi_core.c222 struct pinctrl_state *pin_state; in renesas_sdhi_start_signal_voltage_switch() local
227 pin_state = priv->pins_default; in renesas_sdhi_start_signal_voltage_switch()
230 pin_state = priv->pins_uhs; in renesas_sdhi_start_signal_voltage_switch()
240 if (IS_ERR(priv->pinctrl) || IS_ERR(pin_state)) in renesas_sdhi_start_signal_voltage_switch()
248 return pinctrl_select_state(priv->pinctrl, pin_state); in renesas_sdhi_start_signal_voltage_switch()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-messages.c911 mpin[i].pin_state == SKL_PIN_UNBIND) { in skl_alloc_queue()
923 mpin[i].pin_state == SKL_PIN_UNBIND) { in skl_alloc_queue()
942 mpin[q_index].pin_state = SKL_PIN_UNBIND; in skl_free_queue()
955 if (mpin[i].pin_state == SKL_PIN_UNBIND) in skl_clear_module_state()
1059 src_pin_state = src_mcfg->m_out_pin[src_index].pin_state; in skl_unbind_modules()
1060 dst_pin_state = dst_mcfg->m_in_pin[dst_index].pin_state; in skl_unbind_modules()
1179 src_mcfg->m_out_pin[src_index].pin_state = SKL_PIN_BIND_DONE; in skl_bind_modules()
1180 dst_mcfg->m_in_pin[dst_index].pin_state = SKL_PIN_BIND_DONE; in skl_bind_modules()
Dskl-topology.c754 if (mcfg->m_out_pin[i].pin_state != SKL_PIN_BIND_DONE) in skl_tplg_set_module_bind_params()
759 if (mcfg->m_in_pin[i].pin_state != SKL_PIN_BIND_DONE) in skl_tplg_set_module_bind_params()
1147 if (sink_mconfig->m_in_pin[i].pin_state == SKL_PIN_BIND_DONE) { in skl_tplg_mixer_dapm_pre_pmd_event()
1248 if (src_mconfig->m_out_pin[i].pin_state == SKL_PIN_BIND_DONE) { in skl_tplg_pga_dapm_post_pmd_event()
2064 m_pin[pin_count].pin_state = SKL_PIN_UNBIND; in skl_tplg_fill_pins_info()
2656 m_pin[i].pin_state = SKL_PIN_UNBIND; in skl_fill_module_pin_info_v4()
2846 mconfig->m_in_pin[i].pin_state = SKL_PIN_UNBIND; in skl_clear_pin_config()
2850 mconfig->m_out_pin[i].pin_state = SKL_PIN_UNBIND; in skl_clear_pin_config()
Dskl-debug.c47 m_pin[i].pin_state, i); in skl_print_pins()
Dskl-topology.h240 enum skl_module_pin_state pin_state; member
/Linux-v5.4/sound/pci/hda/
Dhda_generic.c4171 int pin_state, int stream_state) in set_path_power() argument
4186 if (pin_state >= 0) in set_path_power()
4187 path->pin_enabled = pin_state; in set_path_power()