/openbmc/linux/arch/powerpc/include/asm/ |
H A D | machdep.h | 243 #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 …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | board_selection.c | 53 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() 398 struct snd_soc_acpi_mach mach = {{0}}; in avs_register_probe_board() local 405 mach.mach_params.platform = "probe-platform"; in avs_register_probe_board() 408 (const void *)&mach, sizeof(mach)); in avs_register_probe_board() 425 struct snd_soc_acpi_mach mach = {{0}}; in avs_register_dmic_board() local 450 mach.tplg_filename = "dmic-tplg.bin"; in avs_register_dmic_board() [all …]
|
/openbmc/linux/arch/sh/boards/ |
H A D | Makefile | 22 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 …]
|
/openbmc/linux/arch/arm/mach-imx/ |
H A 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 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 …]
|
/openbmc/linux/sound/soc/ |
H A 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 …]
|
/openbmc/linux/arch/mips/generic/ |
H A 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()
|
/openbmc/linux/sound/oss/dmasound/ |
H A 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 …]
|
H A 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()
|
/openbmc/linux/sound/soc/amd/acp/ |
H A D | Makefile | 19 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
|
/openbmc/linux/arch/mips/include/asm/ |
H A 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()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | early.c | 134 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()
|
/openbmc/linux/sound/soc/amd/ |
H A 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
|
/openbmc/qemu/target/i386/nvmm/ |
H A D | nvmm-all.c | 45 struct nvmm_machine mach; member 56 return &qemu_mach.mach; in get_nvmm_mach() 83 struct nvmm_machine *mach = get_nvmm_mach(); in nvmm_set_registers() local 191 ret = nvmm_vcpu_setstate(mach, vcpu, bitmap); in nvmm_set_registers() 220 struct nvmm_machine *mach = get_nvmm_mach(); in nvmm_get_registers() local 239 ret = nvmm_vcpu_getstate(mach, vcpu, bitmap); in nvmm_get_registers() 346 struct nvmm_machine *mach = get_nvmm_mach(); in nvmm_can_take_int() local 356 nvmm_vcpu_getstate(mach, vcpu, NVMM_X64_STATE_INTR); in nvmm_can_take_int() 358 nvmm_vcpu_setstate(mach, vcpu, NVMM_X64_STATE_INTR); in nvmm_can_take_int() 391 struct nvmm_machine *mach = get_nvmm_mach(); in nvmm_vcpu_pre_run() local [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda.c | 1380 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 …]
|
/openbmc/linux/Documentation/arch/arm/spear/ |
H A 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
|
/openbmc/linux/arch/mips/ralink/ |
H A 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
|
/openbmc/openbmc-tools/netboot/ |
H A D | netboot | 59 mach = conf[args.machine] 60 console = mach["console"] 67 "%s login:" % (mach["platform"]), 68 "root@%s:.*#" % (mach["platform"]), 78 conn.encode_and_write(mach["user"]) 80 conn.encode_and_write(mach["password"]) 81 conn.expect_or_raise(["root@%s:.*#" % (mach["platform"])]) 88 for comm in mach["u-boot"]["commands"]:
|
/openbmc/linux/sound/soc/intel/atom/sst/ |
H A D | sst_acpi.c | 262 struct snd_soc_acpi_mach *mach; in sst_acpi_probe() local 280 mach = (struct snd_soc_acpi_mach *)id->driver_data; in sst_acpi_probe() 281 mach = snd_soc_acpi_find_machine(mach); in sst_acpi_probe() 282 if (mach == NULL) { in sst_acpi_probe() 288 mach->pdata = &byt_rvp_platform_data; in sst_acpi_probe() 290 mach->pdata = &chv_platform_data; in sst_acpi_probe() 291 pdata = mach->pdata; in sst_acpi_probe() 334 mach->mach_params.acpi_ipc_irq_index = in sst_acpi_probe() 349 mdev = platform_device_register_data(dev, mach->drv_name, -1, in sst_acpi_probe() 350 (const void *)mach, sizeof(*mach)); in sst_acpi_probe() [all …]
|
/openbmc/linux/arch/sh/tools/ |
H A 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]);
|
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-bsp/u-boot/files/ |
H A D | 0001-Add-system-reset-status-support.patch | 17 arch/arm/mach-aspeed/Makefile | 1 + 18 arch/arm/mach-aspeed/ast-late-init.c | 114 ++++++++++++++++++++ 19 arch/arm/mach-aspeed/ast-scu.c | 6 +- 21 create mode 100644 arch/arm/mach-aspeed/ast-late-init.c 47 diff --git a/arch/arm/mach-aspeed/Makefile b/arch/arm/mach-aspeed/Makefile 49 --- a/arch/arm/mach-aspeed/Makefile 50 +++ b/arch/arm/mach-aspeed/Makefile 56 diff --git a/arch/arm/mach-aspeed/ast-late-init.c b/arch/arm/mach-aspeed/ast-late-init.c 60 +++ b/arch/arm/mach-aspeed/ast-late-init.c 176 diff --git a/arch/arm/mach-aspeed/ast-scu.c b/arch/arm/mach-aspeed/ast-scu.c [all …]
|
/openbmc/linux/arch/sh/ |
H A D | Makefile | 118 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
|
/openbmc/u-boot/drivers/net/mscc_eswitch/ |
H A D | mscc_mac_table.c | 51 u32 macl = 0, mach = 0; in mscc_mac_table_add() local 56 mach |= MAC_VID << 16; in mscc_mac_table_add() 57 mach |= ((u32)mac[0]) << 8; in mscc_mac_table_add() 58 mach |= ((u32)mac[1]) << 0; in mscc_mac_table_add() 65 writel(mach, regs + mscc_mac_table_offset[MSCC_ANA_TABLES_MACHDATA]); in mscc_mac_table_add()
|
/openbmc/linux/sound/soc/intel/avs/boards/ |
H A D | hdaudio.c | 99 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()
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | skl_hda_dsp_generic.c | 200 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() 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()
|
/openbmc/u-boot/scripts/ |
H A D | Makefile.autoconf | 127 $(Q)if [ -d $(KBUILD_SRC)/arch/$(ARCH)/mach-$(SOC)/include/mach ]; then \ 128 dest=arch/$(ARCH)/mach-$(SOC)/include/mach; \ 134 $(Q)if [ -d arch/$(ARCH)/mach-$(SOC)/include/mach ]; then \ 135 dest=../../mach-$(SOC)/include/mach; \
|