Home
last modified time | relevance | path

Searched refs:machine (Results 1 – 25 of 29) sorted by relevance

12

/sound/soc/tegra/
Dtegra_asoc_machine.c72 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event() local
75 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event()
79 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event()
83 gpiod_set_value_cansleep(machine->gpiod_int_mic_en, in tegra_machine_event()
87 gpiod_set_value_cansleep(machine->gpiod_hp_mute, in tegra_machine_event()
126 struct tegra_machine *machine = snd_soc_card_get_drvdata(card); in tegra_asoc_machine_init() local
130 if (machine->gpiod_hp_det && machine->asoc->add_hp_jack) { in tegra_asoc_machine_init()
131 if (machine->asoc->hp_jack_name) in tegra_asoc_machine_init()
132 jack_name = machine->asoc->hp_jack_name; in tegra_asoc_machine_init()
147 tegra_machine_hp_jack_gpio.desc = machine->gpiod_hp_det; in tegra_asoc_machine_init()
[all …]
Dtegra_wm8903.c57 struct tegra_machine *machine = snd_soc_card_get_drvdata(rtd->card); in tegra_wm8903_init() local
67 if (machine->asoc->hp_jack_gpio_active_low) { in tegra_wm8903_init()
68 bool active_low = gpiod_is_active_low(machine->gpiod_hp_det); in tegra_wm8903_init()
70 machine->hp_jack_gpio->invert = !active_low; in tegra_wm8903_init()
77 if (!machine->gpiod_mic_det && machine->asoc->add_mic_jack) { in tegra_wm8903_init()
84 machine->mic_jack, in tegra_wm8903_init()
95 wm8903_mic_detect(component, machine->mic_jack, in tegra_wm8903_init()
DKconfig21 machine drivers to support below.
27 You will also need to select the individual machine drivers to
36 machine drivers to support below.
42 You will also need to select the individual machine drivers to support
49 You will also need to select the individual machine drivers to
58 machine drivers to support below.
184 Config to enable Tegra audio machine driver based on generic
DMakefile46 snd-soc-tegra-machine-objs := tegra_asoc_machine.o
50 obj-$(CONFIG_SND_SOC_TEGRA_MACHINE_DRV) += snd-soc-tegra-machine.o
/sound/soc/rockchip/
Drk3288_hdmi_analog.c36 struct rk_drvdata *machine = snd_soc_card_get_drvdata(w->dapm->card); in rk_hp_power() local
38 if (!gpio_is_valid(machine->gpio_hp_en)) in rk_hp_power()
41 gpio_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power()
123 struct rk_drvdata *machine = snd_soc_card_get_drvdata(runtime->card); in rk_init() local
126 if (gpio_is_valid(machine->gpio_hp_det)) { in rk_init()
131 rk_hp_jack_gpio.gpio = machine->gpio_hp_det; in rk_init()
175 struct rk_drvdata *machine; in snd_rk_mc_probe() local
178 machine = devm_kzalloc(&pdev->dev, sizeof(struct rk_drvdata), in snd_rk_mc_probe()
180 if (!machine) in snd_rk_mc_probe()
185 machine->gpio_hp_det = of_get_named_gpio(np, in snd_rk_mc_probe()
[all …]
/sound/soc/amd/
Dacp-da7219-max98357a.c232 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_da7219_play_startup() local
244 machine->play_i2s_instance = I2S_SP_INSTANCE; in cz_da7219_play_startup()
253 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_da7219_cap_startup() local
265 machine->cap_i2s_instance = I2S_SP_INSTANCE; in cz_da7219_cap_startup()
266 machine->capture_channel = CAP_CHANNEL1; in cz_da7219_cap_startup()
275 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_max_startup() local
287 machine->play_i2s_instance = I2S_BT_INSTANCE; in cz_max_startup()
296 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_dmic0_startup() local
308 machine->cap_i2s_instance = I2S_BT_INSTANCE; in cz_dmic0_startup()
317 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_dmic1_startup() local
[all …]
Dacp-es8336.c109 struct acp_platform_info *machine; in st_es8336_codec_startup() local
116 machine = snd_soc_card_get_drvdata(card); in st_es8336_codec_startup()
129 machine->play_i2s_instance = I2S_MICSP_INSTANCE; in st_es8336_codec_startup()
130 machine->cap_i2s_instance = I2S_MICSP_INSTANCE; in st_es8336_codec_startup()
131 machine->capture_channel = CAP_CHANNEL0; in st_es8336_codec_startup()
272 struct acp_platform_info *machine; in st_es8336_probe() local
274 machine = devm_kzalloc(&pdev->dev, sizeof(struct acp_platform_info), GFP_KERNEL); in st_es8336_probe()
275 if (!machine) in st_es8336_probe()
289 snd_soc_card_set_drvdata(card, machine); in st_es8336_probe()
Dacp3x-rt5682-max9836.c186 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp3x_5682_startup() local
188 machine->play_i2s_instance = I2S_SP_INSTANCE; in acp3x_5682_startup()
189 machine->cap_i2s_instance = I2S_SP_INSTANCE; in acp3x_5682_startup()
204 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp3x_max_startup() local
206 machine->play_i2s_instance = I2S_BT_INSTANCE; in acp3x_max_startup()
221 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp3x_ec_dmic0_startup() local
223 machine->cap_i2s_instance = I2S_BT_INSTANCE; in acp3x_ec_dmic0_startup()
490 struct acp3x_platform_info *machine; in acp3x_probe() local
497 machine = devm_kzalloc(&pdev->dev, sizeof(*machine), GFP_KERNEL); in acp3x_probe()
498 if (!machine) in acp3x_probe()
[all …]
DKconfig17 This option enables machine driver for DA7219, RT5682 and MAX9835.
24 This option enables machine driver for rt5645.
33 This option enables machine driver for Jadeite platform
55 This option enables machine driver for RT5682 and MAX9835.
69 This option enables machine driver for DMIC
88 This option enables machine driver for Vangogh platform
108 This option enables machine driver for Yellow Carp platform
148 This option enables machine driver for Pink Sardine platform
/sound/soc/intel/boards/
DKconfig6 Intel ASoC Machine Drivers. If you have a Intel machine that
12 the questions about Intel ASoC machine drivers.
66 This adds the ASoC machine driver for Intel Broadwell platforms with
110 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
123 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
136 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
149 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
161 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
174 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
186 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
[all …]
/sound/soc/amd/vangogh/
Dacp5x-mach.c113 struct acp5x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp5x_8821_startup() local
115 machine->play_i2s_instance = I2S_SP_INSTANCE; in acp5x_8821_startup()
116 machine->cap_i2s_instance = I2S_SP_INSTANCE; in acp5x_8821_startup()
156 struct acp5x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp5x_cs35l41_startup() local
158 machine->play_i2s_instance = I2S_HS_INSTANCE; in acp5x_cs35l41_startup()
362 struct acp5x_platform_info *machine; in acp5x_probe() local
365 machine = devm_kzalloc(&pdev->dev, sizeof(struct acp5x_platform_info), in acp5x_probe()
367 if (!machine) in acp5x_probe()
380 snd_soc_card_set_drvdata(card, machine); in acp5x_probe()
/sound/soc/
Dsoc-acpi.c11 static bool snd_soc_acpi_id_present(struct snd_soc_acpi_mach *machine) in snd_soc_acpi_id_present() argument
13 const struct snd_soc_acpi_codecs *comp_ids = machine->comp_ids; in snd_soc_acpi_id_present()
16 if (machine->id[0]) { in snd_soc_acpi_id_present()
17 if (acpi_dev_present(machine->id, NULL, -1)) in snd_soc_acpi_id_present()
24 strscpy(machine->id, comp_ids->codecs[i], ACPI_ID_LEN); in snd_soc_acpi_id_present()
/sound/soc/intel/avs/boards/
DKconfig65 This adds support for ASoC machine driver with NAU8825 I2S audio codec.
76 This adds support for ASoC machine driver with RT274 I2S audio codec.
86 This adds support for ASoC machine driver with RT286 I2S audio codec.
96 This adds support for ASoC machine driver with RT298 I2S audio codec.
106 This adds support for ASoC machine driver with RT5682 I2S audio codec.
116 This adds support for ASoC machine driver with SSM4567 I2S audio codec.
/sound/soc/amd/ps/
Dps-mach.c48 struct acp63_pdm *machine = NULL; in acp63_probe() local
56 snd_soc_card_set_drvdata(card, machine); in acp63_probe()
/sound/soc/amd/renoir/
Dacp3x-rn.c47 struct acp_pdm *machine = NULL; in acp_probe() local
54 snd_soc_card_set_drvdata(card, machine); in acp_probe()
/sound/aoa/fabrics/
DKconfig11 If you are unsure and have a later Apple machine,
/sound/soc/sof/
Dsof-audio.c834 sof_pdata->machine = mach; in sof_machine_check()
870 sof_pdata->machine = mach; in sof_machine_check()
884 drv_name = plat_data->machine->drv_name; in sof_machine_register()
885 mach = plat_data->machine; in sof_machine_register()
886 size = sizeof(*plat_data->machine); in sof_machine_register()
DKconfig102 This adds support for a dummy/nocodec machine driver fallback
143 This forces SOF to use dummy/nocodec as machine driver, even
146 codec/machine driver is ready, or to exclude the impact of those
Dpcm.c659 if (plat_data->machine) in snd_sof_new_platform_drv()
660 drv_name = plat_data->machine->drv_name; in snd_sof_new_platform_drv()
/sound/soc/amd/yc/
Dacp6x-mach.c383 struct acp6x_pdm *machine = NULL; in acp6x_probe() local
409 snd_soc_card_set_drvdata(card, machine); in acp6x_probe()
/sound/soc/ux500/
DKconfig31 Select this to enable the MOP500 machine-driver.
/sound/core/
Dinfo_oss.c82 init_utsname()->machine); in snd_sndstat_proc_read()
/sound/soc/cirrus/
DKconfig21 state machine and the whole stream can be shifted by one byte
/sound/soc/sunxi/
DKconfig48 individual machine drivers to support below.
/sound/soc/intel/
DKconfig8 Intel ASoC SST Platform Drivers. If you have a Intel machine that

12