Home
last modified time | relevance | path

Searched refs:mach (Results 1 – 25 of 52) sorted by relevance

123

/sound/soc/
Dsoc-acpi.c14 struct snd_soc_acpi_mach *mach; in snd_soc_acpi_find_machine() local
17 for (mach = machines; mach->id[0]; mach++) { in snd_soc_acpi_find_machine()
18 if (acpi_dev_present(mach->id, NULL, -1)) { in snd_soc_acpi_find_machine()
19 if (mach->machine_quirk) { in snd_soc_acpi_find_machine()
20 mach_alt = mach->machine_quirk(mach); in snd_soc_acpi_find_machine()
23 mach = mach_alt; in snd_soc_acpi_find_machine()
26 return mach; in snd_soc_acpi_find_machine()
92 struct snd_soc_acpi_mach *mach = arg; in snd_soc_acpi_codec_list() local
94 (struct snd_soc_acpi_codecs *) mach->quirk_data; in snd_soc_acpi_codec_list()
97 if (mach->quirk_data == NULL) in snd_soc_acpi_codec_list()
[all …]
/sound/oss/dmasound/
Ddmasound_core.c228 dmasound.mach.silence(); /* _MUST_ stop DMA */ in sound_silence()
233 return dmasound.mach.setFormat(format); in sound_set_format()
247 if (dmasound.mach.max_dsp_speed && in sound_set_speed()
248 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed()
249 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed()
327 if (!try_module_get(dmasound.mach.owner)) { in mixer_open()
340 module_put(dmasound.mach.owner); in mixer_release()
356 strlcpy(info.id, dmasound.mach.name2, sizeof(info.id)); in mixer_ioctl()
357 strlcpy(info.name, dmasound.mach.name2, sizeof(info.name)); in mixer_ioctl()
364 if (dmasound.mach.mixer_ioctl) in mixer_ioctl()
[all …]
Ddmasound.h156 MACHINE mach; /* machine dependent things */ member
183 return dmasound.mach.setVolume(volume); in dmasound_set_volume()
188 return dmasound.mach.setBass ? dmasound.mach.setBass(bass) : 50; in dmasound_set_bass()
193 return dmasound.mach.setTreble ? dmasound.mach.setTreble(treble) : 50; in dmasound_set_treble()
198 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
/sound/soc/amd/
DMakefile3 snd-soc-acp-da7219mx98357-mach-objs := acp-da7219-max98357a.o
4 snd-soc-acp-rt5645-mach-objs := acp-rt5645.o
5 snd-soc-acp-rt5682-mach-objs := acp3x-rt5682-max9836.o
8 obj-$(CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH) += snd-soc-acp-da7219mx98357-mach.o
9 obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o
11 obj-$(CONFIG_SND_SOC_AMD_RV_RT5682_MACH) += snd-soc-acp-rt5682-mach.o
/sound/soc/intel/atom/sst/
Dsst_acpi.c240 struct snd_soc_acpi_mach *mach; in sst_acpi_probe() local
251 mach = (struct snd_soc_acpi_mach *)id->driver_data; in sst_acpi_probe()
252 mach = snd_soc_acpi_find_machine(mach); in sst_acpi_probe()
253 if (mach == NULL) { in sst_acpi_probe()
259 mach->pdata = &byt_rvp_platform_data; in sst_acpi_probe()
261 mach->pdata = &chv_platform_data; in sst_acpi_probe()
262 pdata = mach->pdata; in sst_acpi_probe()
282 mach->mach_params.acpi_ipc_irq_index = in sst_acpi_probe()
297 mdev = platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe()
298 (const void *)mach, sizeof(*mach)); in sst_acpi_probe()
[all …]
/sound/soc/sof/intel/
Dhda.c1124 struct snd_soc_acpi_mach *mach; in hda_sdw_machine_select() local
1139 for (mach = pdata->desc->alt_machines; in hda_sdw_machine_select()
1140 mach && mach->link_mask; mach++) { in hda_sdw_machine_select()
1149 if (~link_mask & mach->link_mask) in hda_sdw_machine_select()
1153 if (!mach->links) in hda_sdw_machine_select()
1156 link = mach->links; in hda_sdw_machine_select()
1170 if (mach && mach->link_mask) { in hda_sdw_machine_select()
1173 mach->drv_name, in hda_sdw_machine_select()
1174 mach->sof_tplg_filename); in hda_sdw_machine_select()
1175 pdata->machine = mach; in hda_sdw_machine_select()
[all …]
Dbdw.c544 struct snd_soc_acpi_mach *mach; in bdw_machine_select() local
546 mach = snd_soc_acpi_find_machine(desc->machines); in bdw_machine_select()
547 if (!mach) { in bdw_machine_select()
552 sof_pdata->tplg_filename = mach->sof_tplg_filename; in bdw_machine_select()
553 mach->mach_params.acpi_ipc_irq_index = desc->irqindex_host_ipc; in bdw_machine_select()
554 sof_pdata->machine = mach; in bdw_machine_select()
557 static void bdw_set_mach_params(const struct snd_soc_acpi_mach *mach, in bdw_set_mach_params() argument
562 mach_params = (struct snd_soc_acpi_mach_params *)&mach->mach_params; in bdw_set_mach_params()
Dbyt.c393 struct snd_soc_acpi_mach *mach; in byt_machine_select() local
397 mach = snd_soc_acpi_find_machine(desc->machines); in byt_machine_select()
398 if (!mach) { in byt_machine_select()
409 mach->sof_tplg_filename, in byt_machine_select()
412 tplg_filename = mach->sof_tplg_filename; in byt_machine_select()
422 mach->mach_params.acpi_ipc_irq_index = desc->irqindex_host_ipc; in byt_machine_select()
423 sof_pdata->machine = mach; in byt_machine_select()
426 static void byt_set_mach_params(const struct snd_soc_acpi_mach *mach, in byt_set_mach_params() argument
431 mach_params = (struct snd_soc_acpi_mach_params *)&mach->mach_params; in byt_set_mach_params()
/sound/soc/intel/boards/
Dskl_hda_dsp_generic.c202 struct snd_soc_acpi_mach *mach; in skl_hda_audio_probe() local
214 mach = pdev->dev.platform_data; in skl_hda_audio_probe()
215 if (!mach) in skl_hda_audio_probe()
220 ret = skl_hda_fill_card_info(&mach->mach_params); in skl_hda_audio_probe()
228 ctx->platform_name = mach->mach_params.platform; in skl_hda_audio_probe()
229 ctx->common_hdmi_codec_drv = mach->mach_params.common_hdmi_codec_drv; in skl_hda_audio_probe()
233 if (mach->mach_params.dmic_num > 0) { in skl_hda_audio_probe()
235 "cfg-dmics:%d", mach->mach_params.dmic_num); in skl_hda_audio_probe()
Dehl_rt5660.c256 struct snd_soc_acpi_mach *mach) in hdmi_link_init() argument
261 if (mach->mach_params.common_hdmi_codec_drv && in hdmi_link_init()
262 (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) { in hdmi_link_init()
280 struct snd_soc_acpi_mach *mach; in snd_ehl_rt5660_probe() local
293 mach = pdev->dev.platform_data; in snd_ehl_rt5660_probe()
295 mach->mach_params.platform); in snd_ehl_rt5660_probe()
299 hdmi_link_init(card, ctx, mach); in snd_ehl_rt5660_probe()
Dbytcht_cx2072x.c236 struct snd_soc_acpi_mach *mach; in snd_byt_cht_cx2072x_probe() local
242 mach = dev_get_platdata(&pdev->dev); in snd_byt_cht_cx2072x_probe()
254 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_byt_cht_cx2072x_probe()
264 mach->mach_params.platform); in snd_byt_cht_cx2072x_probe()
Dbytcht_da7213.c237 struct snd_soc_acpi_mach *mach; in bytcht_da7213_probe() local
244 mach = pdev->dev.platform_data; in bytcht_da7213_probe()
257 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in bytcht_da7213_probe()
266 platform_name = mach->mach_params.platform; in bytcht_da7213_probe()
Dcht_bsw_rt5645.c540 struct snd_soc_acpi_mach *mach; in snd_cht_mc_probe() local
555 mach = pdev->dev.platform_data; in snd_cht_mc_probe()
559 (!strncmp(snd_soc_cards[i].codec_id, mach->id, 8))) { in snd_cht_mc_probe()
586 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_cht_mc_probe()
599 if (mach->mach_params.acpi_ipc_irq_index == 0) in snd_cht_mc_probe()
629 pkg_found = snd_soc_acpi_find_package_from_hid(mach->id, in snd_cht_mc_probe()
663 platform_name = mach->mach_params.platform; in snd_cht_mc_probe()
Dhaswell.c173 struct snd_soc_acpi_mach *mach; in haswell_audio_probe() local
179 mach = pdev->dev.platform_data; in haswell_audio_probe()
181 mach->mach_params.platform); in haswell_audio_probe()
Dsof_da7219_max98373.c245 struct snd_soc_acpi_mach *mach = (card->dev)->platform_data; in card_late_probe() local
248 if (mach->mach_params.common_hdmi_codec_drv) { in card_late_probe()
398 struct snd_soc_acpi_mach *mach; in audio_probe() local
421 mach = pdev->dev.platform_data; in audio_probe()
423 mach->mach_params.platform); in audio_probe()
Dsof_wm8804.c211 struct snd_soc_acpi_mach *mach; in sof_wm8804_probe() local
222 mach = pdev->dev.platform_data; in sof_wm8804_probe()
269 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in sof_wm8804_probe()
Dbytcht_es8316.c479 struct snd_soc_acpi_mach *mach; in snd_byt_cht_es8316_mc_probe() local
492 mach = dev->platform_data; in snd_byt_cht_es8316_mc_probe()
503 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_byt_cht_es8316_mc_probe()
513 platform_name = mach->mach_params.platform; in snd_byt_cht_es8316_mc_probe()
525 mach->mach_params.acpi_ipc_irq_index == 0) { in snd_byt_cht_es8316_mc_probe()
DMakefile3 snd-soc-sst-bdw-rt5650-mach-objs := bdw-rt5650.o
4 snd-soc-sst-bdw-rt5677-mach-objs := bdw-rt5677.o
50 obj-$(CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH) += snd-soc-sst-bdw-rt5650-mach.o
51 obj-$(CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH) += snd-soc-sst-bdw-rt5677-mach.o
Dbdw-rt5650.c293 struct snd_soc_acpi_mach *mach; in bdw_rt5650_probe() local
305 mach = pdev->dev.platform_data; in bdw_rt5650_probe()
307 mach->mach_params.platform); in bdw_rt5650_probe()
/sound/soc/intel/skylake/
Dskl.c486 struct snd_soc_acpi_mach *mach; in skl_find_hda_machine() local
489 mach = snd_soc_acpi_intel_hda_machines; in skl_find_hda_machine()
492 mach->fw_filename = machines->fw_filename; in skl_find_hda_machine()
494 return mach; in skl_find_hda_machine()
500 struct snd_soc_acpi_mach *mach = driver_data; in skl_find_machine() local
503 mach = snd_soc_acpi_find_machine(mach); in skl_find_machine()
504 if (!mach) { in skl_find_machine()
506 mach = skl_find_hda_machine(skl, driver_data); in skl_find_machine()
507 if (!mach) { in skl_find_machine()
513 skl->mach = mach; in skl_find_machine()
[all …]
/sound/soc/sof/
Dsof-audio.c443 struct snd_soc_acpi_mach *mach; in sof_machine_check() local
468 mach = devm_kzalloc(sdev->dev, sizeof(*mach), GFP_KERNEL); in sof_machine_check()
469 if (!mach) in sof_machine_check()
472 mach->drv_name = "sof-nocodec"; in sof_machine_check()
479 sof_pdata->machine = mach; in sof_machine_check()
490 const void *mach; in sof_machine_register() local
494 mach = plat_data->machine; in sof_machine_register()
500 PLATFORM_DEVID_NONE, mach, size); in sof_machine_register()
/sound/soc/intel/catpt/
Ddevice.c139 struct snd_soc_acpi_mach *mach; in catpt_register_board() local
142 mach = snd_soc_acpi_find_machine(spec->machines); in catpt_register_board()
143 if (!mach) { in catpt_register_board()
148 mach->mach_params.platform = "catpt-platform"; in catpt_register_board()
149 board = platform_device_register_data(NULL, mach->drv_name, in catpt_register_board()
151 (const void *)mach, sizeof(*mach)); in catpt_register_board()
/sound/soc/ux500/
DMakefile10 snd-soc-ux500-mach-mop500-objs := mop500.o mop500_ab8500.o
11 obj-$(CONFIG_SND_SOC_UX500_MACH_MOP500) += snd-soc-ux500-mach-mop500.o
/sound/soc/intel/common/
Dsoc-acpi-intel-bxt-match.c30 struct snd_soc_acpi_mach *mach = arg; in apl_quirk() local
41 return mach; in apl_quirk()
Dsoc-acpi-intel-cht-match.c44 struct snd_soc_acpi_mach *mach = arg; in cht_quirk() local
51 return mach; in cht_quirk()

123