Home
last modified time | relevance | path

Searched refs:jack_status (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/sound/soc/codecs/
Drt700.c109 unsigned int jack_status = 0, reg; in rt700_headset_detect() local
127 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect()
128 if ((jack_status & (1 << 31)) == 0) in rt700_headset_detect()
160 unsigned int jack_status = 0, reg; in rt700_jack_detect_handler() local
169 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_jack_detect_handler()
174 if (jack_status & (1 << 31)) { in rt700_jack_detect_handler()
223 unsigned int jack_status = 0, reg; in rt700_btn_check_handler() local
226 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_btn_check_handler()
231 if (jack_status & (1 << 31)) { in rt700_btn_check_handler()
Drt711.c187 unsigned int jack_status = 0, reg; in rt711_headset_detect() local
205 ret = regmap_read(rt711->regmap, reg, &jack_status); in rt711_headset_detect()
208 if ((jack_status & (1 << 31)) == 0) in rt711_headset_detect()
240 unsigned int jack_status = 0, reg; in rt711_jack_detect_handler() local
256 ret = regmap_read(rt711->regmap, reg, &jack_status); in rt711_jack_detect_handler()
261 if (jack_status & (1 << 31)) { in rt711_jack_detect_handler()
310 unsigned int jack_status = 0, reg; in rt711_btn_check_handler() local
313 ret = regmap_read(rt711->regmap, reg, &jack_status); in rt711_btn_check_handler()
318 if (jack_status & (1 << 31)) { in rt711_btn_check_handler()
Dhdmi-codec.c275 unsigned int jack_status; member
835 unsigned int jack_status) in hdmi_codec_jack_report() argument
837 if (hcp->jack && jack_status != hcp->jack_status) { in hdmi_codec_jack_report()
838 snd_soc_jack_report(hcp->jack, jack_status, SND_JACK_LINEOUT); in hdmi_codec_jack_report()
839 hcp->jack_status = jack_status; in hdmi_codec_jack_report()
Dda7218.c2236 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()
/Linux-v6.1/sound/soc/intel/boards/
Dbytcr_rt5640.c496 int jack_status, mic_status; in byt_rt5640_hp_elitepad_1000g2_jack1_check() local
498 jack_status = gpiod_get_value_cansleep(rt5640_jack_gpio.desc); in byt_rt5640_hp_elitepad_1000g2_jack1_check()
499 if (jack_status) in byt_rt5640_hp_elitepad_1000g2_jack1_check()
512 int jack_status, report; in byt_rt5640_hp_elitepad_1000g2_jack2_check() local
514 jack_status = gpiod_get_value_cansleep(rt5640_jack2_gpio.desc); in byt_rt5640_hp_elitepad_1000g2_jack2_check()
515 if (jack_status) in byt_rt5640_hp_elitepad_1000g2_jack2_check()