| /openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
| H A D | fdt.c | 25 int off, ret = -FDT_ERR_NOTFOUND; in ft_del_cpuhandle() local 30 off = fdt_node_offset_by_prop_value(blob, -1, "cpu-handle", in ft_del_cpuhandle() 32 while (off != -FDT_ERR_NOTFOUND) { in ft_del_cpuhandle() 33 fdt_delprop(blob, off, "cpu-handle"); in ft_del_cpuhandle() 35 off = fdt_node_offset_by_prop_value(blob, -1, "cpu-handle", in ft_del_cpuhandle() 43 int off, num_cores, del_cores; in ft_fixup_num_cores() local 48 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_fixup_num_cores() 49 while (off != -FDT_ERR_NOTFOUND) { in ft_fixup_num_cores() 50 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_num_cores() 54 int ph = fdt_get_phandle(blob, off); in ft_fixup_num_cores() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | fdt.c | 38 int off; in ft_fixup_cpu() local 49 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_fixup_cpu() 50 while (off != -FDT_ERR_NOTFOUND) { in ft_fixup_cpu() 51 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 58 fdt_setprop_string(blob, off, "status", in ft_fixup_cpu() 61 fdt_setprop_string(blob, off, "status", in ft_fixup_cpu() 77 fdt_setprop(blob, off, "cpu-release-addr", in ft_fixup_cpu() 81 fdt_setprop_string(blob, off, "enable-method", in ft_fixup_cpu() 86 off = fdt_node_offset_by_prop_value(blob, off, in ft_fixup_cpu() 102 off = fdt_add_mem_rsv(blob, T1040_TDM_QUIRK_CCSR_BASE, in ft_fixup_cpu() [all …]
|
| H A D | liodn.c | 237 int off, portid = tbl[i].portid; in fdt_fixup_srio_liodn() local 239 off = fdt_node_offset_by_prop_value(blob, srio_off, in fdt_fixup_srio_liodn() 241 if (off >= 0) { in fdt_fixup_srio_liodn() 242 off = fdt_setprop(blob, off, "fsl,liodn", in fdt_fixup_srio_liodn() 245 if (off > 0) in fdt_fixup_srio_liodn() 248 portid, fdt_strerror(off)); in fdt_fixup_srio_liodn() 251 fdt_strerror(off)); in fdt_fixup_srio_liodn() 262 int off, pci_idx = 0, pci_cnt = 0, i, rc; in fdt_fixup_pci_liodn_offsets() local 270 off = fdt_node_offset_by_compatible(fdt, -1, compat); in fdt_fixup_pci_liodn_offsets() 271 while (off != -FDT_ERR_NOTFOUND) { in fdt_fixup_pci_liodn_offsets() [all …]
|
| H A D | portals.c | 20 int off; in fdt_portal() local 22 off = fdt_node_offset_by_compatible(blob, -1, compat); in fdt_portal() 23 if (off < 0) in fdt_portal() 26 off = fdt_parent_offset(blob, off); in fdt_portal() 28 if (off > 0) { in fdt_portal() 35 range = fdt_getprop_w(blob, off, "ranges", &len); in fdt_portal() 50 fdt_setprop_inplace(blob, off, "ranges", range, len); in fdt_portal() 53 name = fdt_get_name(blob, off, &len); in fdt_portal() 69 fdt_set_name(blob, off, buf); in fdt_portal()
|
| /openbmc/u-boot/doc/ |
| H A D | README.fsl-ddr | 118 Memory controller ECC on/off 121 ECC can be turned on/off by hwconfig. 124 hwconfig=fsl_ddr:ecc=off 127 Memory address parity on/off 129 address parity can be turned on/off by hwconfig. 171 | | | Slot 1 | off | 75 | 120 | off | off | off | off | off | 30 | 30 | 173 | | | Slot 2 | off | 75 | off | off | 30 | 30 | 120 | off | off | off | 175 | | | Slot 1 | off | 75 | 120 | off | off | off | 20 | 20 | | | 177 | | | Slot 2 | off | 75 | off | off | 20 | 20 | 120 *| off | | | 179 | | | Slot 1 | off | 75 | 120 *| off | | | off | off | 20 | 20 | [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 049.out | 7 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcount… 10 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcount… 13 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcount… 16 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcount… 19 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 lazy_refcou… 22 …w2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1073741824 lazy_refco… 25 …2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1099511627776 lazy_ref… 28 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcount… 31 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcount… 34 …qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcount… [all …]
|
| H A D | 232 | 90 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off 94 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off 95 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on 96 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off 98 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off 108 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off 112 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off 113 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on 114 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off 116 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off [all …]
|
| H A D | 026.out.nocache | 6 Event: l1_update; errno: 5; imm: off; once: on; write 11 Event: l1_update; errno: 5; imm: off; once: on; write -b 16 Event: l1_update; errno: 5; imm: off; once: off; write 23 Event: l1_update; errno: 5; imm: off; once: off; write -b 30 Event: l1_update; errno: 28; imm: off; once: on; write 35 Event: l1_update; errno: 28; imm: off; once: on; write -b 40 Event: l1_update; errno: 28; imm: off; once: off; write 47 Event: l1_update; errno: 28; imm: off; once: off; write -b 54 Event: l2_load; errno: 5; imm: off; once: on; write 62 Event: l2_load; errno: 5; imm: off; once: on; write -b [all …]
|
| H A D | 026.out | 6 Event: l1_update; errno: 5; imm: off; once: on; write 11 Event: l1_update; errno: 5; imm: off; once: on; write -b 16 Event: l1_update; errno: 5; imm: off; once: off; write 23 Event: l1_update; errno: 5; imm: off; once: off; write -b 30 Event: l1_update; errno: 28; imm: off; once: on; write 35 Event: l1_update; errno: 28; imm: off; once: on; write -b 40 Event: l1_update; errno: 28; imm: off; once: off; write 47 Event: l1_update; errno: 28; imm: off; once: off; write -b 54 Event: l2_load; errno: 5; imm: off; once: on; write 62 Event: l2_load; errno: 5; imm: off; once: on; write -b [all …]
|
| /openbmc/u-boot/drivers/gpio/ |
| H A D | kona_gpio.c | 47 unsigned int value, off; in gpio_request() local 50 off = GPIO_PWD_STATUS(GPIO_BANK(gpio)); in gpio_request() 51 value = readl(GPIO_BASE + off) & ~GPIO_BITMASK(gpio); in gpio_request() 52 writel(value, GPIO_BASE + off); in gpio_request() 59 unsigned int value, off; in gpio_free() local 62 off = GPIO_PWD_STATUS(GPIO_BANK(gpio)); in gpio_free() 63 value = readl(GPIO_BASE + off) | GPIO_BITMASK(gpio); in gpio_free() 64 writel(value, GPIO_BASE + off); in gpio_free() 85 u32 val, off; in gpio_direction_output() local 91 off = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in gpio_direction_output() [all …]
|
| /openbmc/openbmc-test-automation/data/boot_lists/ |
| H A D | OBMC_reboot | 9 OBMC Reboot (off) 10 OBMC Reboot (off) (mfg) 11 REST OBMC Reboot (off) 12 REST OBMC Reboot (off) (mfg) 13 Redfish OBMC Reboot (off) 14 Redfish OBMC Reboot (off) (mfg) 17 PDU AC Cycle (off) 18 PDU AC Cycle (off) (mfg) 21 IPMI MC Reset Warm (off) 22 IPMI MC Reset Warm (off) (mfg) [all …]
|
| H A D | All | 31 OBMC Reboot (off) 32 OBMC Reboot (off) (mfg) 33 REST OBMC Reboot (off) 34 REST OBMC Reboot (off) (mfg) 35 Redfish OBMC Reboot (off) 36 Redfish OBMC Reboot (off) (mfg) 39 PDU AC Cycle (off) 40 PDU AC Cycle (off) (mfg) 43 IPMI MC Reset Warm (off) 44 IPMI MC Reset Warm (off) (mfg) [all …]
|
| /openbmc/u-boot/common/ |
| H A D | lcd_simplefb.c | 18 static int lcd_dt_simplefb_configure_node(void *blob, int off) in lcd_dt_simplefb_configure_node() argument 56 return fdt_setup_simplefb_node(blob, off, fb_base, xsize, ysize, in lcd_dt_simplefb_configure_node() 64 int off, ret; in lcd_dt_simplefb_add_node() local 66 off = fdt_add_subnode(blob, 0, "framebuffer"); in lcd_dt_simplefb_add_node() 67 if (off < 0) in lcd_dt_simplefb_add_node() 70 ret = fdt_setprop(blob, off, "status", disabled, sizeof(disabled)); in lcd_dt_simplefb_add_node() 74 ret = fdt_setprop(blob, off, "compatible", compat, sizeof(compat)); in lcd_dt_simplefb_add_node() 78 return lcd_dt_simplefb_configure_node(blob, off); in lcd_dt_simplefb_add_node() 83 int off; in lcd_dt_simplefb_enable_existing_node() local 85 off = fdt_node_offset_by_compatible(blob, -1, "simple-framebuffer"); in lcd_dt_simplefb_enable_existing_node() [all …]
|
| /openbmc/u-boot/test/overlay/ |
| H A D | cmd_ut_overlay.c | 108 int off; in fdt_overlay_add_node_by_phandle() local 110 off = fdt_path_offset(fdt, "/test-node/new-node"); in fdt_overlay_add_node_by_phandle() 111 ut_assert(off >= 0); in fdt_overlay_add_node_by_phandle() 113 ut_assertnonnull(fdt_getprop(fdt, off, "new-property", NULL)); in fdt_overlay_add_node_by_phandle() 121 int off; in fdt_overlay_add_node_by_path() local 123 off = fdt_path_offset(fdt, "/new-node"); in fdt_overlay_add_node_by_path() 124 ut_assert(off >= 0); in fdt_overlay_add_node_by_path() 126 ut_assertnonnull(fdt_getprop(fdt, off, "new-property", NULL)); in fdt_overlay_add_node_by_path() 134 int off; in fdt_overlay_add_subnode_property() local 136 off = fdt_path_offset(fdt, "/test-node/sub-test-node"); in fdt_overlay_add_subnode_property() [all …]
|
| /openbmc/u-boot/arch/mips/lib/ |
| H A D | reloc.c | 67 static void apply_reloc(unsigned int type, void *addr, long off) in apply_reloc() argument 75 ((u32 + (off >> 2)) & GENMASK(25, 0)); in apply_reloc() 80 *(uint32_t *)addr += off; in apply_reloc() 84 *(uint64_t *)addr += off; in apply_reloc() 88 *(uint32_t *)addr += off >> 16; in apply_reloc() 112 long off; in relocate_code() local 120 off = relocaddr - (unsigned long)__text_start; in relocate_code() 121 if (off & 0xffff) in relocate_code() 137 apply_reloc(type, (void *)addr, off); in relocate_code() 144 bss_start = (uint8_t *)((unsigned long)__bss_start + off); in relocate_code() [all …]
|
| /openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
| H A D | fdt.c | 75 int off; in ft_cpu_setup() local 96 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_cpu_setup() 97 while (off != -FDT_ERR_NOTFOUND) { in ft_cpu_setup() 99 fdt_setprop(blob, off, "clock-frequency", &val, 4); in ft_cpu_setup() 100 off = fdt_node_offset_by_prop_value(blob, off, in ft_cpu_setup() 132 off = fdt_add_mem_rsv(blob, CONFIG_SYS_TEXT_BASE - UBOOT_HEAD_LEN, in ft_cpu_setup() 135 if (off < 0) in ft_cpu_setup() 137 fdt_strerror(off)); in ft_cpu_setup() 168 off = fdt_node_offset_by_compat_reg(blob, FSL_IFC_COMPAT, in ft_cpu_setup() 170 fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0); in ft_cpu_setup() [all …]
|
| /openbmc/u-boot/drivers/spmi/ |
| H A D | spmi-sandbox.c | 44 static bool check_address_valid(int usid, int pid, int off) in check_address_valid() argument 50 if (off > EMUL_GPIO_REG_END) in check_address_valid() 55 static int sandbox_spmi_write(struct udevice *dev, int usid, int pid, int off, in sandbox_spmi_write() argument 61 if (!check_address_valid(usid, pid, off)) in sandbox_spmi_write() 66 switch (off) { in sandbox_spmi_write() 68 val &= regs[off].access_mask; in sandbox_spmi_write() 76 if (regs[off].perms & EMUL_PERM_W) in sandbox_spmi_write() 77 regs[off].value = val & regs[off].access_mask; in sandbox_spmi_write() 82 static int sandbox_spmi_read(struct udevice *dev, int usid, int pid, int off) in sandbox_spmi_read() argument 87 if (!check_address_valid(usid, pid, off)) in sandbox_spmi_read() [all …]
|
| /openbmc/u-boot/board/freescale/mpc8569mds/ |
| H A D | mpc8569mds.c | 310 int off; in fdt_board_disable_serial() local 313 off = fdt_path_offset(blob, alias); in fdt_board_disable_serial() 314 if (off < 0) { in fdt_board_disable_serial() 316 fdt_strerror(off)); in fdt_board_disable_serial() 320 err = fdt_setprop(blob, off, "status", status, strlen(status) + 1); in fdt_board_disable_serial() 359 int off = -1; in fdt_board_fixup_qe_uart() local 375 off = fdt_node_offset_by_compatible(blob, off, "ucc_geth"); in fdt_board_fixup_qe_uart() 376 if (off < 0) { in fdt_board_fixup_qe_uart() 382 idx = fdt_getprop(blob, off, "cell-index", &len); in fdt_board_fixup_qe_uart() 388 fdt_setprop(blob, off, "device_type", devtype, strlen(devtype) + 1); in fdt_board_fixup_qe_uart() [all …]
|
| /openbmc/u-boot/board/renesas/stout/ |
| H A D | stout_spl.c | 30 u16 off; member 113 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc() 118 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc() 150 writel(gpio_set[i].val, gpio_base | 0x08 | gpio_set[i].off); in spl_init_gpio() 153 writel(gpio_clr[i].val, gpio_base | 0x04 | gpio_clr[i].off); in spl_init_gpio() 175 lbsc_base | lbsc_config[i].off); in spl_init_lbsc() 177 lbsc_base | (lbsc_config[i].off + 4)); in spl_init_lbsc() 335 writel(dbsc_config1[i].val, dbsc3_0_base | dbsc_config1[i].off); in spl_init_dbsc() 336 writel(dbsc_config1[i].val, dbsc3_1_base | dbsc_config1[i].off); in spl_init_dbsc() 342 writel(dbsc_config2[i].val, dbsc3_0_base | dbsc_config2[i].off); in spl_init_dbsc() [all …]
|
| /openbmc/u-boot/board/renesas/porter/ |
| H A D | porter_spl.c | 30 u16 off; member 118 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc() 123 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc() 159 writel(gpio_set[i].val, gpio_base | 0x08 | gpio_set[i].off); in spl_init_gpio() 162 writel(gpio_clr[i].val, gpio_base | 0x04 | gpio_clr[i].off); in spl_init_gpio() 184 lbsc_base | lbsc_config[i].off); in spl_init_lbsc() 186 lbsc_base | (lbsc_config[i].off + 4)); in spl_init_lbsc() 349 writel(dbsc_config1[i].val, dbsc3_0_base | dbsc_config1[i].off); in spl_init_dbsc() 350 writel(dbsc_config1[i].val, dbsc3_1_base | dbsc_config1[i].off); in spl_init_dbsc() 356 writel(dbsc_config2[i].val, dbsc3_0_base | dbsc_config2[i].off); in spl_init_dbsc() [all …]
|
| /openbmc/u-boot/cmd/ |
| H A D | nand.c | 41 static int nand_dump(struct mtd_info *mtd, ulong off, int only_oob, in nand_dump() argument 50 off = last + mtd->writesize; in nand_dump() 52 last = off; in nand_dump() 66 off &= ~(mtd->writesize - 1); in nand_dump() 67 loff_t addr = (loff_t) off; in nand_dump() 77 printf("Error (%d) reading page %08lx\n", i, off); in nand_dump() 81 printf("Page %08lx dump:\n", off); in nand_dump() 158 ulong off; in do_nand_status() local 168 for (off = 0; off < mtd->size; off += mtd->erasesize) { in do_nand_status() 169 int s = nand_get_lock_status(mtd, off); in do_nand_status() [all …]
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | sme.decode | 31 &mova_a rv zr off 32 &mova_p esz rs pg zr za off v:bool 33 &mova_t esz rs zr za off v:bool 35 MOVA_tz 11000000 00 00000 0 v:1 .. pg:3 zr:5 0 off:4 \ 37 MOVA_tz 11000000 01 00000 0 v:1 .. pg:3 zr:5 0 za:1 off:3 \ 39 MOVA_tz 11000000 10 00000 0 v:1 .. pg:3 zr:5 0 za:2 off:2 \ 41 MOVA_tz 11000000 11 00000 0 v:1 .. pg:3 zr:5 0 za:3 off:1 \ 44 &mova_p rs=%mova_rs esz=4 off=0 46 MOVA_zt 11000000 00 00001 0 v:1 .. pg:3 0 off:4 zr:5 \ 48 MOVA_zt 11000000 01 00001 0 v:1 .. pg:3 0 za:1 off:3 zr:5 \ [all …]
|
| /openbmc/u-boot/drivers/misc/ |
| H A D | fsl_portals.c | 104 static int fdt_qportal(void *blob, int off, int id, char *name, in fdt_qportal() argument 114 childoff = fdt_subnode_offset(blob, off, name); in fdt_qportal() 134 childoff = fdt_add_subnode(blob, off, name); in fdt_qportal() 191 int off, err; in fdt_fixup_qportals() local 212 off = fdt_node_offset_by_compatible(blob, -1, "fsl,qman-portal"); in fdt_fixup_qportals() 213 while (off != -FDT_ERR_NOTFOUND) { in fdt_fixup_qportals() 219 const int *ci = fdt_getprop(blob, off, "cell-index", &err); in fdt_fixup_qportals() 231 err = fdt_setprop(blob, off, "compatible", compat, compat_len); in fdt_fixup_qportals() 238 err = fdt_setprop(blob, off, "fsl,liodn", in fdt_fixup_qportals() 246 err = fdt_qportal(blob, off, i, "crypto@0", FSL_HW_PORTAL_SEC, in fdt_fixup_qportals() [all …]
|
| /openbmc/phosphor-fan-presence/docs/monitor/ |
| H A D | power_off_config.md | 5 A list of power off rules based on the monitoring state of the fans configured. 6 These power off rules can perform different system power off types to protect a 13 - "hard" - Perform a hard shutdown that immediately powers off the system. 14 - "soft" - Perform an orderly shutdown requesting that the host OS power off 16 - "epow" - Sets the thermal alert D-Bus property that a power off is imminent 19 - "missing_fan_frus" - Power off due to missing fan enclosures 20 - "nonfunc_fan_rotors" - Power off due to nonfunctional fan 22 - "fan_frus_with_nonfunc_rotors" - Power off due to the number of fan FRUs 25 - Number of the configured `cause` instances to begin the power off `type` 30 - Time(in seconds) to delay performing the power off after `count` instances [all …]
|
| /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | fdt.c | 40 int off; in ft_fixup_cpu() local 49 off = fdt_path_offset(blob, "/cpus"); in ft_fixup_cpu() 50 if (off < 0) { in ft_fixup_cpu() 55 fdt_support_default_count_cells(blob, off, &addr_cells, NULL); in ft_fixup_cpu() 57 off = fdt_node_offset_by_prop_value(blob, off_prev, "device_type", in ft_fixup_cpu() 59 while (off != -FDT_ERR_NOTFOUND) { in ft_fixup_cpu() 60 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 64 fdt_del_node(blob, off); in ft_fixup_cpu() 65 off = off_prev; in ft_fixup_cpu() 68 off_prev = off; in ft_fixup_cpu() [all …]
|