/Linux-v6.1/arch/powerpc/include/asm/ |
D | machdep.h | 236 #define __define_machine_initcall(mach, fn, id) \ argument 237 static int __init __machine_initcall_##mach##_##fn(void) { \ 238 if (machine_is(mach)) return fn(); \ 241 __define_initcall(__machine_initcall_##mach##_##fn, id); 243 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 244 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 245 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 246 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 247 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument 248 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument [all …]
|
/Linux-v6.1/sound/soc/intel/avs/ |
D | board_selection.c | 47 struct snd_soc_acpi_mach *mach = arg; in dmi_match_quirk() local 51 if (mach->quirk_data == NULL) in dmi_match_quirk() 52 return mach; in dmi_match_quirk() 54 dmi_table = (struct dmi_system_id *)mach->quirk_data; in dmi_match_quirk() 60 return mach; in dmi_match_quirk() 275 struct snd_soc_acpi_mach mach = {{0}}; in avs_register_dmic_board() local 300 mach.tplg_filename = "dmic-tplg.bin"; in avs_register_dmic_board() 301 mach.mach_params.platform = "dmic-platform"; in avs_register_dmic_board() 304 (const void *)&mach, sizeof(mach)); in avs_register_dmic_board() 319 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach) in avs_register_i2s_board() argument [all …]
|
/Linux-v6.1/arch/arm/mach-s3c/ |
D | Makefile.s3c24xx | 51 obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o 52 obj-$(CONFIG_ARCH_BAST) += mach-bast.o 54 obj-$(CONFIG_ARCH_H1940) += mach-h1940.o 57 obj-$(CONFIG_MACH_N30) += mach-n30.o 58 obj-$(CONFIG_MACH_OTOM) += mach-otom.o 59 obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o 60 obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o 61 obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o 62 obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o 64 obj-$(CONFIG_MACH_JIVE) += mach-jive.o [all …]
|
D | Makefile.s3c64xx | 46 obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o 47 obj-$(CONFIG_MACH_HMT) += mach-hmt.o 48 obj-$(CONFIG_MACH_MINI6410) += mach-mini6410.o 49 obj-$(CONFIG_MACH_NCP) += mach-ncp.o 50 obj-$(CONFIG_MACH_REAL6410) += mach-real6410.o 51 obj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o 52 obj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o 53 obj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o 54 obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o 55 obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o [all …]
|
/Linux-v6.1/sound/soc/ |
D | soc-acpi.c | 36 struct snd_soc_acpi_mach *mach; in snd_soc_acpi_find_machine() local 39 for (mach = machines; mach->id[0] || mach->comp_ids; mach++) { in snd_soc_acpi_find_machine() 40 if (snd_soc_acpi_id_present(mach)) { in snd_soc_acpi_find_machine() 41 if (mach->machine_quirk) { in snd_soc_acpi_find_machine() 42 mach_alt = mach->machine_quirk(mach); in snd_soc_acpi_find_machine() 45 mach = mach_alt; in snd_soc_acpi_find_machine() 48 return mach; in snd_soc_acpi_find_machine() 111 struct snd_soc_acpi_mach *mach = arg; in snd_soc_acpi_codec_list() local 113 (struct snd_soc_acpi_codecs *) mach->quirk_data; in snd_soc_acpi_codec_list() 116 if (mach->quirk_data == NULL) in snd_soc_acpi_codec_list() [all …]
|
/Linux-v6.1/arch/arm/mach-imx/ |
D | Makefile | 4 obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o 6 obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o mach-imx27.o 8 obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o mach-imx31.o 9 obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o mach-imx35.o 41 obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o 42 obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o 43 obj-$(CONFIG_SOC_IMX6SLL) += mach-imx6sl.o 44 obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o 45 obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o 46 obj-$(CONFIG_SOC_IMX7D_CA7) += mach-imx7d.o [all …]
|
/Linux-v6.1/arch/mips/generic/ |
D | init.c | 24 static __initconst const struct mips_machine *mach; variable 52 mach = check_mach; in plat_get_fdt() 70 mach = check_mach; in plat_get_fdt() 77 BUG_ON(!mach); in plat_get_fdt() 80 fdt = mach->fdt; in plat_get_fdt() 104 if (mach && mach->fixup_fdt) in plat_mem_setup() 105 fdt = mach->fixup_fdt(fdt, mach_match_data); in plat_mem_setup() 160 } else if (mach && mach->measure_hpt_freq) { in plat_time_init() 161 mips_hpt_frequency = mach->measure_hpt_freq(); in plat_time_init()
|
/Linux-v6.1/arch/sh/ |
D | Makefile | 118 machdir-$(CONFIG_SOLUTION_ENGINE) += mach-se 119 machdir-$(CONFIG_SH_HP6XX) += mach-hp6xx 120 machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast 121 machdir-$(CONFIG_SH_SH03) += mach-sh03 122 machdir-$(CONFIG_SH_RTS7751R2D) += mach-r2d 123 machdir-$(CONFIG_SH_HIGHLANDER) += mach-highlander 124 machdir-$(CONFIG_SH_MIGOR) += mach-migor 125 machdir-$(CONFIG_SH_AP325RXA) += mach-ap325rxa 126 machdir-$(CONFIG_SH_KFR2R09) += mach-kfr2r09 127 machdir-$(CONFIG_SH_ECOVEC) += mach-ecovec24 [all …]
|
/Linux-v6.1/sound/oss/dmasound/ |
D | dmasound_core.c | 228 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 strscpy(info.id, dmasound.mach.name2, sizeof(info.id)); in mixer_ioctl() 357 strscpy(info.name, dmasound.mach.name2, sizeof(info.name)); in mixer_ioctl() 364 if (dmasound.mach.mixer_ioctl) in mixer_ioctl() [all …]
|
D | dmasound.h | 156 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()
|
/Linux-v6.1/sound/soc/amd/acp/ |
D | Makefile | 18 snd-acp-mach-objs := acp-mach-common.o 19 snd-acp-legacy-mach-objs := acp-legacy-mach.o 20 snd-acp-sof-mach-objs := acp-sof-mach.o 30 obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o 31 obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o 32 obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o
|
/Linux-v6.1/arch/mips/include/asm/ |
D | machine.h | 28 #define for_each_mips_machine(mach) \ argument 29 for ((mach) = (struct mips_machine *)&__mips_machines_start; \ 30 (mach) < (struct mips_machine *)&__mips_machines_end; \ 31 (mach)++) 44 mips_machine_is_compatible(const struct mips_machine *mach, const void *fdt) in mips_machine_is_compatible() argument 48 if (!mach->matches) in mips_machine_is_compatible() 51 for (match = mach->matches; match->compatible[0]; match++) { in mips_machine_is_compatible()
|
/Linux-v6.1/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 5 snd-soc-acp-es8336-mach-objs := acp-es8336.o 6 snd-soc-acp-rt5682-mach-objs := acp3x-rt5682-max9836.o 10 obj-$(CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH) += snd-soc-acp-da7219mx98357-mach.o 11 obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o 12 obj-$(CONFIG_SND_SOC_AMD_ST_ES8336_MACH) += snd-soc-acp-es8336-mach.o 14 obj-$(CONFIG_SND_SOC_AMD_RV_RT5682_MACH) += snd-soc-acp-rt5682-mach.o
|
/Linux-v6.1/arch/s390/kernel/ |
D | early.c | 111 struct sysinfo_1_1_1 *mach = (struct sysinfo_1_1_1 *)&sysinfo_page; in setup_arch_string() local 115 if (stsi(mach, 1, 1, 1)) in setup_arch_string() 117 EBCASC(mach->manufacturer, sizeof(mach->manufacturer)); in setup_arch_string() 118 EBCASC(mach->type, sizeof(mach->type)); in setup_arch_string() 119 EBCASC(mach->model, sizeof(mach->model)); in setup_arch_string() 120 EBCASC(mach->model_capacity, sizeof(mach->model_capacity)); in setup_arch_string() 122 mach->manufacturer, mach->type, in setup_arch_string() 123 mach->model, mach->model_capacity); in setup_arch_string()
|
/Linux-v6.1/sound/soc/sof/intel/ |
D | hda.c | 1251 struct snd_soc_acpi_mach **mach) in hda_generic_machine_select() argument 1283 if (!*mach && codec_num <= 2) { in hda_generic_machine_select() 1320 *mach = hda_mach; in hda_generic_machine_select() 1325 if (*mach) { in hda_generic_machine_select() 1326 mach_params = &(*mach)->mach_params; in hda_generic_machine_select() 1333 struct snd_soc_acpi_mach **mach) in hda_generic_machine_select() argument 1421 struct snd_soc_acpi_mach *mach; in hda_sdw_machine_select() local 1436 for (mach = pdata->desc->alt_machines; in hda_sdw_machine_select() 1437 mach && mach->link_mask; mach++) { in hda_sdw_machine_select() 1446 if (~link_mask & mach->link_mask) in hda_sdw_machine_select() [all …]
|
/Linux-v6.1/arch/mips/ralink/ |
D | Platform | 4 cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink 10 cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x 16 cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x 22 cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883 28 cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620 33 cflags-$(CONFIG_SOC_MT7621) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7621
|
/Linux-v6.1/Documentation/arm/spear/ |
D | overview.rst | 52 Each machine series have a directory with name arch/arm/mach-spear followed by 53 series name. Like mach-spear3xx, mach-spear6xx and mach-spear13xx. 55 Common file for machines of spear3xx family is mach-spear3xx/spear3xx.c, for 56 spear6xx is mach-spear6xx/spear6xx.c and for spear13xx family is 57 mach-spear13xx/spear13xx.c. mach-spear* also contain soc/machine specific 59 spear600.c. mach-spear* doesn't contains board specific files as they fully
|
/Linux-v6.1/sound/soc/intel/atom/sst/ |
D | sst_acpi.c | 241 struct snd_soc_acpi_mach *mach; in sst_acpi_probe() local 259 mach = (struct snd_soc_acpi_mach *)id->driver_data; in sst_acpi_probe() 260 mach = snd_soc_acpi_find_machine(mach); in sst_acpi_probe() 261 if (mach == NULL) { in sst_acpi_probe() 267 mach->pdata = &byt_rvp_platform_data; in sst_acpi_probe() 269 mach->pdata = &chv_platform_data; in sst_acpi_probe() 270 pdata = mach->pdata; in sst_acpi_probe() 290 mach->mach_params.acpi_ipc_irq_index = in sst_acpi_probe() 305 mdev = platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe() 306 (const void *)mach, sizeof(*mach)); in sst_acpi_probe() [all …]
|
/Linux-v6.1/arch/sh/tools/ |
D | gen-mach-types | 12 mach[nr] = $1; 35 printf(" #define MACH_%s\t\t1\n", mach[i]); 37 printf(" #define MACH_%s\t\t0\n", mach[i]); 45 tolower(mach[i]), mach[i]);
|
/Linux-v6.1/sound/soc/sof/amd/ |
D | acp-common.c | 40 struct snd_soc_acpi_mach *mach; in amd_sof_machine_select() local 42 mach = snd_soc_acpi_find_machine(desc->machines); in amd_sof_machine_select() 43 if (!mach) { in amd_sof_machine_select() 48 sof_pdata->tplg_filename = mach->sof_tplg_filename; in amd_sof_machine_select() 49 sof_pdata->fw_filename = mach->fw_filename; in amd_sof_machine_select() 51 return mach; in amd_sof_machine_select()
|
/Linux-v6.1/sound/soc/sof/ |
D | sof-audio.c | 799 struct snd_sof_of_mach *mach = desc->of_machines; in sof_of_machine_select() local 801 if (!mach) in sof_of_machine_select() 804 for (; mach->compatible; mach++) { in sof_of_machine_select() 805 if (of_machine_is_compatible(mach->compatible)) { in sof_of_machine_select() 806 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select() 807 if (mach->fw_filename) in sof_of_machine_select() 808 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select() 810 return mach; in sof_of_machine_select() 824 struct snd_soc_acpi_mach *mach; in sof_machine_check() local 830 mach = snd_sof_machine_select(sdev); in sof_machine_check() [all …]
|
/Linux-v6.1/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 202 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()
|
/Linux-v6.1/Documentation/sh/ |
D | index.rst | 31 mach-dreamcast 34 .. kernel-doc:: arch/sh/boards/mach-dreamcast/rtc.c 37 mach-x3proto 40 .. kernel-doc:: arch/sh/boards/mach-x3proto/ilsel.c
|
/Linux-v6.1/arch/mips/fw/arc/ |
D | identify.c | 94 struct smatch *mach; in prom_identify_arch() local 107 mach = string_to_mach(iname); in prom_identify_arch() 108 system_type = mach->liname; in prom_identify_arch() 110 prom_flags = mach->flags; in prom_identify_arch()
|
/Linux-v6.1/sound/soc/intel/skylake/ |
D | skl.c | 486 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 …]
|