Home
last modified time | relevance | path

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

/sound/soc/tegra/
Dtegra_wm8903.c64 struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8903_hw_params() local
83 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_wm8903_hw_params()
133 struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8903_event_int_spk() local
135 if (!gpio_is_valid(machine->gpio_spkr_en)) in tegra_wm8903_event_int_spk()
138 gpio_set_value_cansleep(machine->gpio_spkr_en, in tegra_wm8903_event_int_spk()
149 struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8903_event_hp() local
151 if (!gpio_is_valid(machine->gpio_hp_mute)) in tegra_wm8903_event_hp()
154 gpio_set_value_cansleep(machine->gpio_hp_mute, in tegra_wm8903_event_hp()
175 struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8903_init() local
177 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_wm8903_init()
[all …]
Dtegra_rt5677.c58 struct tegra_rt5677 *machine = snd_soc_card_get_drvdata(card); in tegra_rt5677_asoc_hw_params() local
64 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_rt5677_asoc_hw_params()
85 struct tegra_rt5677 *machine = snd_soc_card_get_drvdata(card); in tegra_rt5677_event_hp() local
87 if (!gpio_is_valid(machine->gpio_hp_en)) in tegra_rt5677_event_hp()
90 gpio_set_value_cansleep(machine->gpio_hp_en, in tegra_rt5677_event_hp()
144 struct tegra_rt5677 *machine = snd_soc_card_get_drvdata(rtd->card); in tegra_rt5677_asoc_init() local
150 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5677_asoc_init()
151 tegra_rt5677_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_rt5677_asoc_init()
161 if (gpio_is_valid(machine->gpio_mic_present)) { in tegra_rt5677_asoc_init()
162 tegra_rt5677_mic_jack_gpio.gpio = machine->gpio_mic_present; in tegra_rt5677_asoc_init()
[all …]
Dtegra_max98090.c54 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(card); in tegra_max98090_asoc_hw_params() local
80 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_max98090_asoc_hw_params()
148 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(rtd->card); in tegra_max98090_asoc_init() local
150 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_max98090_asoc_init()
157 tegra_max98090_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_max98090_asoc_init()
163 if (gpio_is_valid(machine->gpio_mic_det)) { in tegra_max98090_asoc_init()
170 tegra_max98090_mic_jack_gpio.gpio = machine->gpio_mic_det; in tegra_max98090_asoc_init()
181 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(card); in tegra_max98090_card_remove() local
183 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_max98090_card_remove()
188 if (gpio_is_valid(machine->gpio_mic_det)) { in tegra_max98090_card_remove()
[all …]
Dtegra_rt5640.c56 struct tegra_rt5640 *machine = snd_soc_card_get_drvdata(card); in tegra_rt5640_asoc_hw_params() local
63 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_rt5640_asoc_hw_params()
111 struct tegra_rt5640 *machine = snd_soc_card_get_drvdata(rtd->card); in tegra_rt5640_asoc_init() local
117 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5640_asoc_init()
118 tegra_rt5640_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_rt5640_asoc_init()
120 !!(machine->gpio_hp_det_flags & OF_GPIO_ACTIVE_LOW); in tegra_rt5640_asoc_init()
131 struct tegra_rt5640 *machine = snd_soc_card_get_drvdata(card); in tegra_rt5640_card_remove() local
133 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_rt5640_card_remove()
169 struct tegra_rt5640 *machine; in tegra_rt5640_probe() local
172 machine = devm_kzalloc(&pdev->dev, in tegra_rt5640_probe()
[all …]
Dtegra_wm9712.c76 struct tegra_wm9712 *machine; in tegra_wm9712_driver_probe() local
79 machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712), in tegra_wm9712_driver_probe()
81 if (!machine) { in tegra_wm9712_driver_probe()
88 snd_soc_card_set_drvdata(card, machine); in tegra_wm9712_driver_probe()
90 machine->codec = platform_device_alloc("wm9712-codec", -1); in tegra_wm9712_driver_probe()
91 if (!machine->codec) { in tegra_wm9712_driver_probe()
96 ret = platform_device_add(machine->codec); in tegra_wm9712_driver_probe()
119 ret = tegra_asoc_utils_init(&machine->util_data, &pdev->dev); in tegra_wm9712_driver_probe()
123 ret = tegra_asoc_utils_set_ac97_rate(&machine->util_data); in tegra_wm9712_driver_probe()
137 tegra_asoc_utils_fini(&machine->util_data); in tegra_wm9712_driver_probe()
[all …]
Dtegra_wm8753.c59 struct tegra_wm8753 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8753_hw_params() local
76 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_wm8753_hw_params()
127 struct tegra_wm8753 *machine; in tegra_wm8753_driver_probe() local
130 machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm8753), in tegra_wm8753_driver_probe()
132 if (!machine) { in tegra_wm8753_driver_probe()
139 snd_soc_card_set_drvdata(card, machine); in tegra_wm8753_driver_probe()
169 ret = tegra_asoc_utils_init(&machine->util_data, &pdev->dev); in tegra_wm8753_driver_probe()
183 tegra_asoc_utils_fini(&machine->util_data); in tegra_wm8753_driver_probe()
191 struct tegra_wm8753 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8753_driver_remove() local
195 tegra_asoc_utils_fini(&machine->util_data); in tegra_wm8753_driver_remove()
Dtegra_alc5632.c105 struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(rtd->card); in tegra_alc5632_asoc_init() local
115 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_alc5632_asoc_init()
116 tegra_alc5632_hp_jack_gpio.gpio = machine->gpio_hp_det; in tegra_alc5632_asoc_init()
129 struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(card); in tegra_alc5632_card_remove() local
131 if (gpio_is_valid(machine->gpio_hp_det)) { in tegra_alc5632_card_remove()
237 struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(card); in tegra_alc5632_remove() local
241 tegra_asoc_utils_fini(&machine->util_data); in tegra_alc5632_remove()
DKconfig19 machine drivers to support below.
26 You will also need to select the individual machine drivers to
36 machine drivers to support below.
44 You will also need to select the individual machine drivers to support
52 You will also need to select the individual machine drivers to
62 machine drivers to support below.
/sound/soc/intel/
DKconfig8 This adds support for ASoC machine driver for Intel(R) MID Medfield platform
98 This adds support for ASoC machine driver for Intel(R) MID Baytrail platform
110 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
122 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
134 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
152 This adds support for ASoC machine driver for Skylake platforms
/sound/soc/txx9/
DKconfig24 tristate "Generic TXx9 ACLC sound machine"
29 This is a generic AC97 sound machine for use in TXx9 based systems.
/sound/soc/intel/atom/sst/
Dsst_acpi.c48 char machine[32]; member
286 mdev = platform_device_register_data(dev, mach->machine, -1, NULL, 0); in sst_acpi_probe()
288 dev_err(dev, "Failed to create machine device: %s\n", mach->machine); in sst_acpi_probe()
/sound/aoa/fabrics/
DKconfig10 If you are unsure and have a later Apple machine,
/sound/soc/ux500/
DKconfig30 Select this to enable the MOP500 machine-driver.
/sound/core/
Dinfo_oss.c99 init_utsname()->machine); in snd_sndstat_proc_read()
DKconfig187 on a single machine.
/sound/soc/codecs/
DKconfig183 Normally ASoC codec drivers are only built if a machine driver which
184 uses them is also built since they are only usable with a machine
186 without an explicit machine driver for test and development purposes.
/sound/oss/
DKconfig267 found after the machine has been running for a while. If you say Y