| /OK3568_Linux_fs/kernel/drivers/headset_observe/ |
| H A D | rk_headset_irq_hook_adc.c | 58 #define HEADSET 0 macro 86 /* headset private data */ 94 /* headset interrupt working will not check hook key */ 115 disable_irq_nosync(headset_info->irq[HEADSET]); in headset_interrupt() 155 DBG("---- ERROR: on headset headset_insert_type error -----\n"); in headset_interrupt() 159 DBG("Read Headset IO level old status == now status =%d\n", in headset_interrupt() 164 pr_info("(headset in is %s)headset status is %s\n", in headset_interrupt() 179 DBG("headset notice android headset status = %d\n", in headset_interrupt() 183 irq_set_irq_type(headset_info->irq[HEADSET], in headset_interrupt() 186 irq_set_irq_type(headset_info->irq[HEADSET], in headset_interrupt() [all …]
|
| H A D | rk_headset.c | 54 #define HEADSET 0 macro 71 /* headset private data */ 138 schedule_delayed_work(&headset_info->h_delayed_work[HEADSET], in headset_interrupt() 160 mutex_lock(&headset_info->mutex_lock[HEADSET]); in headsetobserve_work() 180 DBG("(headset in is %s)headset status is %s\n", in headsetobserve_work() 186 irq_set_irq_type(headset_info->irq[HEADSET], in headsetobserve_work() 189 irq_set_irq_type(headset_info->irq[HEADSET], in headsetobserve_work() 207 irq_set_irq_type(headset_info->irq[HEADSET], in headsetobserve_work() 210 irq_set_irq_type(headset_info->irq[HEADSET], in headsetobserve_work() 222 mutex_unlock(&headset_info->mutex_lock[HEADSET]); in headsetobserve_work() [all …]
|
| H A D | Kconfig | 3 # Headset device configuration 6 menu "Headset device support" 9 tristate "Rockchips HeadSet support" 11 Rockchips HeadSet support:
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | samsung,aries-wm8994.yaml | 50 For samsung,aries-wm8994: HP, SPK, RCV, LINE, Main Mic, Headset Mic, 61 headset-micbias-supply: 62 description: Supply for the micbias on the headset mic 67 headset-detect-gpios: 68 description: GPIO for detection of headset insertion 70 headset-key-gpios: 71 description: GPIO for detection of headset key press 75 description: IO channel to read micbias voltage for headset detection 78 const: headset-detect 88 - headset-micbias-supply [all …]
|
| H A D | omap-abe-twl6040.txt | 21 * Headset Stereophone 26 * Headset Mic 48 * Headset Mic Bias 72 "Headset Stereophone", "HSOL", 73 "Headset Stereophone", "HSOR", 81 "HSMIC", "Headset Mic", 82 "Headset Mic", "Headset Mic Bias",
|
| H A D | nvidia,tegra-audio-alc5632.txt | 18 * Headset Stereophone 20 * Headset Mic 37 "Headset Mic","MICBIAS1", 38 "MIC1_N", "Headset Mic", 39 "MIC1_P", "Headset Mic", 40 "Headset Stereophone", "HP_OUT_R", 41 "Headset Stereophone", "HP_OUT_L";
|
| /OK3568_Linux_fs/kernel/Documentation/sound/hd-audio/ |
| H A D | models.rst | 75 headset-mic 76 Indicates a combined headset (headphone+mic) jack 77 headset-mode 78 More comprehensive headset support for ALC269 & co 79 headset-mode-no-hp-mic 80 Headset mode support without headphone mic 87 dell-headset-multi 88 Headset jack, which can also be used as mic-in 89 dell-headset-dock 90 Headset jack (without mic-in), and also dock I/O [all …]
|
| /OK3568_Linux_fs/external/alsa-config/alsa/ucm2/conf.d/rockchip-es8388/ |
| H A D | HiFi.conf | 9 cset "name='Headset Mic Switch' off" 13 cset "name='Headset Mic Switch' off" 54 "Headset" 94 SectionDevice."Headset" { 95 Comment "Headset Microphone" 104 JackControl "Headset Mic Jack" 110 cset "name='Headset Mic Switch' on" 114 cset "name='Headset Mic Switch' off"
|
| /OK3568_Linux_fs/debian/overlay/usr/share/alsa/ucm2/rockchip-es8388/ |
| H A D | HiFi.conf | 9 cset "name='Headset Mic Switch' off" 13 cset "name='Headset Mic Switch' off" 54 "Headset" 94 SectionDevice."Headset" { 95 Comment "Headset Microphone" 104 JackControl "Headset Mic Jack" 110 cset "name='Headset Mic Switch' on" 114 cset "name='Headset Mic Switch' off"
|
| /OK3568_Linux_fs/kernel/sound/soc/ti/ |
| H A D | omap-twl4030.c | 69 SND_SOC_DAPM_HP("Headset Stereophone", NULL), 75 SND_SOC_DAPM_MIC("Headset Mic", NULL), 83 /* Headset Stereophone: HSOL, HSOR */ 84 {"Headset Stereophone", NULL, "HSOL"}, 85 {"Headset Stereophone", NULL, "HSOR"}, 103 /* Headset Mic: HSMIC with bias */ 104 {"HSMIC", NULL, "Headset Mic"}, 105 {"Headset Mic", NULL, "Headset Mic Bias"}, 118 /* Headset jack detection DAPM pins */ 121 .pin = "Headset Mic", [all …]
|
| H A D | omap-abe-twl6040.c | 103 /* Headset jack */ 106 /*Headset jack detection DAPM pins */ 109 .pin = "Headset Mic", 113 .pin = "Headset Stereophone", 121 SND_SOC_DAPM_HP("Headset Stereophone", NULL), 128 SND_SOC_DAPM_MIC("Headset Mic", NULL), 139 {"Headset Stereophone", NULL, "HSOL"}, 140 {"Headset Stereophone", NULL, "HSOR"}, 154 {"HSMIC", NULL, "Headset Mic"}, 155 {"Headset Mic", NULL, "Headset Mic Bias"}, [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/pxa/ |
| H A D | ttc-dkb.c | 20 { .pin = "Headset Stereophone", .mask = SND_JACK_HEADPHONE, }, 24 { .pin = "Headset Mic 2", .mask = SND_JACK_MICROPHONE, }, 29 SND_SOC_DAPM_HP("Headset Stereophone", NULL), 34 SND_SOC_DAPM_MIC("Headset Mic 2", NULL), 40 {"Headset Stereophone", NULL, "HS1"}, 41 {"Headset Stereophone", NULL, "HS2"}, 55 {"Mic1 Bias", NULL, "Headset Mic 2"}, 66 /* Headset jack detection */ in ttc_pm860x_init() 74 /* headphone, microphone detection & headset short detection */ in ttc_pm860x_init()
|
| H A D | spitz.c | 55 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() 65 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() 74 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() 81 /* enable and unmute headset jack enable mic bias, mute L hp */ in spitz_ext_control() 85 snd_soc_dapm_enable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() 93 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() 213 /* headset is a mic and mono headphone */ 214 SND_SOC_DAPM_HP("Headset Jack", NULL), 224 /* headset connected to ROUT1 and LINPUT1 with bias (def below) */ 225 {"Headset Jack", NULL, "ROUT1"}, [all …]
|
| H A D | tosa.c | 13 * 5 - Hookswitch (headset answer/hang up switch) 49 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control() 54 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control() 59 snd_soc_dapm_enable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control() 138 SND_SOC_DAPM_HP("Headset Jack", NULL), 159 /* headset is connected to HPOUTR, and LINEINR with bias */ 160 {"Headset Jack", NULL, "HPOUTR"}, 162 {"Mic Bias", NULL, "Headset Jack"}, 166 "Headset", "Off"};
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/boards/ |
| H A D | sof_da7219_max98373.c | 31 struct snd_soc_jack headset; member 67 SOC_DAPM_PIN_SWITCH("Headset Mic"), 74 SOC_DAPM_PIN_SWITCH("Headset Mic"), 81 SND_SOC_DAPM_MIC("Headset Mic", NULL), 97 { "MIC", NULL, "Headset Mic" }, 100 { "Headset Mic", NULL, "Platform Clock" }, 112 SND_SOC_DAPM_MIC("Headset Mic", NULL), 127 { "MIC", NULL, "Headset Mic" }, 130 { "Headset Mic", NULL, "Platform Clock" }, 138 static struct snd_soc_jack headset; variable [all …]
|
| H A D | sof_sdw_rt5682.c | 22 SND_SOC_DAPM_MIC("Headset Mic", NULL), 29 { "rt5682 IN1P", NULL, "Headset Mic" }, 34 SOC_DAPM_PIN_SWITCH("Headset Mic"), 43 .pin = "Headset Mic", 85 ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", in rt5682_rtd_init() 93 dev_err(rtd->card->dev, "Headset Jack creation failed: %d\n", in rt5682_rtd_init() 108 dev_err(rtd->card->dev, "Headset Jack call-back failed: %d\n", in rt5682_rtd_init() 120 * headset should be initialized once. in sof_sdw_rt5682_init()
|
| H A D | sof_sdw_rt711_sdca.c | 47 SND_SOC_DAPM_MIC("Headset Mic", NULL), 53 { "rt711 MIC2", NULL, "Headset Mic" }, 58 SOC_DAPM_PIN_SWITCH("Headset Mic"), 67 .pin = "Headset Mic", 109 ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", in rt711_sdca_rtd_init() 117 dev_err(rtd->card->dev, "Headset Jack creation failed: %d\n", in rt711_sdca_rtd_init() 132 dev_err(rtd->card->dev, "Headset Jack call-back failed: %d\n", in rt711_sdca_rtd_init() 161 * headset should be initialized once. in sof_sdw_rt711_sdca_init()
|
| H A D | sof_sdw_rt711.c | 47 SND_SOC_DAPM_MIC("Headset Mic", NULL), 53 { "rt711 MIC2", NULL, "Headset Mic" }, 58 SOC_DAPM_PIN_SWITCH("Headset Mic"), 67 .pin = "Headset Mic", 109 ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", in rt711_rtd_init() 117 dev_err(rtd->card->dev, "Headset Jack creation failed: %d\n", in rt711_rtd_init() 132 dev_err(rtd->card->dev, "Headset Jack call-back failed: %d\n", in rt711_rtd_init() 161 * headset should be initialized once. in sof_sdw_rt711_init()
|
| H A D | cht_bsw_rt5672.c | 31 struct snd_soc_jack headset; member 36 /* Headset jack detection DAPM pins */ 39 .pin = "Headset Mic", 105 SND_SOC_DAPM_MIC("Headset Mic", NULL), 114 {"IN1P", NULL, "Headset Mic"}, 115 {"IN1N", NULL, "Headset Mic"}, 131 {"Headset Mic", NULL, "Platform Clock"}, 138 SOC_DAPM_PIN_SWITCH("Headset Mic"), 172 { "headset-gpios", &headset_gpios, 1 }, 200 ret = snd_soc_card_jack_new(runtime->card, "Headset", in cht_codec_init() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/sound/soc/ |
| H A D | dpcm.rst | 32 PCM0 <------------> * * <----DAI0-----> Codec Headset 46 FM digital radio, Speakers, Headset Jack, digital microphones and cellular 56 Audio is being played to the Headset. After a while the user removes the headset 59 Playback on PCM0 to Headset would look like :- 63 PCM0 <============> * * <====DAI0=====> Codec Headset 76 The headset is removed from the jack by user so the speakers must now be used :- 80 PCM0 <============> * * <----DAI0-----> Codec Headset 97 2. Machine driver OR audio HAL disables the Headset path. 100 for headset since the path is now disabled. 133 PCM0 <------------> * * <----DAI0-----> Codec Headset [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | twl6040.c | 199 /* set headset dac and driver power mode */ 229 * Workaround for Headset DC offset caused pop noise: in twl6040_hs_dac_event() 376 {"Headset Mic", "Main Mic", "Aux/FM Left", "Off"}; 380 {"Headset Mic", "Sub Mic", "Aux/FM Right", "Off"}; 430 /* Headset DAC playback switches */ 464 /* Headset power mode */ 586 SOC_DOUBLE_TLV("Headset Playback Volume", 593 SOC_ENUM_EXT("Headset Power Mode", twl6040_power_mode_enum, 598 SOC_SINGLE("Headset Mono to Stereo Playback Switch", 651 SND_SOC_DAPM_SUPPLY("Headset Mic Bias", [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_max98090.c | 27 /* Headset jack detection DAPM pins */ 34 .pin = "Headset Mic", 42 SND_SOC_DAPM_MIC("Headset Mic", NULL), \ 63 {"IN34", NULL, "Headset Mic"}, \ 64 {"Headset Mic", NULL, "MICBIAS"}, \ 89 SOC_DAPM_PIN_SWITCH("Headset Mic"), \ 347 /* Enable Headset and 4 Buttons Jack detection */ in rk_98090_headset_init() 348 ret = snd_soc_card_jack_new(component->card, "Headset Jack", in rk_98090_headset_init() 366 np, "rockchip,headset-codec", 0); in rk_parse_headset_from_of() 369 "Property 'rockchip,headset-codec' missing/invalid\n"); in rk_parse_headset_from_of() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/samsung/ |
| H A D | tobermory.c | 135 SND_SOC_DAPM_MIC("Headset Mic", NULL), 150 { "Headset Mic", NULL, "MICBIAS" }, 151 { "IN4L", NULL, "Headset Mic" }, 152 { "IN4R", NULL, "Headset Mic" }, 164 /* Headset jack detection DAPM pins */ 167 .pin = "Headset Mic", 192 ret = snd_soc_card_jack_new(card, "Headset", SND_JACK_HEADSET | in tobermory_late_probe()
|
| /OK3568_Linux_fs/external/alsa-config/alsa/ucm2/conf.d/rockchip-rk809/ |
| H A D | HiFi.conf | 38 "Headset" 77 SectionDevice."Headset" { 78 Comment "Headset Microphone" 87 JackControl "Headset Mic Jack"
|
| /OK3568_Linux_fs/external/alsa-config/alsa/ucm2/conf.d/rockchip-rk817/ |
| H A D | HiFi.conf | 38 "Headset" 77 SectionDevice."Headset" { 78 Comment "Headset Microphone" 87 JackControl "Headset Mic Jack"
|