/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs_reg.h | 21 offset; }) 31 offset; }) 39 offset; }) 48 offset; }) 56 offset; }) 65 offset; }) 73 offset; }) 81 offset; }) 91 offset; }) 108 offset; }) [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_model_kunit.c | 20 .offset = 0, 25 .offset = 2, 30 .offset = 3, 35 .offset = 10, 40 .offset = 13, 45 .offset = 16, 50 .offset = 19, 55 .offset = 20, 60 .offset = 32, 65 .offset = 35, [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_ag_api.c | 20 .offset = 0, 25 .offset = 1, 30 .offset = 2, 35 .offset = 4, 40 .offset = 16, 45 .offset = 18, 50 .offset = 83, 55 .offset = 84, 60 .offset = 85, 65 .offset = 88, [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_ag_api.c | 12 .offset = 0, 17 .offset = 1, 22 .offset = 3, 27 .offset = 12, 32 .offset = 13, 37 .offset = 14, 42 .offset = 15, 47 .offset = 16, 52 .offset = 17, 57 .offset = 18, [all …]
|
H A D | lan966x_ethtool.c | 12 { .name = "rx_octets", .offset = 0x00, }, 13 { .name = "rx_unicast", .offset = 0x01, }, 16 { .name = "rx_short", .offset = 0x04 }, 17 { .name = "rx_frag", .offset = 0x05 }, 18 { .name = "rx_jabber", .offset = 0x06 }, 19 { .name = "rx_crc", .offset = 0x07 }, 21 { .name = "rx_sz_64", .offset = 0x09 }, 28 { .name = "rx_pause", .offset = 0x10 }, 30 { .name = "rx_long", .offset = 0x12 }, 112 { .name = "tx_ct", .offset = 0xa0 }, [all …]
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pexp-defs.h | 31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument 43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument 44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument 45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument 46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument 92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument 97 #define CVMX_PEXP_NPEI_PKTX_IN_BP(offset) (CVMX_ADD_IO_SEG(0x00011F000000B800ull) + ((offset) & 31)… argument 135 #define CVMX_PEXP_SLI_CTL_PORTX(offset) (CVMX_ADD_IO_SEG(0x00011F0000010050ull) + ((offset) & 3) * … argument 140 #define CVMX_PEXP_SLI_DMAX_CNT(offset) (CVMX_ADD_IO_SEG(0x00011F0000010400ull) + ((offset) & 1) * 1… argument 142 #define CVMX_PEXP_SLI_DMAX_TIM(offset) (CVMX_ADD_IO_SEG(0x00011F0000010420ull) + ((offset) & 1) * 1… argument [all …]
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | fdt.c | 87 if (((offset + len) < offset) in fdt_offset_ptr() 128 offset += 4; in fdt_next_tag() 149 if ((offset < 0) || (offset % FDT_TAGSIZE) in fdt_check_node_offset_() 153 return offset; in fdt_check_node_offset_() 158 if ((offset < 0) || (offset % FDT_TAGSIZE) in fdt_check_prop_offset_() 159 || (fdt_next_tag(fdt, offset, &offset) != FDT_PROP)) in fdt_check_prop_offset_() 162 return offset; in fdt_check_prop_offset_() 202 return offset; in fdt_next_node() 209 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 213 return offset; in fdt_first_subnode() [all …]
|
H A D | fdt_ro.c | 95 int offset; in fdt_get_max_phandle() local 98 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_get_max_phandle() 168 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen() 471 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path() 472 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path() 503 if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) in fdt_get_path() 523 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset() 524 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_supernode_atdepth_offset() 585 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_prop_value() 612 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_phandle() [all …]
|
/openbmc/openbmc/meta-ieisystems/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-inventory-sensors.yaml | 5 offset: 0 10 offset: 0 15 offset: 0 20 offset: 0 25 offset: 8 30 offset: 0 35 offset: 0 40 offset: 0 45 offset: 0 50 offset: 0 [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | sandbox.c | 30 if (offset >= uc_priv->gpio_count) { in get_gpio_flags() 36 return &state[offset].flags; in get_gpio_flags() 47 u8 *gpio = get_gpio_flags(dev, offset); in set_gpio_flag() 63 if (get_gpio_flag(dev, offset, GPIOF_OUTPUT)) in sandbox_gpio_get_value() 100 debug("%s: offset:%u\n", __func__, offset); in sb_gpio_direction_input() 118 debug("%s: offset:%u\n", __func__, offset); in sb_gpio_get_value() 120 return sandbox_gpio_get_value(dev, offset); in sb_gpio_get_value() 130 offset); in sb_gpio_set_value() 140 debug("%s: offset:%u\n", __func__, offset); in sb_gpio_get_open_drain() 152 offset); in sb_gpio_set_open_drain() [all …]
|
/openbmc/u-boot/lib/libfdt/ |
H A D | fdt_ro.c | 53 int offset; in fdt_get_max_phandle() local 56 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_get_max_phandle() 126 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen() 234 int offset; in fdt_first_property_offset() local 380 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path() 381 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path() 412 if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) in fdt_get_path() 432 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset() 494 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_prop_value() 521 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_phandle() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cpu_setup.h | 8 void __setup_cpu_power7(unsigned long offset, struct cpu_spec *spec); 9 void __setup_cpu_power8(unsigned long offset, struct cpu_spec *spec); 10 void __setup_cpu_power9(unsigned long offset, struct cpu_spec *spec); 11 void __setup_cpu_power10(unsigned long offset, struct cpu_spec *spec); 17 void __setup_cpu_e500v1(unsigned long offset, struct cpu_spec *spec); 18 void __setup_cpu_e500v2(unsigned long offset, struct cpu_spec *spec); 20 void __setup_cpu_440ep(unsigned long offset, struct cpu_spec *spec); 22 void __setup_cpu_440gx(unsigned long offset, struct cpu_spec *spec); 30 void __setup_cpu_603(unsigned long offset, struct cpu_spec *spec); 31 void __setup_cpu_604(unsigned long offset, struct cpu_spec *spec); [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | module.c | 171 offset = (offset & 0x00ffffff) << 2; in apply_relocate() 172 offset = sign_extend32(offset, 25); in apply_relocate() 217 if (offset >= 0x40000000 || offset < -0x40000000) { in apply_relocate() 237 offset = ((offset & 0xf0000) >> 4) | (offset & 0xfff); in apply_relocate() 238 offset = sign_extend32(offset, 15); in apply_relocate() 263 offset = -offset; in apply_relocate() 266 offset = -offset; in apply_relocate() 284 offset = -offset; in apply_relocate() 287 offset = -offset; in apply_relocate() 346 offset = sign_extend32(offset, 24); in apply_relocate() [all …]
|
/openbmc/linux/arch/sh/boards/mach-microdev/ |
H A D | io.c | 59 if ((offset >= IO_LAN91C111_BASE) && in microdev_ioport_map() 65 } else if ((offset >= IO_SUPERIO_BASE) && in microdev_ioport_map() 72 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 73 } else if (((offset >= IO_IDE1_BASE) && in microdev_ioport_map() 75 (offset == IO_IDE1_MISC)) { in microdev_ioport_map() 82 } else if (((offset >= IO_IDE2_BASE) && in microdev_ioport_map() 84 (offset == IO_IDE2_MISC)) { in microdev_ioport_map() 91 } else if ((offset >= IO_SERIAL1_BASE) && in microdev_ioport_map() 99 } else if ((offset >= IO_SERIAL2_BASE) && in microdev_ioport_map() 107 } else if ((offset >= IO_ISP1161_BASE) && in microdev_ioport_map() [all …]
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 44 u64 offset; in nitrox_config_emu_unit() local 70 u64 offset; in reset_pkt_input_ring() local 98 u64 offset; in enable_pkt_input_ring() local 128 u64 offset; in nitrox_config_pkt_input_rings() local 166 u64 offset; in reset_pkt_solicit_port() local 195 u64 offset; in enable_pkt_solicit_port() local 221 u64 offset; in config_pkt_solicit_port() local 315 u64 offset; in reset_aqm_ring() local 343 u64 offset; in enable_aqm_ring() local 443 u64 offset; in nitrox_config_rand_unit() local [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-eic-sprd.c | 152 tmp |= BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update() 238 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_mask() local 335 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 337 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 340 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 342 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 367 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 369 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 372 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 374 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() [all …]
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 122 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle() 234 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen() 340 int offset; in fdt_first_property_offset() local 554 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path() 555 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path() 586 if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) in fdt_get_path() 606 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset() 607 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_supernode_atdepth_offset() 671 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_prop_value() 698 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_phandle() [all …]
|
/openbmc/qemu/hw/m68k/ |
H A D | mcf5206.c | 295 if (offset >= 0x100 && offset < 0x120) { in m5206_mbar_read() 297 } else if (offset >= 0x120 && offset < 0x140) { in m5206_mbar_read() 299 } else if (offset >= 0x140 && offset < 0x160) { in m5206_mbar_read() 301 } else if (offset >= 0x180 && offset < 0x1a0) { in m5206_mbar_read() 335 if (offset >= 0x100 && offset < 0x120) { in m5206_mbar_write() 338 } else if (offset >= 0x120 && offset < 0x140) { in m5206_mbar_write() 341 } else if (offset >= 0x140 && offset < 0x160) { in m5206_mbar_write() 344 } else if (offset >= 0x180 && offset < 0x1a0) { in m5206_mbar_write() 408 offset &= 0x3ff; in m5206_mbar_readb() 429 offset &= 0x3ff; in m5206_mbar_readw() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | cap.c | 21 u32 value, offset; in tb_port_enable_tmu() local 29 offset = 0x26; in tb_port_enable_tmu() 31 offset = 0x2a; in tb_port_enable_tmu() 77 if (!offset) in tb_port_next_cap() 89 int offset = 0; in __tb_port_find_cap() local 95 offset = tb_port_next_cap(port, offset); in __tb_port_find_cap() 96 if (offset < 0) in __tb_port_find_cap() 97 return offset; in __tb_port_find_cap() 150 if (!offset) in tb_switch_next_cap() 196 offset = tb_switch_next_cap(sw, offset); in tb_switch_find_cap() [all …]
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | mmio.c | 10 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_read32() 24 *val = readl((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32() 35 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_read64() 49 *val = readq((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64() 60 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_write32() 74 writel(val, (char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_write32() 86 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_write64() 114 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_set32() 145 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_set64() 176 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_clear32() [all …]
|
/openbmc/u-boot/drivers/pinctrl/rockchip/ |
H A D | pinctrl-rockchip.h | 50 int offset; member 90 int offset; member 124 { .offset = -1 }, \ 125 { .offset = -1 }, \ 126 { .offset = -1 }, \ 127 { .offset = -1 }, \ 150 { .offset = -1 }, \ 151 { .offset = -1 }, \ 152 { .offset = -1 }, \ 153 { .offset = -1 }, \ [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.pattern | 65 local offset=$2 77 io "$op" $offset $cluster_size $cluster_size $num_small 78 offset=$((offset + num_small * $cluster_size)) 81 io "$op" $((offset + $half_cluster)) $half_cluster $cluster_size $num_small 82 offset=$((offset + num_small * $cluster_size)) 85 io "$op" $offset $half_cluster $cluster_size $num_small 86 offset=$((offset + num_small * $cluster_size)) 90 offset=$((offset + num_small * $cluster_size)) 94 offset=$((offset + num_medium * 3 * $cluster_size)) 98 offset=$(( ((offset + l2_size - 1) & ~(l2_size - 1)) - (3 * half_cluster) )) [all …]
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | mem_io.h | 27 #define SCU_RD(offset) readl(SCU_BASE + offset) argument 28 #define SCU_WR(value, offset) writel(value, SCU_BASE + offset) argument 30 #define MAC1_RD(offset) readl(MAC1_BASE + offset) argument 31 #define MAC1_WR(value, offset) writel(value, MAC1_BASE + offset) argument 32 #define MAC2_RD(offset) readl(MAC2_BASE + offset) argument 33 #define MAC2_WR(value, offset) writel(value, MAC2_BASE + offset) argument 35 #define MAC3_RD(offset) readl(MAC3_BASE + offset) argument 36 #define MAC3_WR(value, offset) writel(value, MAC3_BASE + offset) argument 37 #define MAC4_RD(offset) readl(MAC4_BASE + offset) argument 38 #define MAC4_WR(value, offset) writel(value, MAC4_BASE + offset) argument [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ethtool.c | 83 int offset; member 94 .offset = 0, 101 .offset = 0x0, 108 .offset = 0x0, 115 .offset = 0x0, 123 .offset = 0x1, 130 .offset = 0x1, 137 .offset = 0x1, 144 .offset = 0x1, 151 .offset = 0x1, [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/ |
H A D | gbs-ipmi-inventory-sensors.yaml | 5 offset: 0xff 10 offset: 0xff 15 offset: 0xff 20 offset: 0xff 25 offset: 0xff 30 offset: 0xff 35 offset: 0xff 40 offset: 0xff 45 offset: 0xff 50 offset: 0xff [all …]
|