/openbmc/linux/drivers/pci/controller/mobiveil/ |
H A D | pcie-mobiveil.c | 139 u32 value; in program_ib_windows() local 148 value = mobiveil_csr_readl(pcie, PAB_PEX_AMAP_CTRL(win_num)); in program_ib_windows() 149 value &= ~(AMAP_CTRL_TYPE_MASK << AMAP_CTRL_TYPE_SHIFT | WIN_SIZE_MASK); in program_ib_windows() 150 value |= type << AMAP_CTRL_TYPE_SHIFT | 1 << AMAP_CTRL_EN_SHIFT | in program_ib_windows() 152 mobiveil_csr_writel(pcie, value, PAB_PEX_AMAP_CTRL(win_num)); in program_ib_windows() 176 u32 value; in program_ob_windows() local 189 value = mobiveil_csr_readl(pcie, PAB_AXI_AMAP_CTRL(win_num)); in program_ob_windows() 190 value &= ~(WIN_TYPE_MASK << WIN_TYPE_SHIFT | WIN_SIZE_MASK); in program_ob_windows() 191 value |= 1 << WIN_ENABLE_SHIFT | type << WIN_TYPE_SHIFT | in program_ob_windows() 193 mobiveil_csr_writel(pcie, value, PAB_AXI_AMAP_CTRL(win_num)); in program_ob_windows()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_hwmon.c | 39 unsigned int value; in igb_hwmon_show_temp() local 44 value = igb_attr->sensor->temp; in igb_hwmon_show_temp() 47 value *= 1000; in igb_hwmon_show_temp() 49 return sprintf(buf, "%u\n", value); in igb_hwmon_show_temp() 58 unsigned int value = igb_attr->sensor->caution_thresh; in igb_hwmon_show_cautionthresh() local 61 value *= 1000; in igb_hwmon_show_cautionthresh() 63 return sprintf(buf, "%u\n", value); in igb_hwmon_show_cautionthresh() 72 unsigned int value = igb_attr->sensor->max_op_thresh; in igb_hwmon_show_maxopthresh() local 75 value *= 1000; in igb_hwmon_show_maxopthresh() 77 return sprintf(buf, "%u\n", value); in igb_hwmon_show_maxopthresh()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | vga.c | 76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgas() argument 79 nvkm_wrport(device, head, 0x03c5, value); in nvkm_wrvgas() 90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgag() argument 93 nvkm_wrport(device, head, 0x03cf, value); in nvkm_wrvgag() 104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgac() argument 107 nvkm_wrport(device, head, 0x03d5, value); in nvkm_wrvgac() 120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) in nvkm_wrvgai() argument 122 if (port == 0x03c4) nvkm_wrvgas(device, head, index, value); in nvkm_wrvgai() 123 else if (port == 0x03ce) nvkm_wrvgag(device, head, index, value); in nvkm_wrvgai() 124 else if (port == 0x03d4) nvkm_wrvgac(device, head, index, value); in nvkm_wrvgai()
|
/openbmc/phosphor-networkd/test/ |
H A D | test_config_parser.cpp | 36 EXPECT_TRUE(parseBool("tRue").value()); in TEST() 38 EXPECT_TRUE(parseBool("t").value()); in TEST() 39 EXPECT_TRUE(parseBool("Yes").value()); in TEST() 41 EXPECT_TRUE(parseBool("y").value()); in TEST() 42 EXPECT_TRUE(parseBool("oN").value()); in TEST() 44 EXPECT_FALSE(parseBool("fAlse").value()); in TEST() 46 EXPECT_FALSE(parseBool("f").value()); in TEST() 47 EXPECT_FALSE(parseBool("No").value()); in TEST() 48 EXPECT_FALSE(parseBool("n").value()); in TEST() 49 EXPECT_FALSE(parseBool("oFf").value()); in TEST()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_core.h | 132 const u8 *value, enum tpm_tis_io_mode mode); 134 const u8 *value); 178 u16 len, const u8 *value) in tpm_tis_write_bytes() argument 180 return data->phy_ops->write_bytes(data, addr, len, value, in tpm_tis_write_bytes() 184 static inline int tpm_tis_write8(struct tpm_tis_data *data, u32 addr, u8 value) in tpm_tis_write8() argument 186 return data->phy_ops->write_bytes(data, addr, 1, &value, in tpm_tis_write8() 191 u32 value) in tpm_tis_write32() argument 196 value_le = cpu_to_le32(value); in tpm_tis_write32() 203 const u8 *value) in tpm_tis_verify_crc() argument 207 return data->phy_ops->verify_crc(data, len, value); in tpm_tis_verify_crc()
|
/openbmc/linux/tools/virtio/virtio-trace/ |
H A D | trace-agent.c | 73 unsigned long value, round; in parse_size() local 76 value = strtoul(arg, &ptr, 10); in parse_size() 79 value <<= 10; in parse_size() 82 value <<= 20; in parse_size() 88 if (value > PIPE_MAX_SIZE) { in parse_size() 91 } else if (value < PIPE_MIN_SIZE) { in parse_size() 97 round = value & (PAGE_SIZE - 1); in parse_size() 98 value = value - round; in parse_size() 100 return value; in parse_size()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | pdcpat.h | 296 #define PAT_GET_CBA(value) ((value) & 0xfffffffffffff000UL) argument 313 #define PAT_GET_ENTITY(value) (((value) >> 56) & 0xffUL) argument 314 #define PAT_GET_DVI(value) (((value) >> 48) & 0xffUL) argument 315 #define PAT_GET_IOC(value) (((value) >> 40) & 0xffUL) argument 316 #define PAT_GET_MOD_PAGES(value) ((value) & 0xffffffUL) argument
|
/openbmc/linux/kernel/bpf/ |
H A D | bloom_filter.c | 23 static u32 hash(struct bpf_bloom_filter *bloom, void *value, in hash() argument 29 h = jhash2(value, value_size / 4, bloom->hash_seed + index); in hash() 31 h = jhash(value, value_size, bloom->hash_seed + index); in hash() 36 static long bloom_map_peek_elem(struct bpf_map *map, void *value) in bloom_map_peek_elem() argument 43 h = hash(bloom, value, map->value_size, i); in bloom_map_peek_elem() 51 static long bloom_map_push_elem(struct bpf_map *map, void *value, u64 flags) in bloom_map_push_elem() argument 61 h = hash(bloom, value, map->value_size, i); in bloom_map_push_elem() 68 static long bloom_map_pop_elem(struct bpf_map *map, void *value) in bloom_map_pop_elem() argument 73 static long bloom_map_delete_elem(struct bpf_map *map, void *value) in bloom_map_delete_elem() argument 177 void *value, u64 flags) in bloom_map_update_elem() argument
|
/openbmc/sdbusplus/include/sdbusplus/message/ |
H A D | types.hpp | 114 static constexpr auto value = std::make_tuple(); member 133 static constexpr auto value = std::make_tuple(C1, C...); member 135 static constexpr decltype(std::make_tuple(C1, C...)) value = 141 inline constexpr auto tuple_type_id_v = tuple_type_id<Chars...>::value; 178 inline constexpr auto type_id_v = type_id<Args...>::value; 236 static constexpr auto value = member 244 static constexpr auto value = std::tuple_cat( member 253 static constexpr auto value = member 266 constexpr static auto value = std::make_tuple('\0'); member 272 constexpr static auto value = std::make_tuple('\0'); member
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 36 u64 value; in test_insert_invalid() local 39 value = -1; in test_insert_invalid() 54 u64 value; in test_insert_opened() local 62 value = s; in test_insert_opened() 78 u64 value; in test_insert_bound() local 92 value = s; in test_insert_bound() 103 u64 value; in test_insert() local 112 value = s; in test_insert() 120 u64 value; in test_delete_after_insert() local 129 value = s; in test_delete_after_insert() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_ptr_kern.c | 103 __type(value, __u32); 144 __type(value, __u32); 176 __type(value, __u32); 193 __type(value, __u32); 210 __type(value, __u32); 227 __type(value, __u32); 248 __type(value, __u64); 267 __type(value, __u32); 284 __type(value, __u32); 301 __type(value, __u32); [all …]
|
H A D | test_kfunc_dynptr_param.c | 30 __type(value, __u32); 62 __u32 *value; in BPF_PROG() local 68 value = bpf_map_lookup_elem(&array_map, &zero); in BPF_PROG() 69 if (!value) in BPF_PROG() 73 ret = bpf_dynptr_from_mem(value, sizeof(*value), ((__u64)~0ULL), &ptr); in BPF_PROG()
|
/openbmc/linux/sound/isa/es1688/ |
H A D | es1688_lib.c | 317 value = 0x00; in snd_es1688_trigger() 322 chip->trigger_value = value; in snd_es1688_trigger() 781 ucontrol->value.integer.value[0] = (snd_es1688_mixer_read(chip, reg) >> shift) & mask; in snd_es1688_get_single() 784 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1688_get_single() 799 nval = (ucontrol->value.integer.value[0] & mask); in snd_es1688_put_single() 855 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1688_get_double() 856 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es1688_get_double() 858 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1688_get_double() 859 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_es1688_get_double() 877 val1 = ucontrol->value.integer.value[0] & mask; in snd_es1688_put_double() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | riscv_aplic.c | 268 if (value & (1U << i)) { in riscv_aplic_set_pending_word() 335 if (value & (1U << i)) { in riscv_aplic_set_enabled_word() 687 value &= APLIC_DOMAINCFG_IE; in riscv_aplic_write() 688 aplic->domaincfg = value; in riscv_aplic_write() 693 value = 0; in riscv_aplic_write() 695 if (value & APLIC_SOURCECFG_D) { in riscv_aplic_write() 700 aplic->sourcecfg[irq] = value; in riscv_aplic_write() 709 aplic->mmsicfgaddr = value; in riscv_aplic_write() 729 aplic->smsicfgaddr = value; in riscv_aplic_write() 778 aplic->target[irq] = value; in riscv_aplic_write() [all …]
|
/openbmc/phosphor-led-manager/ |
H A D | meson.options | 3 value: 'enabled', 9 value: 'enabled', 15 value: 'enabled', 21 value: 'disabled', 27 value: 'enabled',
|
/openbmc/phosphor-networkd/src/ |
H A D | dhcp_configuration.hpp | 48 bool dnsEnabled(bool value) override; 54 bool domainEnabled(bool value) override; 61 bool ntpEnabled(bool value) override; 69 bool hostNameEnabled(bool value) override; 76 bool sendHostNameEnabled(bool value) override;
|
/openbmc/linux/drivers/leds/ |
H A D | leds-nic78bx.c | 49 u8 value; in nic78bx_brightness_set() local 52 value = inb(nled->data->io_base); in nic78bx_brightness_set() 55 value &= ~nled->mask; in nic78bx_brightness_set() 56 value |= nled->bit; in nic78bx_brightness_set() 58 value &= ~nled->bit; in nic78bx_brightness_set() 61 outb(value, nled->data->io_base); in nic78bx_brightness_set() 69 u8 value; in nic78bx_brightness_get() local 72 value = inb(nled->data->io_base); in nic78bx_brightness_get() 75 return (value & nled->bit) ? 1 : LED_OFF; in nic78bx_brightness_get()
|
/openbmc/linux/drivers/soc/samsung/ |
H A D | exynos5422-asv.c | 392 unsigned int reg, value; in exynos5422_asv_offset_voltage_setup() local 401 value = (reg >> EXYNOS5422_ARM_UP_OFFSET) & EXYNOS5422_ARM_UP_MASK; in exynos5422_asv_offset_voltage_setup() 402 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 404 value = (reg >> EXYNOS5422_ARM_DN_OFFSET) & EXYNOS5422_ARM_DN_MASK; in exynos5422_asv_offset_voltage_setup() 405 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 412 value = (reg >> EXYNOS5422_KFC_UP_OFFSET) & EXYNOS5422_KFC_UP_MASK; in exynos5422_asv_offset_voltage_setup() 413 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup() 415 value = (reg >> EXYNOS5422_KFC_DN_OFFSET) & EXYNOS5422_KFC_DN_MASK; in exynos5422_asv_offset_voltage_setup() 416 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
|
/openbmc/linux/drivers/clk/renesas/ |
H A D | clk-r8a7740.c | 98 u32 value = readl(base + CPG_FRQCRC); in r8a7740_cpg_register_clock() local 100 mult = ((value >> 24) & 0x7f) + 1; in r8a7740_cpg_register_clock() 102 u32 value = readl(base + CPG_FRQCRA); in r8a7740_cpg_register_clock() local 104 mult = ((value >> 24) & 0x7f) + 1; in r8a7740_cpg_register_clock() 107 u32 value = readl(base + CPG_PLLC2CR); in r8a7740_cpg_register_clock() local 109 mult = ((value >> 24) & 0x3f) + 1; in r8a7740_cpg_register_clock() 111 u32 value = readl(base + CPG_USBCKCR); in r8a7740_cpg_register_clock() local 112 if (value & BIT(7)) in r8a7740_cpg_register_clock() 117 if (!(value & BIT(6))) in r8a7740_cpg_register_clock()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | dcr.h | 32 #define dcr_write(host, dcr_n, value) dcr_write_generic(host, dcr_n, value) argument 42 #define dcr_write(host, dcr_n, value) dcr_write_native(host, dcr_n, value) argument 49 #define dcr_write(host, dcr_n, value) dcr_write_mmio(host, dcr_n, value) argument
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-chemical-sgp40 | 6 Set the temperature. This value is sent to the sensor for 8 Default value: 25000 (25 °C) 15 Set the relative humidity. This value is sent to the sensor for 17 Default value: 50000 (50 % relative humidity) 24 Set the bias value for the resistance which is used for 31 Default value: 30000
|
/openbmc/linux/include/uapi/linux/surface_aggregator/ |
H A D | dtx.h | 25 #define SDTX_CATEGORY(value) ((value) & SDTX_CATEGORY_MASK) argument 32 #define SDTX_SUCCESS(value) (SDTX_CATEGORY(value) == SDTX_CATEGORY_STATUS) argument 56 #define SDTX_DEVICE_TYPE(value) ((value) & SDTX_DEVICE_TYPE_MASK) argument
|
/openbmc/phosphor-user-manager/ |
H A D | users.hpp | 72 std::string userPrivilege(std::string value) override; 74 void setUserPrivilege(const std::string& value); 88 userGroups(std::vector<std::string> value) override; 100 void setUserEnabled(bool value); 106 bool userEnabled(bool value) override; 117 bool userLockedForFailedAttempt(bool value) override;
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | setvar.py | 30 if args.value: 33 value = None 35 if args.value is None: 38 value = args.value 39 varvalues = {args.varname: value}
|
/openbmc/linux/drivers/acpi/ |
H A D | pfr_telemetry.c | 93 in_buf.integer.value = pfrt_log_dev->info.log_type; in get_pfrt_log_data_info() 126 out_obj->package.elements[LOG_MAX_SZ_IDX].integer.value; in get_pfrt_log_data_info() 128 out_obj->package.elements[LOG_CHUNK1_LO_IDX].integer.value; in get_pfrt_log_data_info() 130 out_obj->package.elements[LOG_CHUNK1_HI_IDX].integer.value; in get_pfrt_log_data_info() 132 out_obj->package.elements[LOG_CHUNK1_SZ_IDX].integer.value; in get_pfrt_log_data_info() 165 in_buf.integer.value = level; in set_pfrt_log_level() 174 status = obj->integer.value; in set_pfrt_log_level() 177 ext_status = obj->integer.value; in set_pfrt_log_level() 205 status = obj->integer.value; in get_pfrt_log_level() 208 ext_status = obj->integer.value; in get_pfrt_log_level() [all …]
|