Home
last modified time | relevance | path

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

/sound/soc/intel/common/
Dsst-match-acpi.c82 struct sst_acpi_mach *mach; in sst_acpi_find_machine() local
84 for (mach = machines; mach->id[0]; mach++) { in sst_acpi_find_machine()
85 if (sst_acpi_check_hid(mach->id) == true) { in sst_acpi_find_machine()
86 if (mach->machine_quirk) in sst_acpi_find_machine()
87 mach = mach->machine_quirk(mach); in sst_acpi_find_machine()
88 return mach; in sst_acpi_find_machine()
154 struct sst_acpi_mach *mach = arg; in sst_acpi_codec_list() local
155 struct sst_codecs *codec_list = (struct sst_codecs *) mach->quirk_data; in sst_acpi_codec_list()
158 if (mach->quirk_data == NULL) in sst_acpi_codec_list()
159 return mach; in sst_acpi_codec_list()
[all …]
Dsst-acpi.c52 struct sst_acpi_mach *mach; member
62 struct sst_acpi_mach *mach = sst_acpi->mach; in sst_acpi_fw_cb() local
66 dev_err(dev, "Cannot load firmware %s\n", mach->fw_filename); in sst_acpi_fw_cb()
88 struct sst_acpi_mach *mach; in sst_acpi_probe() local
102 mach = sst_acpi_find_machine(desc->machines); in sst_acpi_probe()
103 if (mach == NULL) { in sst_acpi_probe()
112 sst_acpi->mach = mach; in sst_acpi_probe()
155 platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe()
161 ret = request_firmware_nowait(THIS_MODULE, true, mach->fw_filename, in sst_acpi_probe()
/sound/oss/dmasound/
Ddmasound_core.c230 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 …]
Ddmasound.h162 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()
Ddmasound_q40.c621 dmasound.mach = machQ40; in dmasound_q40_init()
622 dmasound.mach.default_hard = def_hard ; in dmasound_q40_init()
623 dmasound.mach.default_soft = def_soft ; in dmasound_q40_init()
Ddmasound_paula.c716 dmasound.mach = machAmiga; in amiga_audio_probe()
717 dmasound.mach.default_hard = def_hard ; in amiga_audio_probe()
718 dmasound.mach.default_soft = def_soft ; in amiga_audio_probe()
Ddmasound_atari.c1592 dmasound.mach = machFalcon; in dmasound_atari_init()
1593 dmasound.mach.default_soft = def_soft ; in dmasound_atari_init()
1594 dmasound.mach.default_hard = def_hard_falcon ; in dmasound_atari_init()
1597 dmasound.mach = machTT; in dmasound_atari_init()
1598 dmasound.mach.default_soft = def_soft ; in dmasound_atari_init()
1599 dmasound.mach.default_hard = def_hard_tt ; in dmasound_atari_init()
/sound/soc/intel/atom/sst/
Dsst_acpi.c288 struct sst_acpi_mach *mach; in sst_acpi_probe() local
300 mach = (struct sst_acpi_mach *)id->driver_data; in sst_acpi_probe()
301 mach = sst_acpi_find_machine(mach); in sst_acpi_probe()
302 if (mach == NULL) { in sst_acpi_probe()
307 pdata = mach->pdata; in sst_acpi_probe()
341 mdev = platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe()
342 (const void *)mach, sizeof(*mach)); in sst_acpi_probe()
345 mach->drv_name); in sst_acpi_probe()
351 strcpy(ctx->firmware_name, mach->fw_filename); in sst_acpi_probe()
457 struct sst_acpi_mach *mach = arg; in cht_quirk() local
[all …]
/sound/soc/intel/boards/
DMakefile3 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
24 obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
25 obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o
29 obj-$(CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH) += snd-soc-sst-bdw-rt5677-mach.o
Dbytcht_da7213.c237 struct sst_acpi_mach *mach; in bytcht_da7213_probe() local
241 mach = (&pdev->dev)->platform_data; in bytcht_da7213_probe()
255 i2c_name = sst_acpi_find_name_from_hid(mach->id); in bytcht_da7213_probe()
Dcht_bsw_rt5645.c559 struct sst_acpi_mach *mach; in snd_cht_mc_probe() local
569 mach = (&pdev->dev)->platform_data; in snd_cht_mc_probe()
573 (!strncmp(snd_soc_cards[i].codec_id, mach->id, 8))) { in snd_cht_mc_probe()
599 i2c_name = sst_acpi_find_name_from_hid(mach->id); in snd_cht_mc_probe()
611 struct sst_platform_info *p_info = mach->pdata; in snd_cht_mc_probe()
644 pkg_found = sst_acpi_find_package_from_hid(mach->id, &pkg_ctx); in snd_cht_mc_probe()
Dbytcr_rt5640.c762 struct sst_acpi_mach *mach; in snd_byt_rt5640_mc_probe() local
775 mach = byt_rt5640_card.dev->platform_data; in snd_byt_rt5640_mc_probe()
788 i2c_name = sst_acpi_find_name_from_hid(mach->id); in snd_byt_rt5640_mc_probe()
801 struct sst_platform_info *p_info = mach->pdata; in snd_byt_rt5640_mc_probe()
834 pkg_found = sst_acpi_find_package_from_hid(mach->id, &pkg_ctx); in snd_byt_rt5640_mc_probe()
Dcht_bsw_rt5672.c415 struct sst_acpi_mach *mach = pdev->dev.platform_data; in snd_cht_mc_probe() local
426 if (mach) { in snd_cht_mc_probe()
427 i2c_name = sst_acpi_find_name_from_hid(mach->id); in snd_cht_mc_probe()
/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/skylake/
Dskl.c442 struct sst_acpi_mach *mach = driver_data; in skl_machine_device_register() local
445 mach = sst_acpi_find_machine(mach); in skl_machine_device_register()
446 if (mach == NULL) { in skl_machine_device_register()
450 skl->fw_name = mach->fw_filename; in skl_machine_device_register()
452 pdev = platform_device_alloc(mach->drv_name, -1); in skl_machine_device_register()
465 if (mach->pdata) in skl_machine_device_register()
466 dev_set_drvdata(&pdev->dev, mach->pdata); in skl_machine_device_register()