/sound/soc/ |
D | soc-acpi.c | 14 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/ |
D | dmasound_core.c | 230 dmasound.mach.silence(); /* _MUST_ stop DMA */ in sound_silence() 235 return dmasound.mach.setFormat(format); in sound_set_format() 249 if (dmasound.mach.max_dsp_speed && in sound_set_speed() 250 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed() 251 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed() 329 if (!try_module_get(dmasound.mach.owner)) { in mixer_open() 342 module_put(dmasound.mach.owner); in mixer_release() 358 strlcpy(info.id, dmasound.mach.name2, sizeof(info.id)); in mixer_ioctl() 359 strlcpy(info.name, dmasound.mach.name2, sizeof(info.name)); in mixer_ioctl() 366 if (dmasound.mach.mixer_ioctl) in mixer_ioctl() [all …]
|
D | dmasound.h | 162 MACHINE mach; /* machine dependent things */ member 189 return dmasound.mach.setVolume(volume); in dmasound_set_volume() 194 return dmasound.mach.setBass ? dmasound.mach.setBass(bass) : 50; in dmasound_set_bass() 199 return dmasound.mach.setTreble ? dmasound.mach.setTreble(treble) : 50; in dmasound_set_treble() 204 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
|
/sound/soc/sof/ |
D | sof-acpi-dev.c | 134 struct snd_soc_acpi_mach *mach; in sof_acpi_probe() local 164 mach = devm_kzalloc(dev, sizeof(*mach), GFP_KERNEL); in sof_acpi_probe() 165 if (!mach) in sof_acpi_probe() 167 ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops); in sof_acpi_probe() 172 mach = snd_soc_acpi_find_machine(desc->machines); in sof_acpi_probe() 173 if (!mach) { in sof_acpi_probe() 176 sof_pdata->fw_filename = mach->sof_fw_filename; in sof_acpi_probe() 177 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_acpi_probe() 181 if (mach) { in sof_acpi_probe() 182 mach->mach_params.platform = dev_name(dev); in sof_acpi_probe() [all …]
|
D | sof-of-dev.c | 47 struct snd_soc_acpi_mach *mach; in sof_of_probe() local 72 mach = devm_kzalloc(dev, sizeof(*mach), GFP_KERNEL); in sof_of_probe() 73 if (!mach) in sof_of_probe() 75 ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops); in sof_of_probe() 83 if (mach) in sof_of_probe() 84 mach->mach_params.platform = dev_name(dev); in sof_of_probe() 86 sof_pdata->machine = mach; in sof_of_probe()
|
D | sof-pci-dev.c | 275 struct snd_soc_acpi_mach *mach; in sof_pci_probe() local 304 mach = devm_kzalloc(dev, sizeof(*mach), GFP_KERNEL); in sof_pci_probe() 305 if (!mach) { in sof_pci_probe() 309 ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops); in sof_pci_probe() 315 mach = snd_soc_acpi_find_machine(desc->machines); in sof_pci_probe() 316 if (!mach) { in sof_pci_probe() 319 mach->mach_params.platform = dev_name(dev); in sof_pci_probe() 320 sof_pdata->fw_filename = mach->sof_fw_filename; in sof_pci_probe() 321 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_pci_probe() 326 sof_pdata->machine = mach; in sof_pci_probe()
|
D | nocodec.c | 70 struct snd_soc_acpi_mach *mach, in sof_nocodec_setup() argument 77 if (!mach) in sof_nocodec_setup() 82 mach->drv_name = "sof-nocodec"; in sof_nocodec_setup()
|
/sound/soc/intel/common/ |
D | sst-acpi.c | 44 struct snd_soc_acpi_mach *mach; member 54 struct snd_soc_acpi_mach *mach = sst_acpi->mach; in sst_acpi_fw_cb() local 58 dev_err(dev, "Cannot load firmware %s\n", mach->fw_filename); in sst_acpi_fw_cb() 80 struct snd_soc_acpi_mach *mach; in sst_acpi_probe() local 94 mach = snd_soc_acpi_find_machine(desc->machines); in sst_acpi_probe() 95 if (mach == NULL) { in sst_acpi_probe() 104 sst_acpi->mach = mach; in sst_acpi_probe() 144 mach->pdata = sst_pdata; in sst_acpi_probe() 148 platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe() 149 mach, sizeof(*mach)); in sst_acpi_probe() [all …]
|
D | soc-acpi-intel-bxt-match.c | 30 struct snd_soc_acpi_mach *mach = arg; in apl_quirk() local 41 return mach; in apl_quirk()
|
D | soc-acpi-intel-cht-match.c | 44 struct snd_soc_acpi_mach *mach = arg; in cht_quirk() local 51 return mach; in cht_quirk()
|
D | soc-acpi-intel-byt-match.c | 108 struct snd_soc_acpi_mach *mach = arg; in byt_quirk() local 119 return mach; in byt_quirk()
|
/sound/soc/intel/atom/sst/ |
D | sst_acpi.c | 241 struct snd_soc_acpi_mach *mach; in sst_acpi_probe() local 252 mach = (struct snd_soc_acpi_mach *)id->driver_data; in sst_acpi_probe() 253 mach = snd_soc_acpi_find_machine(mach); in sst_acpi_probe() 254 if (mach == NULL) { in sst_acpi_probe() 260 mach->pdata = &byt_rvp_platform_data; in sst_acpi_probe() 262 mach->pdata = &chv_platform_data; in sst_acpi_probe() 263 pdata = mach->pdata; in sst_acpi_probe() 283 mach->mach_params.acpi_ipc_irq_index = in sst_acpi_probe() 298 mdev = platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe() 299 (const void *)mach, sizeof(*mach)); in sst_acpi_probe() [all …]
|
/sound/soc/amd/ |
D | Makefile | 3 snd-soc-acp-da7219mx98357-mach-objs := acp-da7219-max98357a.o 4 snd-soc-acp-rt5645-mach-objs := acp-rt5645.o 7 obj-$(CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH) += snd-soc-acp-da7219mx98357-mach.o 8 obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o
|
/sound/soc/intel/skylake/ |
D | skl.c | 485 struct snd_soc_acpi_mach *mach; in skl_find_hda_machine() local 488 mach = snd_soc_acpi_intel_hda_machines; in skl_find_hda_machine() 491 mach->fw_filename = machines->fw_filename; in skl_find_hda_machine() 493 return mach; in skl_find_hda_machine() 499 struct snd_soc_acpi_mach *mach = driver_data; in skl_find_machine() local 502 mach = snd_soc_acpi_find_machine(mach); in skl_find_machine() 503 if (!mach) { in skl_find_machine() 505 mach = skl_find_hda_machine(skl, driver_data); in skl_find_machine() 506 if (!mach) { in skl_find_machine() 512 skl->mach = mach; in skl_find_machine() [all …]
|
/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 156 struct snd_soc_acpi_mach *mach; in skl_hda_audio_probe() local 168 mach = (&pdev->dev)->platform_data; in skl_hda_audio_probe() 169 if (!mach) in skl_hda_audio_probe() 172 ret = skl_hda_fill_card_info(&mach->mach_params); in skl_hda_audio_probe() 180 ctx->platform_name = mach->mach_params.platform; in skl_hda_audio_probe()
|
D | Makefile | 3 snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o 4 snd-soc-sst-byt-max98090-mach-objs := byt-max98090.o 5 snd-soc-sst-bdw-rt5677-mach-objs := bdw-rt5677.o 33 obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o 34 obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o 39 obj-$(CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH) += snd-soc-sst-bdw-rt5677-mach.o
|
D | bytcht_da7213.c | 227 struct snd_soc_acpi_mach *mach; in bytcht_da7213_probe() local 234 mach = (&pdev->dev)->platform_data; in bytcht_da7213_probe() 247 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in bytcht_da7213_probe() 256 platform_name = mach->mach_params.platform; in bytcht_da7213_probe()
|
D | bytcht_cx2072x.c | 226 struct snd_soc_acpi_mach *mach; in snd_byt_cht_cx2072x_probe() local 232 mach = dev_get_platdata(&pdev->dev); in snd_byt_cht_cx2072x_probe() 244 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_byt_cht_cx2072x_probe() 254 mach->mach_params.platform); in snd_byt_cht_cx2072x_probe()
|
D | cht_bsw_rt5645.c | 529 struct snd_soc_acpi_mach *mach; in snd_cht_mc_probe() local 544 mach = (&pdev->dev)->platform_data; in snd_cht_mc_probe() 548 (!strncmp(snd_soc_cards[i].codec_id, mach->id, 8))) { in snd_cht_mc_probe() 575 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_cht_mc_probe() 588 if (mach->mach_params.acpi_ipc_irq_index == 0) in snd_cht_mc_probe() 618 pkg_found = snd_soc_acpi_find_package_from_hid(mach->id, in snd_cht_mc_probe() 668 platform_name = mach->mach_params.platform; in snd_cht_mc_probe()
|
D | haswell.c | 190 struct snd_soc_acpi_mach *mach; in haswell_audio_probe() local 196 mach = (&pdev->dev)->platform_data; in haswell_audio_probe() 198 mach->mach_params.platform); in haswell_audio_probe()
|
D | bytcht_es8316.c | 474 struct snd_soc_acpi_mach *mach; in snd_byt_cht_es8316_mc_probe() local 487 mach = dev->platform_data; in snd_byt_cht_es8316_mc_probe() 498 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_byt_cht_es8316_mc_probe() 508 platform_name = mach->mach_params.platform; in snd_byt_cht_es8316_mc_probe() 520 mach->mach_params.acpi_ipc_irq_index == 0) { in snd_byt_cht_es8316_mc_probe()
|
D | broadwell.c | 272 struct snd_soc_acpi_mach *mach; in broadwell_audio_probe() local 278 mach = (&pdev->dev)->platform_data; in broadwell_audio_probe() 280 mach->mach_params.platform); in broadwell_audio_probe()
|
D | cht_bsw_nau8824.c | 251 struct snd_soc_acpi_mach *mach; in snd_cht_mc_probe() local 262 mach = (&pdev->dev)->platform_data; in snd_cht_mc_probe() 263 platform_name = mach->mach_params.platform; in snd_cht_mc_probe()
|
D | bytcr_rt5651.c | 888 struct snd_soc_acpi_mach *mach; in snd_byt_rt5651_mc_probe() local 905 mach = byt_rt5651_card.dev->platform_data; in snd_byt_rt5651_mc_probe() 918 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in snd_byt_rt5651_mc_probe() 924 dev_err(&pdev->dev, "Error cannot find '%s' dev\n", mach->id); in snd_byt_rt5651_mc_probe() 939 if (mach->mach_params.acpi_ipc_irq_index == 0) in snd_byt_rt5651_mc_probe() 969 pkg_found = snd_soc_acpi_find_package_from_hid(mach->id, in snd_byt_rt5651_mc_probe() 1109 platform_name = mach->mach_params.platform; in snd_byt_rt5651_mc_probe()
|
/sound/soc/ux500/ |
D | Makefile | 10 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
|