Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/arch/powerpc/include/asm/
Dmachdep.h243 #define __define_machine_initcall(mach, fn, id) \ argument
244 static int __init __machine_initcall_##mach##_##fn(void) { \
245 if (machine_is(mach)) return fn(); \
248 __define_initcall(__machine_initcall_##mach##_##fn, id);
250 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
251 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
252 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument
253 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument
254 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument
255 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument
[all …]
/linux-6.6.21/sound/soc/intel/avs/
Dboard_selection.c53 struct snd_soc_acpi_mach *mach = arg; in dmi_match_quirk() local
57 if (mach->quirk_data == NULL) in dmi_match_quirk()
58 return mach; in dmi_match_quirk()
60 dmi_table = (struct dmi_system_id *)mach->quirk_data; in dmi_match_quirk()
66 return mach; in dmi_match_quirk()
313 struct snd_soc_acpi_mach mach = {{0}}; in avs_register_probe_board() local
320 mach.mach_params.platform = "probe-platform"; in avs_register_probe_board()
323 (const void *)&mach, sizeof(mach)); in avs_register_probe_board()
340 struct snd_soc_acpi_mach mach = {{0}}; in avs_register_dmic_board() local
365 mach.tplg_filename = "dmic-tplg.bin"; in avs_register_dmic_board()
[all …]
/linux-6.6.21/arch/sh/boards/
DMakefile22 obj-$(CONFIG_SOLUTION_ENGINE) += mach-se/
23 obj-$(CONFIG_SH_HP6XX) += mach-hp6xx/
24 obj-$(CONFIG_SH_DREAMCAST) += mach-dreamcast/
25 obj-$(CONFIG_SH_SH03) += mach-sh03/
26 obj-$(CONFIG_SH_RTS7751R2D) += mach-r2d/
27 obj-$(CONFIG_SH_HIGHLANDER) += mach-highlander/
28 obj-$(CONFIG_SH_MIGOR) += mach-migor/
29 obj-$(CONFIG_SH_AP325RXA) += mach-ap325rxa/
30 obj-$(CONFIG_SH_KFR2R09) += mach-kfr2r09/
31 obj-$(CONFIG_SH_ECOVEC) += mach-ecovec24/
[all …]
/linux-6.6.21/arch/arm/mach-imx/
DMakefile4 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
40 obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o
41 obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o
42 obj-$(CONFIG_SOC_IMX6SLL) += mach-imx6sl.o
43 obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o
44 obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o
45 obj-$(CONFIG_SOC_IMX7D_CA7) += mach-imx7d.o
[all …]
/linux-6.6.21/sound/soc/
Dsoc-acpi.c36 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-6.6.21/arch/mips/generic/
Dinit.c24 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-6.6.21/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 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 …]
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()
/linux-6.6.21/sound/soc/amd/acp/
DMakefile19 snd-acp-mach-objs := acp-mach-common.o
20 snd-acp-legacy-mach-objs := acp-legacy-mach.o
21 snd-acp-sof-mach-objs := acp-sof-mach.o
32 obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
33 obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
34 obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o
/linux-6.6.21/arch/mips/include/asm/
Dmachine.h28 #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-6.6.21/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-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-6.6.21/arch/s390/kernel/
Dearly.c134 struct sysinfo_1_1_1 *mach = (struct sysinfo_1_1_1 *)&sysinfo_page; in setup_arch_string() local
138 if (stsi(mach, 1, 1, 1)) in setup_arch_string()
140 EBCASC(mach->manufacturer, sizeof(mach->manufacturer)); in setup_arch_string()
141 EBCASC(mach->type, sizeof(mach->type)); in setup_arch_string()
142 EBCASC(mach->model, sizeof(mach->model)); in setup_arch_string()
143 EBCASC(mach->model_capacity, sizeof(mach->model_capacity)); in setup_arch_string()
145 mach->manufacturer, mach->type, in setup_arch_string()
146 mach->model, mach->model_capacity); in setup_arch_string()
/linux-6.6.21/sound/soc/sof/intel/
Dhda.c1380 struct snd_soc_acpi_mach **mach) in hda_generic_machine_select() argument
1412 if (!*mach && codec_num <= 2) { in hda_generic_machine_select()
1459 *mach = hda_mach; in hda_generic_machine_select()
1464 if (*mach) { in hda_generic_machine_select()
1465 mach_params = &(*mach)->mach_params; in hda_generic_machine_select()
1472 struct snd_soc_acpi_mach **mach) in hda_generic_machine_select() argument
1483 struct snd_soc_acpi_mach *mach; in hda_sdw_machine_select() local
1498 for (mach = pdata->desc->alt_machines; in hda_sdw_machine_select()
1499 mach && mach->link_mask; mach++) { in hda_sdw_machine_select()
1508 if (~link_mask & mach->link_mask) in hda_sdw_machine_select()
[all …]
Datom.c300 struct snd_soc_acpi_mach *mach; in atom_machine_select() local
304 mach = snd_soc_acpi_find_machine(desc->machines); in atom_machine_select()
305 if (!mach) { in atom_machine_select()
316 mach->sof_tplg_filename, in atom_machine_select()
319 tplg_filename = mach->sof_tplg_filename; in atom_machine_select()
329 mach->mach_params.acpi_ipc_irq_index = desc->irqindex_host_ipc; in atom_machine_select()
331 return mach; in atom_machine_select()
406 void atom_set_mach_params(struct snd_soc_acpi_mach *mach, in atom_set_mach_params() argument
413 mach_params = &mach->mach_params; in atom_set_mach_params()
/linux-6.6.21/arch/mips/ralink/
DPlatform4 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-6.6.21/Documentation/arch/arm/spear/
Doverview.rst52 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-6.6.21/sound/soc/intel/atom/sst/
Dsst_acpi.c240 struct snd_soc_acpi_mach *mach; in sst_acpi_probe() local
258 mach = (struct snd_soc_acpi_mach *)id->driver_data; in sst_acpi_probe()
259 mach = snd_soc_acpi_find_machine(mach); in sst_acpi_probe()
260 if (mach == NULL) { in sst_acpi_probe()
266 mach->pdata = &byt_rvp_platform_data; in sst_acpi_probe()
268 mach->pdata = &chv_platform_data; in sst_acpi_probe()
269 pdata = mach->pdata; in sst_acpi_probe()
289 mach->mach_params.acpi_ipc_irq_index = in sst_acpi_probe()
304 mdev = platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe()
305 (const void *)mach, sizeof(*mach)); in sst_acpi_probe()
[all …]
/linux-6.6.21/arch/sh/tools/
Dgen-mach-types12 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-6.6.21/arch/sh/
DMakefile118 machdir-$(CONFIG_SOLUTION_ENGINE) += mach-se
119 machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast
120 machdir-$(CONFIG_SH_SH03) += mach-sh03
121 machdir-$(CONFIG_SH_MIGOR) += mach-migor
122 machdir-$(CONFIG_SH_KFR2R09) += mach-kfr2r09
123 machdir-$(CONFIG_SH_ECOVEC) += mach-ecovec24
124 machdir-$(CONFIG_SH_SDK7786) += mach-sdk7786
125 machdir-$(CONFIG_SH_X3PROTO) += mach-x3proto
126 machdir-$(CONFIG_SH_LANDISK) += mach-landisk
127 machdir-y += mach-common
/linux-6.6.21/sound/soc/intel/avs/boards/
Dhdaudio.c99 struct snd_soc_acpi_mach *mach = dev_get_platdata(card->dev); in avs_card_late_probe() local
100 struct hda_codec *codec = mach->pdata; in avs_card_late_probe()
128 struct snd_soc_acpi_mach *mach; in avs_probing_link_init() local
135 mach = dev_get_platdata(card->dev); in avs_probing_link_init()
136 codec = mach->pdata; in avs_probing_link_init()
143 ret = avs_create_dai_links(card->dev, codec, pcm_count, mach->mach_params.platform, &links); in avs_probing_link_init()
175 struct snd_soc_acpi_mach *mach; in avs_hdaudio_probe() local
180 mach = dev_get_platdata(dev); in avs_hdaudio_probe()
181 codec = mach->pdata; in avs_hdaudio_probe()
200 binder->platforms->name = mach->mach_params.platform; in avs_hdaudio_probe()
/linux-6.6.21/sound/soc/intel/boards/
Dskl_hda_dsp_generic.c200 struct snd_soc_acpi_mach *mach; in skl_hda_audio_probe() local
212 mach = pdev->dev.platform_data; in skl_hda_audio_probe()
213 if (!mach) in skl_hda_audio_probe()
218 ret = skl_hda_fill_card_info(&mach->mach_params); in skl_hda_audio_probe()
226 ctx->platform_name = mach->mach_params.platform; in skl_hda_audio_probe()
227 ctx->common_hdmi_codec_drv = mach->mach_params.common_hdmi_codec_drv; in skl_hda_audio_probe()
231 if (mach->mach_params.dmic_num > 0) { in skl_hda_audio_probe()
233 "cfg-dmics:%d", mach->mach_params.dmic_num); in skl_hda_audio_probe()
/linux-6.6.21/sound/soc/sof/
Dsof-audio.c1014 struct snd_sof_of_mach *mach = desc->of_machines; in sof_of_machine_select() local
1016 if (!mach) in sof_of_machine_select()
1019 for (; mach->compatible; mach++) { in sof_of_machine_select()
1020 if (of_machine_is_compatible(mach->compatible)) { in sof_of_machine_select()
1021 sof_pdata->tplg_filename = mach->sof_tplg_filename; in sof_of_machine_select()
1022 if (mach->fw_filename) in sof_of_machine_select()
1023 sof_pdata->fw_filename = mach->fw_filename; in sof_of_machine_select()
1025 return mach; in sof_of_machine_select()
1039 struct snd_soc_acpi_mach *mach; in sof_machine_check() local
1049 mach = snd_sof_machine_select(sdev); in sof_machine_check()
[all …]
/linux-6.6.21/Documentation/arch/sh/
Dindex.rst31 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-6.6.21/arch/mips/fw/arc/
Didentify.c94 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-6.6.21/sound/soc/intel/skylake/
Dskl.c477 struct snd_soc_acpi_mach *mach; in skl_find_hda_machine() local
480 mach = snd_soc_acpi_intel_hda_machines; in skl_find_hda_machine()
483 mach->fw_filename = machines->fw_filename; in skl_find_hda_machine()
485 return mach; in skl_find_hda_machine()
491 struct snd_soc_acpi_mach *mach = driver_data; in skl_find_machine() local
494 mach = snd_soc_acpi_find_machine(mach); in skl_find_machine()
495 if (!mach) { in skl_find_machine()
497 mach = skl_find_hda_machine(skl, driver_data); in skl_find_machine()
498 if (!mach) { in skl_find_machine()
504 skl->mach = mach; in skl_find_machine()
[all …]

12345678