Searched refs:instance (Results 1 - 25 of 36) sorted by relevance

12

/u-boot/include/env/distro/
H A Dsf.h18 #define BOOTENV_DEV_SF(devtypeu, devtypel, instance) \
19 "bootcmd_" #devtypel #instance "=" \
20 "busnum=" #instance "; " \
22 #define BOOTENV_DEV_NAME_SF(devtypeu, devtypel, instance) \
23 #devtypel #instance " "
/u-boot/include/configs/
H A Dphycore_am335x_r2.h37 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
38 "bootcmd_" #devtypel #instance "=" \
39 "setenv mmcdev " #instance "; "\
40 "setenv bootpart " #instance ":1 ; "\
41 "setenv rootpart " #instance ":2 ; "\
44 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
45 #devtypel #instance " "
47 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
48 "bootcmd_" #devtypel #instance "=" \
51 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
[all...]
H A Domap3_beagle.h41 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
42 "bootcmd_" #devtypel #instance "=" \
43 "setenv mmcdev " #instance "; " \
45 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
46 #devtypel #instance " "
50 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
51 "bootcmd_" #devtypel #instance "=" \
57 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
58 #devtypel #instance " "
H A Domap3_evm.h35 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
36 "bootcmd_" #devtypel #instance "=" \
37 "setenv mmcdev " #instance "; " \
39 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
40 #devtypel #instance " "
44 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
45 "bootcmd_" #devtypel #instance "=" \
51 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
52 #devtypel #instance " "
H A Dxilinx_versal.h72 #define BOOTENV_DEV_XSPI(devtypeu, devtypel, instance) \
78 #define BOOTENV_DEV_NAME_XSPI(devtypeu, devtypel, instance) \
83 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \
87 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \
93 #define BOOTENV_DEV_USB_DFU(devtypeu, devtypel, instance) \
94 "bootcmd_" #devtypel #instance "=setenv dfu_alt_info boot.scr ram " \
96 "dfu " #instance " ram " #instance " 60 && " \
97 "echo DFU" #instance ": Trying to boot script at ${scriptaddr} && " \
99 "echo DFU" #instance "
[all...]
H A Dti_omap4_common.h38 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
39 "bootcmd_" #devtypel #instance "=" \
40 "setenv mmcdev " #instance"; "\
41 "setenv bootpart " #instance":2 ; "\
44 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
45 #devtypel #instance " "
47 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
48 #devtypel #instance " "
H A Dimx8mn_bsh_smm_s2.h30 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
31 "bootcmd_" #devtypel #instance "=" \
34 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
35 #devtypel #instance " "
H A Dxilinx_zynqmp.h110 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \
111 "bootcmd_" #devtypel #instance "=sf probe " #instance " 0 0 && " \
116 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \
117 #devtypel #instance " "
119 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
120 "bootcmd_" #devtypel #instance "= nand info && " \
125 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
126 #devtypel #instance " "
130 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \
[all...]
H A Djethub.h12 #define BOOTENV_DEV_RESCUE(devtypeu, devtypel, instance) \
19 #define BOOTENV_DEV_RESCUE(devtypeu, devtypel, instance) \
26 #define BOOTENV_DEV_NAME_RESCUE(devtypeu, devtypel, instance) \
H A Dzynq-common.h93 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \
99 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \
102 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
108 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
111 #define BOOTENV_DEV_NOR(devtypeu, devtypel, instance) \
117 #define BOOTENV_DEV_NAME_NOR(devtypeu, devtypel, instance) \
122 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \
126 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \
132 #define BOOTENV_DEV_USB_DFU(devtypeu, devtypel, instance) \
133 "bootcmd_" #devtypel #instance "
[all...]
H A Dxilinx_versal_net.h92 #define BOOTENV_DEV_XSPI(devtypeu, devtypel, instance) \
93 "bootcmd_" #devtypel #instance "=" \
94 "devnum_xspi=" #instance "; run " #devtypel "_boot\0" \
96 #define BOOTENV_DEV_NAME_XSPI(devtypeu, devtypel, instance) \
101 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \
105 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \
110 #define BOOTENV_DEV_DFU_USB(devtypeu, devtypel, instance) \
117 #define BOOTENV_DEV_NAME_DFU_USB(devtypeu, devtypel, instance) \
H A Dimx6ulz_smm_m2.h49 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
50 "bootcmd_" #devtypel #instance "=" \
53 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
54 #devtypel #instance " "
H A Dmeson64_android.h152 #define BOOTENV_DEV_FASTBOOT(devtypeu, devtypel, instance) \
186 #define BOOTENV_DEV_NAME_FASTBOOT(devtypeu, devtypel, instance) \
189 #define BOOTENV_DEV_RECOVERY(devtypeu, devtypel, instance) \
233 #define BOOTENV_DEV_NAME_RECOVERY(devtypeu, devtypel, instance) \
236 #define BOOTENV_DEV_SYSTEM(devtypeu, devtypel, instance) \
254 #define BOOTENV_DEV_NAME_SYSTEM(devtypeu, devtypel, instance) \
257 #define BOOTENV_DEV_PANIC(devtypeu, devtypel, instance) \
262 #define BOOTENV_DEV_NAME_PANIC(devtypeu, devtypel, instance) \
H A Dmicroblaze-generic.h44 #define BOOTENV_DEV_NOR(devtypeu, devtypel, instance) \
49 #define BOOTENV_DEV_NAME_NOR(devtypeu, devtypel, instance) \
52 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \
58 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \
63 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \
67 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \
H A Dam43xx_evm.h50 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
54 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
55 #devtypel #instance " "
H A Dmeson64.h45 #define BOOTENV_DEV_ROMUSB(devtypeu, devtypel, instance) \
53 #define BOOTENV_DEV_NAME_ROMUSB(devtypeu, devtypel, instance) \
66 #define BOOTENV_DEV_USB_DFU(devtypeu, devtypel, instance) \
73 #define BOOTENV_DEV_NAME_USB_DFU(devtypeu, devtypel, instance) \
76 #define BOOTENV_DEV_USB_DFU(devtypeu, devtypel, instance)
77 #define BOOTENV_DEV_NAME_USB_DFU(devtypeu, devtypel, instance)
H A Dae350.h68 #define BOOTENV_DEV_NAME_RAM(devtypeu, devtypel, instance) \
70 #define BOOTENV_DEV_RAM(devtypeu, devtypel, instance) \
H A Dti_armv7_common.h180 #define BOOTENV_DEV_TI_MMC(devtypeu, devtypel, instance)
182 #define BOOTENV_DEV_NAME_TI_MMC(devtyeu, devtypel, instance) \
H A Dam335x_evm.h43 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \
47 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
48 #devtypel #instance " "
H A Dvexpress_aemv8.h110 #define BOOTENV_DEV_AFS(devtypeu, devtypel, instance) \
130 #define BOOTENV_DEV_NAME_AFS(devtypeu, devtypel, instance) "afs "
133 #define BOOTENV_DEV_MEM(devtypeu, devtypel, instance) \
143 #define BOOTENV_DEV_NAME_MEM(devtypeu, devtypel, instance) "mem "
161 #define BOOTENV_DEV_SMH(devtypeu, devtypel, instance) \
180 #define BOOTENV_DEV_NAME_SMH(devtypeu, devtypel, instance) "smh "
H A Dsocfpga_soc64_common.h57 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \
67 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \
/u-boot/drivers/phy/
H A Dphy-mtk-tphy.c277 struct mtk_phy_instance *instance)
279 struct u2phy_banks *u2_banks = &instance->u2_banks;
297 struct mtk_phy_instance *instance)
299 struct u2phy_banks *u2_banks = &instance->u2_banks;
325 u2_phy_pll_26m_set(tphy, instance);
327 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index);
331 struct mtk_phy_instance *instance)
333 struct u2phy_banks *u2_banks = &instance->u2_banks;
345 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index);
349 struct mtk_phy_instance *instance)
276 u2_phy_pll_26m_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
296 u2_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
330 u2_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
348 u2_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
366 u3_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
406 pcie_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
462 sata_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
503 pcie_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
514 pcie_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
526 phy_v1_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
554 phy_v2_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
579 phy_parse_property(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
597 u2_phy_props_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) argument
623 struct mtk_phy_instance *instance = tphy->phys[phy->id]; local
664 struct mtk_phy_instance *instance = tphy->phys[phy->id]; local
677 struct mtk_phy_instance *instance = tphy->phys[phy->id]; local
690 struct mtk_phy_instance *instance = tphy->phys[phy->id]; local
702 struct mtk_phy_instance *instance = NULL; local
784 struct mtk_phy_instance *instance; local
[all...]
/u-boot/include/
H A Dconfig_distro_bootcmd.h38 #define BOOTENV_DEV_BLKDEV_NONE(devtypeu, devtypel, instance)
40 #define BOOTENV_DEV_BLKDEV(devtypeu, devtypel, instance) \
41 "bootcmd_" #devtypel #instance "=" \
42 "devnum=" #instance "; " \
45 #define BOOTENV_DEV_NAME_BLKDEV_NONE(devtypeu, devtypel, instance)
47 #define BOOTENV_DEV_NAME_BLKDEV(devtypeu, devtypel, instance) \
48 #devtypel #instance " "
92 #define BOOTENV_DEV_UBIFS(devtypeu, devtypel, instance, bootubipart, bootubivol, ...) \
93 "bootcmd_ubifs" #instance "=" \
98 #define BOOTENV_DEV_NAME_UBIFS(devtypeu, devtypel, instance,
[all...]
/u-boot/drivers/mmc/
H A Dsti_sdhci.c23 int instance; member in struct:sti_sdhci_plat
45 if (plat->instance) {
56 if (plat->instance) {
81 * identify current mmc instance, mmc1 has a reset, not mmc0
87 plat->instance = 1;
90 plat->instance = 0;
/u-boot/arch/arm/mach-stm32mp/stm32mp1/
H A Dcpu.c182 unsigned int instance = (boot_mode & TAMP_BOOT_INSTANCE_MASK) - 1; local
186 log_debug("%s: boot_ctx=0x%x => boot_mode=%x, instance=%d forced=%x\n",
187 __func__, boot_ctx, boot_mode, instance, forced_mode);
190 if (instance >= ARRAY_SIZE(serial_addr))
193 sprintf(cmd, "serial@%x", serial_addr[instance]);
200 instance + 1, cmd);
220 if (instance >= ARRAY_SIZE(sdmmc_addr))
223 sprintf(cmd, "mmc@%x", sdmmc_addr[instance]);
226 instance, cmd);
265 instance
[all...]

Completed in 360 milliseconds

12