Searched refs:jack_status (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | rt700.c | 110 unsigned int jack_status = 0, reg; in rt700_headset_detect() local 128 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect() 129 if ((jack_status & (1 << 31)) == 0) in rt700_headset_detect() 161 unsigned int jack_status = 0, reg; in rt700_jack_detect_handler() local 170 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_jack_detect_handler() 175 if (jack_status & (1 << 31)) { in rt700_jack_detect_handler() 224 unsigned int jack_status = 0, reg; in rt700_btn_check_handler() local 227 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_btn_check_handler() 232 if (jack_status & (1 << 31)) { in rt700_btn_check_handler()
|
H A D | rt711.c | 188 unsigned int jack_status = 0, reg; in rt711_headset_detect() local 206 ret = regmap_read(rt711->regmap, reg, &jack_status); in rt711_headset_detect() 209 if ((jack_status & (1 << 31)) == 0) in rt711_headset_detect() 241 unsigned int jack_status = 0, reg; in rt711_jack_detect_handler() local 257 ret = regmap_read(rt711->regmap, reg, &jack_status); in rt711_jack_detect_handler() 262 if (jack_status & (1 << 31)) { in rt711_jack_detect_handler() 311 unsigned int jack_status = 0, reg; in rt711_btn_check_handler() local 314 ret = regmap_read(rt711->regmap, reg, &jack_status); in rt711_btn_check_handler() 319 if (jack_status & (1 << 31)) { in rt711_btn_check_handler()
|
H A D | hdmi-codec.c | 288 unsigned int jack_status; member 865 unsigned int jack_status) in hdmi_codec_jack_report() argument 867 if (jack_status != hcp->jack_status) { in hdmi_codec_jack_report() 869 snd_soc_jack_report(hcp->jack, jack_status, SND_JACK_LINEOUT); in hdmi_codec_jack_report() 870 hcp->jack_status = jack_status; in hdmi_codec_jack_report() 903 snd_soc_jack_report(jack, hcp->jack_status, SND_JACK_LINEOUT); in hdmi_codec_set_jack()
|
H A D | da7218.c | 2236 u8 jack_status; in da7218_hpldet_irq() local 2239 jack_status = snd_soc_component_read(component, DA7218_EVENT_STATUS); in da7218_hpldet_irq() 2241 if (jack_status & DA7218_HPLDET_JACK_STS_MASK) in da7218_hpldet_irq()
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 502 int jack_status, mic_status; in byt_rt5640_hp_elitepad_1000g2_jack1_check() local 504 jack_status = gpiod_get_value_cansleep(rt5640_jack_gpio.desc); in byt_rt5640_hp_elitepad_1000g2_jack1_check() 505 if (jack_status) in byt_rt5640_hp_elitepad_1000g2_jack1_check() 518 int jack_status, report; in byt_rt5640_hp_elitepad_1000g2_jack2_check() local 520 jack_status = gpiod_get_value_cansleep(rt5640_jack2_gpio.desc); in byt_rt5640_hp_elitepad_1000g2_jack2_check() 521 if (jack_status) in byt_rt5640_hp_elitepad_1000g2_jack2_check()
|