Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 69) sorted by relevance

123

/u-boot/drivers/phy/
A Dphy-mtk-tphy.c502 switch (instance->type) { in phy_v1_banks_init()
530 switch (instance->type) { in phy_v2_banks_init()
568 switch (instance->type) { in mtk_phy_init()
646 instance = tphy->phys[index]; in mtk_phy_xlate()
650 if (!instance) { in mtk_phy_xlate()
656 instance->type = args->args[1]; in mtk_phy_xlate()
712 instance = devm_kzalloc(dev, sizeof(*instance), GFP_KERNEL); in mtk_tphy_probe()
713 if (!instance) in mtk_tphy_probe()
721 instance->index = index; in mtk_tphy_probe()
723 tphy->phys[index] = instance; in mtk_tphy_probe()
[all …]
/u-boot/include/configs/
A Dphycore_am335x_r2.h41 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
42 "bootcmd_" #devtypel #instance "=" \
43 "setenv mmcdev " #instance "; "\
44 "setenv bootpart " #instance ":1 ; "\
45 "setenv rootpart " #instance ":2 ; "\
48 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
49 #devtypel #instance " "
51 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ argument
52 "bootcmd_" #devtypel #instance "=" \
55 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
[all …]
A Domap3_beagle.h62 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
63 "bootcmd_" #devtypel #instance "=" \
64 "setenv mmcdev " #instance "; " \
66 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
67 #devtypel #instance " "
71 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ argument
72 "bootcmd_" #devtypel #instance "=" \
78 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
79 #devtypel #instance " "
A Domap3_evm.h56 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
57 "bootcmd_" #devtypel #instance "=" \
58 "setenv mmcdev " #instance "; " \
60 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
61 #devtypel #instance " "
65 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ argument
66 "bootcmd_" #devtypel #instance "=" \
72 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
73 #devtypel #instance " "
A Dti_omap4_common.h63 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
64 "bootcmd_" #devtypel #instance "=" \
65 "setenv mmcdev " #instance"; "\
66 "setenv bootpart " #instance":2 ; "\
69 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
70 #devtypel #instance " "
72 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
73 #devtypel #instance " "
A Dmeson64_android.h13 #define BOOTENV_DEV_FASTBOOT(devtypeu, devtypel, instance) \ argument
44 #define BOOTENV_DEV_NAME_FASTBOOT(devtypeu, devtypel, instance) \ argument
48 #define BOOTENV_DEV_RECOVERY(devtypeu, devtypel, instance) \ argument
75 #define BOOTENV_DEV_NAME_RECOVERY(devtypeu, devtypel, instance) \ argument
78 #define BOOTENV_DEV_SYSTEM(devtypeu, devtypel, instance) \ argument
92 #define BOOTENV_DEV_NAME_SYSTEM(devtypeu, devtypel, instance) \ argument
A Dxilinx_zynqmp.h155 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \ argument
156 "bootcmd_" #devtypel #instance "=sf probe " #instance " 0 0 && " \
161 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \ argument
162 #devtypel #instance " "
164 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ argument
165 "bootcmd_" #devtypel #instance "= nand info && " \
170 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
171 #devtypel #instance " "
175 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \ argument
179 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \ argument
A Dam335x_evm.h53 #define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
54 "bootcmd_" #devtypel #instance "=" \
55 "setenv mmcdev " #instance"; "\
56 "setenv bootpart " #instance":2 ; "\
59 #define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \ argument
60 #devtypel #instance " "
62 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ argument
66 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
67 #devtypel #instance " "
A Dmicroblaze-generic.h90 #define BOOTENV_DEV_NOR(devtypeu, devtypel, instance) \ argument
95 #define BOOTENV_DEV_NAME_NOR(devtypeu, devtypel, instance) \ argument
98 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \ argument
104 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \ argument
109 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \ argument
113 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \ argument
A Dzynq-common.h147 #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \ argument
153 #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \ argument
156 #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ argument
162 #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ argument
165 #define BOOTENV_DEV_NOR(devtypeu, devtypel, instance) \ argument
171 #define BOOTENV_DEV_NAME_NOR(devtypeu, devtypel, instance) \ argument
176 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \ argument
180 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \ argument
A Dxilinx_versal.h114 #define BOOTENV_DEV_XSPI(devtypeu, devtypel, instance) \ argument
120 #define BOOTENV_DEV_NAME_XSPI(devtypeu, devtypel, instance) \ argument
125 #define BOOTENV_DEV_JTAG(devtypeu, devtypel, instance) \ argument
129 #define BOOTENV_DEV_NAME_JTAG(devtypeu, devtypel, instance) \ argument
134 #define BOOTENV_DEV_DFU_USB(devtypeu, devtypel, instance) \ argument
141 #define BOOTENV_DEV_NAME_DFU_USB(devtypeu, devtypel, instance) \ argument
A Dqemu-riscv.h48 #define BOOTENV_DEV_QEMU(devtypeu, devtypel, instance) \ argument
54 #define BOOTENV_DEV_NAME_QEMU(devtypeu, devtypel, instance) \ argument
A Dmeson64.h44 #define BOOTENV_DEV_ROMUSB(devtypeu, devtypel, instance) \ argument
52 #define BOOTENV_DEV_NAME_ROMUSB(devtypeu, devtypel, instance) \ argument
A Dsunxi-common.h313 #define BOOTENV_DEV_MMC_AUTO(devtypeu, devtypel, instance) \ argument
325 #define BOOTENV_DEV_NAME_MMC_AUTO(devtypeu, devtypel, instance) \ argument
361 #define BOOTENV_DEV_FEL(devtypeu, devtypel, instance) \ argument
367 #define BOOTENV_DEV_NAME_FEL(devtypeu, devtypel, instance) \ argument
/u-boot/include/environment/distro/
A Dsf.h18 #define BOOTENV_DEV_SF(devtypeu, devtypel, instance) \ argument
19 "bootcmd_" #devtypel #instance "=" \
20 "busnum=" #instance "; " \
22 #define BOOTENV_DEV_NAME_SF(devtypeu, devtypel, instance) \ argument
23 #devtypel #instance " "
/u-boot/include/
A Dconfig_distro_bootcmd.h38 #define BOOTENV_DEV_BLKDEV(devtypeu, devtypel, instance) \ argument
39 "bootcmd_" #devtypel #instance "=" \
40 "devnum=" #instance "; " \
43 #define BOOTENV_DEV_NAME_BLKDEV(devtypeu, devtypel, instance) \ argument
44 #devtypel #instance " "
376 #define BOOTENV_DEV_DHCP(devtypeu, devtypel, instance) \ argument
396 #define BOOTENV_DEV_PXE(devtypeu, devtypel, instance) \ argument
413 #define BOOTENV_DEV_NAME(devtypeu, devtypel, instance) \ argument
414 BOOTENV_DEV_NAME_##devtypeu(devtypeu, devtypel, instance)
418 #define BOOTENV_DEV(devtypeu, devtypel, instance) \ argument
[all …]
/u-boot/doc/device-tree-bindings/usb/
A Ddwc2.txt6 - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC.
7 - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC.
8 - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc;
12 - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs;
13 - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs;
14 - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs;
15 - "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs;
16 - "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs;
19 - "st,stm32f4x9-fsotg": The DWC2 USB FS/HS controller instance in STM32F4x9 SoCs
21 - "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs
[all …]
/u-boot/drivers/mmc/
A Dsti_sdhci.c22 int instance; member
44 if (plat->instance) { in sti_mmc_core_config()
55 if (plat->instance) { in sti_mmc_core_config()
86 plat->instance = 1; in sti_sdhci_probe()
89 plat->instance = 0; in sti_sdhci_probe()
/u-boot/arch/arm/mach-stm32mp/
A Dcpu.c468 unsigned int instance = (boot_mode & TAMP_BOOT_INSTANCE_MASK) - 1; in setup_boot_mode() local
473 __func__, boot_ctx, boot_mode, instance, forced_mode); in setup_boot_mode()
476 if (instance > ARRAY_SIZE(serial_addr)) in setup_boot_mode()
479 sprintf(cmd, "serial@%x", serial_addr[instance]); in setup_boot_mode()
486 instance, cmd); in setup_boot_mode()
506 sprintf(cmd, "%d", instance); in setup_boot_mode()
540 instance = forced_mode - BOOT_UMS_MMC0; in setup_boot_mode()
541 sprintf(cmd, "env set preboot; ums 0 mmc %d", instance); in setup_boot_mode()
/u-boot/tools/
A Dmkeficapsule.c253 unsigned long index, unsigned long instance) in create_fwbin() argument
267 printf("\tindex: %ld\n\tinstance: %ld\n", index, instance); in create_fwbin()
327 image.update_hardware_instance = instance; in create_fwbin()
372 unsigned long index, instance; in main() local
382 instance = 0; in main()
409 instance = strtoul(optarg, NULL, 0); in main()
450 if (create_fwbin(argv[optind], file, guid, index, instance) in main()
/u-boot/arch/arm/dts/
A Dtegra30-colibri.dts76 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
82 /* EHCI instance 1: USB2_DP/N -> AX88772B */
89 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
A Dtegra20-colibri.dts86 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
92 /* EHCI instance 1: ULPI -> USB3340 -> AX88772B */
102 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
/u-boot/drivers/net/octeontx2/
A Dcgx.c74 if (cgx->lmac[idx]->instance == lmac_instance) in nix_get_cgx_lmac()
216 static int instance = 1; in cgx_lmac_init() local
227 lmac->instance = instance++; in cgx_lmac_init()
239 lmac->instance); in cgx_lmac_init()
243 octeontx2_board_get_mac_addr((lmac->instance - 1), in cgx_lmac_init()
/u-boot/board/toradex/common/
A DKconfig66 int "Toradex config block offset, second instance"
69 Specify the byte offset of the 2nd instance of the Toradex config block
71 Set to 0 on modules which have no 2nd instance.
/u-boot/doc/device-tree-bindings/adc/
A Dst,stm32-adc.txt14 Each instance supports two contexts to manage conversions, each one has its
53 ADC instance available on the machine.
60 - reg: Offset of ADC instance in ADC block (e.g. may be 0x0, 0x100, 0x200).
61 - clocks: Input clock private to this ADC instance. It's required only on
62 stm32f4, that has per instance clock input for registers access.
82 - dmas: Phandle to dma channel for this ADC instance.

Completed in 36 milliseconds

123