/u-boot/arch/mips/mach-ath79/include/mach/ |
A D | ath79.h | 44 gd->arch.soc == ATH79_SOC_AR7141 || in soc_is_ar71xx() 45 gd->arch.soc == ATH79_SOC_AR7161; in soc_is_ar71xx() 51 gd->arch.soc == ATH79_SOC_AR7241 || in soc_is_ar724x() 52 gd->arch.soc == ATH79_SOC_AR7242; in soc_is_ar724x() 57 return gd->arch.soc == ATH79_SOC_AR7240; in soc_is_ar7240() 62 return gd->arch.soc == ATH79_SOC_AR7241; in soc_is_ar7241() 67 return gd->arch.soc == ATH79_SOC_AR7242; in soc_is_ar7242() 73 gd->arch.soc == ATH79_SOC_AR9132; in soc_is_ar913x() 79 gd->arch.soc == ATH79_SOC_AR9331; in soc_is_ar933x() 84 return gd->arch.soc == ATH79_SOC_AR9341; in soc_is_ar9341() [all …]
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.h | 10 bool (*ctlrdy_ack)(struct brcmnand_soc *soc); 11 void (*ctlrdy_set_enabled)(struct brcmnand_soc *soc, bool en); 12 void (*prepare_data_bus)(struct brcmnand_soc *soc, bool prepare, 17 static inline void brcmnand_soc_data_bus_prepare(struct brcmnand_soc *soc, in brcmnand_soc_data_bus_prepare() argument 20 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_prepare() 21 soc->prepare_data_bus(soc, true, is_param); in brcmnand_soc_data_bus_prepare() 24 static inline void brcmnand_soc_data_bus_unprepare(struct brcmnand_soc *soc, in brcmnand_soc_data_bus_unprepare() argument 27 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_unprepare() 28 soc->prepare_data_bus(soc, false, is_param); in brcmnand_soc_data_bus_unprepare() 56 int brcmnand_probe(struct udevice *dev, struct brcmnand_soc *soc);
|
A D | bcm63158_nand.c | 17 struct brcmnand_soc soc; member 40 static bool bcm63158_nand_intc_ack(struct brcmnand_soc *soc) in bcm63158_nand_intc_ack() argument 43 container_of(soc, struct bcm63158_nand_soc, soc); in bcm63158_nand_intc_ack() 58 static void bcm63158_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm63158_nand_intc_set() argument 61 container_of(soc, struct bcm63158_nand_soc, soc); in bcm63158_nand_intc_set() 80 struct brcmnand_soc *soc; in bcm63158_nand_probe() local 83 soc = &priv->soc; in bcm63158_nand_probe() 90 soc->ctlrdy_ack = bcm63158_nand_intc_ack; in bcm63158_nand_probe() 91 soc->ctlrdy_set_enabled = bcm63158_nand_intc_set; in bcm63158_nand_probe() 97 return brcmnand_probe(pdev, soc); in bcm63158_nand_probe()
|
A D | bcm68360_nand.c | 16 struct brcmnand_soc soc; member 39 static bool bcm68360_nand_intc_ack(struct brcmnand_soc *soc) in bcm68360_nand_intc_ack() argument 42 container_of(soc, struct bcm68360_nand_soc, soc); in bcm68360_nand_intc_ack() 57 static void bcm68360_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm68360_nand_intc_set() argument 60 container_of(soc, struct bcm68360_nand_soc, soc); in bcm68360_nand_intc_set() 79 struct brcmnand_soc *soc; in bcm68360_nand_probe() local 82 soc = &priv->soc; in bcm68360_nand_probe() 89 soc->ctlrdy_ack = bcm68360_nand_intc_ack; in bcm68360_nand_probe() 90 soc->ctlrdy_set_enabled = bcm68360_nand_intc_set; in bcm68360_nand_probe() 96 return brcmnand_probe(pdev, soc); in bcm68360_nand_probe()
|
A D | bcm6838_nand.c | 17 struct brcmnand_soc soc; member 38 static bool bcm6838_nand_intc_ack(struct brcmnand_soc *soc) in bcm6838_nand_intc_ack() argument 41 container_of(soc, struct bcm6838_nand_soc, soc); in bcm6838_nand_intc_ack() 56 static void bcm6838_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm6838_nand_intc_set() argument 59 container_of(soc, struct bcm6838_nand_soc, soc); in bcm6838_nand_intc_set() 78 struct brcmnand_soc *soc; in bcm6838_nand_probe() local 81 soc = &priv->soc; in bcm6838_nand_probe() 88 soc->ctlrdy_ack = bcm6838_nand_intc_ack; in bcm6838_nand_probe() 89 soc->ctlrdy_set_enabled = bcm6838_nand_intc_set; in bcm6838_nand_probe() 96 return brcmnand_probe(pdev, soc); in bcm6838_nand_probe()
|
A D | bcm6858_nand.c | 17 struct brcmnand_soc soc; member 40 static bool bcm6858_nand_intc_ack(struct brcmnand_soc *soc) in bcm6858_nand_intc_ack() argument 43 container_of(soc, struct bcm6858_nand_soc, soc); in bcm6858_nand_intc_ack() 58 static void bcm6858_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm6858_nand_intc_set() argument 61 container_of(soc, struct bcm6858_nand_soc, soc); in bcm6858_nand_intc_set() 80 struct brcmnand_soc *soc; in bcm6858_nand_probe() local 83 soc = &priv->soc; in bcm6858_nand_probe() 90 soc->ctlrdy_ack = bcm6858_nand_intc_ack; in bcm6858_nand_probe() 91 soc->ctlrdy_set_enabled = bcm6858_nand_intc_set; in bcm6858_nand_probe() 97 return brcmnand_probe(pdev, soc); in bcm6858_nand_probe()
|
A D | bcm6368_nand.c | 16 struct brcmnand_soc soc; member 20 #define soc_to_priv(_soc) container_of(_soc, struct bcm6368_nand_soc, soc) 39 static bool bcm6368_nand_intc_ack(struct brcmnand_soc *soc) in bcm6368_nand_intc_ack() argument 41 struct bcm6368_nand_soc *priv = soc_to_priv(soc); in bcm6368_nand_intc_ack() 56 static void bcm6368_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm6368_nand_intc_set() argument 58 struct bcm6368_nand_soc *priv = soc_to_priv(soc); in bcm6368_nand_intc_set() 76 struct brcmnand_soc *soc = &priv->soc; in bcm6368_nand_probe() local 82 soc->ctlrdy_ack = bcm6368_nand_intc_ack; in bcm6368_nand_probe() 83 soc->ctlrdy_set_enabled = bcm6368_nand_intc_set; in bcm6368_nand_probe() 90 return brcmnand_probe(dev, soc); in bcm6368_nand_probe()
|
/u-boot/drivers/usb/common/ |
A D | fsl-errata.c | 22 u32 soc = SVR_SOC_VER(svr); in has_dual_phy() local 24 switch (soc) { in has_dual_phy() 51 u32 soc = SVR_SOC_VER(svr); in has_erratum_a005275() local 56 switch (soc) { in has_erratum_a005275() 80 switch (soc) { in has_erratum_a006261() 113 switch (soc) { in has_erratum_a007075() 141 switch (soc) { in has_erratum_a007792() 167 switch (soc) { in has_erratum_a005697() 186 switch (soc) { in has_erratum_a004477() 213 switch (soc) { in has_erratum_a008751() [all …]
|
/u-boot/arch/arm/mach-socfpga/ |
A D | qts-filter.sh | 19 soc="$1" 38 ${in_bsp_dir}/generated/iocsr_config_${soc}.h | 45 ${in_bsp_dir}/generated/iocsr_config_${soc}.c | 62 soc="$1" 81 ${in_bsp_dir}/generated/pinmux_config_${soc}.c | 98 soc="$1" 141 soc="$1" 214 soc="$1" 225 ! -d "${out_dir}" -o -z "${soc}" ] ; then 230 process_iocsr_config "${soc}" "${in_qts_dir}" "${in_bsp_dir}" "${out_dir}" [all …]
|
/u-boot/arch/mips/mach-ath79/ |
A D | cpu.c | 16 const enum ath79_soc_type soc; member 53 enum ath79_soc_type soc = ATH79_SOC_UNKNOWN; in mach_cpu_init() local 93 soc = desc[i].soc; in mach_cpu_init() 99 gd->arch.soc = soc; in mach_cpu_init() 107 enum ath79_soc_type soc = ATH79_SOC_UNKNOWN; in print_cpuinfo() local 113 if (desc[i].soc == gd->arch.soc) { in print_cpuinfo() 115 soc = desc[i].soc; in print_cpuinfo() 124 switch (soc) { in print_cpuinfo()
|
/u-boot/arch/powerpc/dts/ |
A D | kmcent2-u-boot.dtsi | 11 spi0 = "/soc@ffe000000/spi@110000"; 12 i2c0 = "/soc@ffe000000/i2c@118000"; 13 i2c1 = "/soc@ffe000000/i2c@118000/mux@70/i2c@0"; 14 i2c2 = "/soc@ffe000000/i2c@118000/mux@70/i2c@1"; 15 i2c3 = "/soc@ffe000000/i2c@118000/mux@70/i2c@7"; 16 i2c4 = "/soc@ffe000000/i2c@118100"; 23 stdout-path = "/soc@ffe000000/serial@11c500"; 26 soc@ffe000000 {
|
/u-boot/drivers/misc/ |
A D | stm32_rcc.c | 20 .soc = STM32F42X, 25 .soc = STM32F469, 30 .soc = STM32F7, 39 .soc = STM32MP1, 58 rcc_clk->soc, in stm32_rcc_bind() 71 rcc_clk->soc, in stm32_rcc_bind()
|
/u-boot/drivers/soc/ |
A D | soc-uclass.c | 53 struct udevice *soc; in soc_device_match() local 59 if (soc_get(&soc)) in soc_device_match() 70 if (!soc_get_machine(soc, str, SOC_MAX_STR_SIZE)) { in soc_device_match() 77 if (!soc_get_family(soc, str, SOC_MAX_STR_SIZE)) { in soc_device_match() 84 if (!soc_get_revision(soc, str, SOC_MAX_STR_SIZE)) { in soc_device_match() 99 UCLASS_DRIVER(soc) = {
|
A D | soc_ti_k3.c | 33 u32 soc; in get_family_string() local 35 soc = (idreg & JTAG_ID_PARTNO_MASK) >> JTAG_ID_PARTNO_SHIFT; in get_family_string() 37 switch (soc) { in get_family_string()
|
/u-boot/arch/arm/mach-stm32mp/ |
A D | fdt.c | 258 int soc; in ft_system_setup() local 262 soc = fdt_path_offset(blob, "/soc"); in ft_system_setup() 263 if (soc < 0) in ft_system_setup() 264 return soc; in ft_system_setup() 267 ret = stm32_fdt_fixup_etzpc(blob, soc); in ft_system_setup() 283 soc = fdt_path_offset(blob, "/soc"); in ft_system_setup() 284 stm32_fdt_disable(blob, soc, STM32_FDCAN_BASE, "can", name); in ft_system_setup() 290 stm32_fdt_disable(blob, soc, STM32_GPU_BASE, "gpu", name); in ft_system_setup() 291 stm32_fdt_disable(blob, soc, STM32_DSI_BASE, "dsi", name); in ft_system_setup() 304 stm32_fdt_disable(blob, soc, STM32_CRYP1_BASE, "cryp", name); in ft_system_setup() [all …]
|
/u-boot/board/amlogic/odroid-n2/ |
A D | odroid-n2.c | 62 static void odroid_set_fdtfile(char *soc, char *variant) in odroid_set_fdtfile() argument 66 snprintf(s, sizeof(s), "amlogic/meson-%s-odroid-%s.dtb", soc, variant); in odroid_set_fdtfile() 72 char *variant = "", *soc = ""; in odroid_detect_variant() local 78 soc = "sm1"; in odroid_detect_variant() 81 soc = "g12b"; in odroid_detect_variant() 103 odroid_set_fdtfile(soc, variant); in odroid_detect_variant()
|
/u-boot/arch/arm/mach-mvebu/ |
A D | mbus.c | 115 mbus->soc->win_cfg_offset(win); in mvebu_mbus_read_window() 136 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_read_window() 155 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_disable_window() 166 mbus->soc->win_cfg_offset(win); in mvebu_mbus_window_is_free() 244 mbus->soc->win_cfg_offset(win); in mvebu_mbus_setup_window() 254 if (win < mbus->soc->num_remappable_wins) { in mvebu_mbus_setup_window() 274 for (win = mbus->soc->num_remappable_wins; in mvebu_mbus_alloc_window() 275 win < mbus->soc->num_wins; win++) in mvebu_mbus_alloc_window() 283 for (win = 0; win < mbus->soc->num_wins; win++) in mvebu_mbus_alloc_window() 502 mbus_state.soc = &kirkwood_mbus_data; in mvebu_mbus_probe() [all …]
|
/u-boot/drivers/pinctrl/mediatek/ |
A D | pinctrl-mtk-common.c | 132 if (priv->soc->reg_cal && priv->soc->reg_cal[field].range) in mtk_hw_pin_field_get() 133 rc = &priv->soc->reg_cal[field]; in mtk_hw_pin_field_get() 214 return priv->soc->ngrps; in mtk_get_groups_count() 222 if (!priv->soc->grps[selector].name) in mtk_get_pin_name() 232 return priv->soc->npins; in mtk_get_pins_count() 240 if (!priv->soc->grps[selector].name) in mtk_get_group_name() 250 return priv->soc->nfuncs; in mtk_get_functions_count() 270 &priv->soc->grps[group_selector]; in mtk_pinmux_group_set() 424 int rev = priv->soc->rev; in mtk_pinconf_set() 576 priv->soc->gpio_mode); in mtk_gpio_request() [all …]
|
/u-boot/include/ |
A D | fsl_errata.h | 40 u32 soc = SVR_SOC_VER(svr); in has_erratum_a007186() local 42 switch (soc) { in has_erratum_a007186() 64 u32 soc = SVR_SOC_VER(svr); in has_erratum_a008378() local 67 switch (soc) { in has_erratum_a008378()
|
/u-boot/drivers/pci/ |
A D | pci_tegra.c | 228 const struct tegra_pcie_soc *soc; member 610 const struct tegra_pcie_soc *soc = pcie->soc; in tegra_pcie_power_on() local 638 if (soc->has_cml_clk) { in tegra_pcie_power_on() 657 const struct tegra_pcie_soc *soc = pcie->soc; in tegra_pcie_pll_wait() local 672 const struct tegra_pcie_soc *soc = pcie->soc; in tegra_pcie_phy_enable() local 728 const struct tegra_pcie_soc *soc = pcie->soc; local 744 if (soc->has_pex_bias_ctrl) 758 if (soc->has_gen2) 924 const struct tegra_pcie_soc *soc = pcie->soc; local 941 if (soc->force_pca_enable) { [all …]
|
/u-boot/arch/arm/mach-k3/ |
A D | common.c | 331 struct udevice *soc; in print_cpuinfo() local 337 ret = soc_get(&soc); in print_cpuinfo() 343 ret = soc_get_family(soc, name, 64); in print_cpuinfo() 348 ret = soc_get_revision(soc, name, 64); in print_cpuinfo() 359 u32 soc; in soc_is_j721e() local 361 soc = (readl(CTRLMMR_WKUP_JTAG_ID) & in soc_is_j721e() 364 return soc == J721E; in soc_is_j721e() 369 u32 soc; in soc_is_j7200() local 371 soc = (readl(CTRLMMR_WKUP_JTAG_ID) & in soc_is_j7200() 374 return soc == J7200; in soc_is_j7200()
|
/u-boot/arch/arm/include/asm/arch-octeontx2/ |
A D | soc.h | 19 #define otx_is_soc(soc) (read_partnum() == (soc)) argument
|
/u-boot/arch/arm/include/asm/arch-octeontx/ |
A D | soc.h | 18 #define otx_is_soc(soc) (read_partnum() == (soc)) argument
|
/u-boot/arch/x86/include/asm/arch-apollolake/acpi/ |
A D | platform.asl | 9 #include <soc/intel/common/acpi/acpi_wake_source.asl> 10 #include <soc/intel/common/acpi/platform.asl>
|
/u-boot/doc/driver-model/ |
A D | soc-framework.rst | 18 - drivers/soc/soc-uclass.c 19 - include/soc.h 39 See include/soc.h for documentation of the available soc_ops and the intended 40 meaning of the values that can be returned. See drivers/soc/soc_sandbox.c for 56 An example of various uses of the framework can be found at test/dm/soc.c. 64 compatible = "sandbox,soc";
|