Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/arch/powerpc/include/asm/
Dmachdep.h275 #define __define_machine_initcall(mach, fn, id) \ argument
276 static int __init __machine_initcall_##mach##_##fn(void) { \
277 if (machine_is(mach)) return fn(); \
280 __define_initcall(__machine_initcall_##mach##_##fn, id);
282 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
283 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
284 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument
285 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument
286 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument
287 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument
[all …]
/Linux-v5.4/arch/mips/kernel/
Dmips_machine.c14 #define for_each_machine(mach) \ argument
15 for ((mach) = (struct mips_machine *)&__mips_machines_start; \
16 (mach) && \
17 (unsigned long)(mach) < (unsigned long)&__mips_machines_end; \
18 (mach)++)
22 struct mips_machine *mach; in mips_machtype_setup() local
24 for_each_machine(mach) { in mips_machtype_setup()
25 if (mach->mach_id == NULL) in mips_machtype_setup()
28 if (strcmp(mach->mach_id, id) == 0) { in mips_machtype_setup()
29 mips_machtype = mach->mach_type; in mips_machtype_setup()
[all …]
/Linux-v5.4/arch/arm/mach-imx/
DMakefile6 obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
41 obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
44 obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
45 obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
46 obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
47 obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
51 obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
52 obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
53 obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
54 obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
[all …]
/Linux-v5.4/arch/arm/mach-s3c24xx/
DMakefile48 obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o
49 obj-$(CONFIG_ARCH_BAST) += mach-bast.o
51 obj-$(CONFIG_ARCH_H1940) += mach-h1940.o
54 obj-$(CONFIG_MACH_N30) += mach-n30.o
55 obj-$(CONFIG_MACH_OTOM) += mach-otom.o
56 obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o
57 obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o
58 obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o
59 obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o
61 obj-$(CONFIG_MACH_JIVE) += mach-jive.o
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/arch/arm/mach-s3c64xx/
DMakefile49 obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o
50 obj-$(CONFIG_MACH_HMT) += mach-hmt.o
51 obj-$(CONFIG_MACH_MINI6410) += mach-mini6410.o
52 obj-$(CONFIG_MACH_NCP) += mach-ncp.o
53 obj-$(CONFIG_MACH_REAL6410) += mach-real6410.o
54 obj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o
55 obj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o
56 obj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o
57 obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o
58 obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o
[all …]
/Linux-v5.4/arch/mips/generic/
Dinit.c24 static __initdata const struct mips_machine *mach; variable
54 mach = check_mach; in plat_get_fdt()
72 mach = check_mach; in plat_get_fdt()
79 BUG_ON(!mach); in plat_get_fdt()
82 fdt = mach->fdt; in plat_get_fdt()
106 if (mach && mach->fixup_fdt) in plat_mem_setup()
107 fdt = mach->fixup_fdt(fdt, mach_match_data); in plat_mem_setup()
161 } else if (mach && mach->measure_hpt_freq) { in plat_time_init()
162 mips_hpt_frequency = mach->measure_hpt_freq(); in plat_time_init()
/Linux-v5.4/arch/sh/
DMakefile142 machdir-$(CONFIG_SOLUTION_ENGINE) += mach-se
143 machdir-$(CONFIG_SH_HP6XX) += mach-hp6xx
144 machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast
145 machdir-$(CONFIG_SH_SH03) += mach-sh03
146 machdir-$(CONFIG_SH_RTS7751R2D) += mach-r2d
147 machdir-$(CONFIG_SH_HIGHLANDER) += mach-highlander
148 machdir-$(CONFIG_SH_MIGOR) += mach-migor
149 machdir-$(CONFIG_SH_AP325RXA) += mach-ap325rxa
150 machdir-$(CONFIG_SH_KFR2R09) += mach-kfr2r09
151 machdir-$(CONFIG_SH_ECOVEC) += mach-ecovec24
[all …]
/Linux-v5.4/sound/soc/sof/
Dsof-acpi-dev.c134 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 …]
Dsof-of-dev.c47 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()
Dsof-pci-dev.c275 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()
/Linux-v5.4/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()
/Linux-v5.4/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-v5.4/sound/soc/intel/common/
Dsst-acpi.c44 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 …]
/Linux-v5.4/arch/s390/kernel/
Dearly.c108 struct sysinfo_1_1_1 *mach = (struct sysinfo_1_1_1 *)&sysinfo_page; in setup_arch_string() local
112 if (stsi(mach, 1, 1, 1)) in setup_arch_string()
114 EBCASC(mach->manufacturer, sizeof(mach->manufacturer)); in setup_arch_string()
115 EBCASC(mach->type, sizeof(mach->type)); in setup_arch_string()
116 EBCASC(mach->model, sizeof(mach->model)); in setup_arch_string()
117 EBCASC(mach->model_capacity, sizeof(mach->model_capacity)); in setup_arch_string()
119 mach->manufacturer, mach->type, in setup_arch_string()
120 mach->model, mach->model_capacity); in setup_arch_string()
/Linux-v5.4/Documentation/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-v5.4/sound/soc/intel/atom/sst/
Dsst_acpi.c241 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 …]
/Linux-v5.4/arch/arm/mach-omap1/include/mach/
Duncompress.h69 #define _DEBUG_LL_ENTRY(mach, dbg_uart, dbg_shft, dbg_id) \ argument
70 if (machine_is_##mach()) { \
78 #define DEBUG_LL_OMAP7XX(p, mach) \ argument
79 _DEBUG_LL_ENTRY(mach, OMAP1_UART##p##_BASE, OMAP7XX_PORT_SHIFT, \
82 #define DEBUG_LL_OMAP1(p, mach) \ argument
83 _DEBUG_LL_ENTRY(mach, OMAP1_UART##p##_BASE, OMAP_PORT_SHIFT, \
/Linux-v5.4/arch/mips/ralink/
DPlatform5 cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink
11 cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x
17 cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
23 cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883
29 cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620
34 cflags-$(CONFIG_SOC_MT7621) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7621
/Linux-v5.4/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-v5.4/sound/soc/amd/
DMakefile3 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
/Linux-v5.4/Documentation/sh/
Dindex.rst34 mach-dreamcast
37 .. kernel-doc:: arch/sh/boards/mach-dreamcast/rtc.c
40 mach-x3proto
43 .. kernel-doc:: arch/sh/boards/mach-x3proto/ilsel.c
/Linux-v5.4/arch/mips/fw/arc/
Didentify.c93 struct smatch *mach; in prom_identify_arch() local
112 mach = string_to_mach(iname); in prom_identify_arch()
113 system_type = mach->liname; in prom_identify_arch()
115 prom_flags = mach->flags; in prom_identify_arch()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl.c484 struct snd_soc_acpi_mach *mach; in skl_find_hda_machine() local
491 mach = snd_soc_acpi_intel_hda_machines; in skl_find_hda_machine()
494 mach->fw_filename = machines->fw_filename; in skl_find_hda_machine()
496 return mach; in skl_find_hda_machine()
502 struct snd_soc_acpi_mach *mach = driver_data; in skl_find_machine() local
505 mach = snd_soc_acpi_find_machine(mach); in skl_find_machine()
506 if (!mach) { in skl_find_machine()
508 mach = skl_find_hda_machine(skl, driver_data); in skl_find_machine()
509 if (!mach) { in skl_find_machine()
515 skl->mach = mach; in skl_find_machine()
[all …]

1234567