Home
last modified time | relevance | path

Searched refs:det_mode (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/codecs/
H A Drt711-sdca.c84 static void rt711_sdca_ge_force_jack_type(struct rt711_sdca_priv *rt711, unsigned int det_mode) in rt711_sdca_ge_force_jack_type() argument
86 switch (det_mode) { in rt711_sdca_ge_force_jack_type()
266 unsigned int det_mode; in rt711_sdca_headset_detect() local
274 &det_mode); in rt711_sdca_headset_detect()
278 switch (det_mode) { in rt711_sdca_headset_detect()
291 if (det_mode) { in rt711_sdca_headset_detect()
294 det_mode); in rt711_sdca_headset_detect()
300 "%s, detected_mode=0x%x\n", __func__, det_mode); in rt711_sdca_headset_detect()
365 unsigned int det_mode, offset, val; in rt711_sdca_btn_check_handler() local
370 &det_mode); in rt711_sdca_btn_check_handler()
[all …]
H A Drt722-sdca.c140 unsigned int det_mode; in rt722_sdca_headset_detect() local
146 RT722_SDCA_CTL_DETECTED_MODE, 0), &det_mode); in rt722_sdca_headset_detect()
150 switch (det_mode) { in rt722_sdca_headset_detect()
163 if (det_mode) { in rt722_sdca_headset_detect()
166 RT722_SDCA_CTL_SELECTED_MODE, 0), det_mode); in rt722_sdca_headset_detect()
172 "%s, detected_mode=0x%x\n", __func__, det_mode); in rt722_sdca_headset_detect()
237 unsigned int det_mode, offset, val; in rt722_sdca_btn_check_handler() local
242 RT722_SDCA_CTL_DETECTED_MODE, 0), &det_mode); in rt722_sdca_btn_check_handler()
247 if (det_mode) { in rt722_sdca_btn_check_handler()