/openbmc/linux/drivers/scsi/ |
H A D | dc395x.c | 159 #define DC395x_write8(acb,address,value) outb((value), acb->io_port_base + (address)) argument 160 #define DC395x_write16(acb,address,value) outw((value), acb->io_port_base + (address)) argument 161 #define DC395x_write32(acb,address,value) outl((value), acb->io_port_base + (address)) argument 472 int value; /* value of this setting */ member 538 module_param_named(adapter_id, cfg_data[CFG_ADAPTER_ID].value, int, 0); 541 module_param_named(max_speed, cfg_data[CFG_MAX_SPEED].value, int, 0); 544 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0); 547 module_param_named(adapter_mode, cfg_data[CFG_ADAPTER_MODE].value, int, 0); 550 module_param_named(tags, cfg_data[CFG_TAGS].value, int, 0); 553 module_param_named(reset_delay, cfg_data[CFG_RESET_DELAY].value, int, 0); [all …]
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-btree.c | 87 uint64_t key, void *value) in insert_at() argument 88 __dm_written_to_disk(value) in insert_at() 98 __dm_unbless_for_disk(value); in insert_at() 105 array_insert(value_base(node), value_size, nr_entries, index, value); in insert_at() 1235 uint64_t *keys, void *value, dm_block_t *new_root, in insert() argument 1237 __dm_written_to_disk(value) in insert() 1289 keys[level], value); in insert() 1301 value))) { in insert() 1306 value, info->value_type.size); in insert() 1315 __dm_unbless_for_disk(value); in insert() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv0910.c | 128 s16 value; member 598 s32 value; in table_lookup() local 606 value = table[0].value; in table_lookup() 608 value = table[imax].value; in table_lookup() 620 value = table[imin].value; in table_lookup() 622 value += ((s32)(reg_value - table[imin].reg_value) * in table_lookup() 623 (s32)(table[imax].value in table_lookup() 624 - table[imin].value)) in table_lookup() 628 return value; in table_lookup() 1688 u8 value; in send_burst() local [all …]
|
/openbmc/linux/scripts/kconfig/ |
H A D | qconf.cc | 50 QStringList entryList = value(key).toStringList(); in readSizes() 67 bool ConfigSettings::writeSizes(const QString& key, const QList<int>& value) in writeSizes() argument 72 for (it = value.begin(); it != value.end(); ++it) in writeSizes() 321 showName = configSettings->value("/showName", false).toBool(); in ConfigList() 322 optMode = (enum optionMode)configSettings->value("/optionMode", 0).toInt(); in ConfigList() 941 setShowDebug(configSettings->value("/showDebug", false).toBool()); in ConfigInfoView() 1268 width = configSettings->value("/window width", parent->width() / 2).toInt(); in ConfigSearchWindow() 1269 height = configSettings->value("/window height", parent->height() / 2).toInt(); in ConfigSearchWindow() 1271 x = configSettings->value("/window x"); in ConfigSearchWindow() 1272 y = configSettings->value("/window y"); in ConfigSearchWindow() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm8904.c | 394 int value = ucontrol->value.enumerated.item[0]; in wm8904_put_drc_enum() local 396 if (value >= pdata->num_drc_cfgs) in wm8904_put_drc_enum() 399 wm8904->drc_cfg = value; in wm8904_put_drc_enum() 412 ucontrol->value.enumerated.item[0] = wm8904->drc_cfg; in wm8904_get_drc_enum() 465 int value = ucontrol->value.enumerated.item[0]; in wm8904_put_retune_mobile_enum() local 467 if (value >= pdata->num_retune_mobile_cfgs) in wm8904_put_retune_mobile_enum() 470 wm8904->retune_mobile_cfg = value; in wm8904_put_retune_mobile_enum() 483 ucontrol->value.enumerated.item[0] = wm8904->retune_mobile_cfg; in wm8904_get_retune_mobile_enum() 523 ucontrol->value.integer.value[0] = wm8904->deemph; in wm8904_get_deemph() 532 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8904_put_deemph() [all …]
|
H A D | wm8350.c | 324 out->left_vol = ucontrol->value.integer.value[0]; in wm8350_put_volsw_2r_vu() 325 out->right_vol = ucontrol->value.integer.value[1]; in wm8350_put_volsw_2r_vu() 354 ucontrol->value.integer.value[0] = out1->left_vol; in wm8350_get_volsw_2r() 355 ucontrol->value.integer.value[1] = out1->right_vol; in wm8350_get_volsw_2r() 359 ucontrol->value.integer.value[0] = out2->left_vol; in wm8350_get_volsw_2r() 360 ucontrol->value.integer.value[1] = out2->right_vol; in wm8350_get_volsw_2r()
|
H A D | wm8753.c | 230 ucontrol->value.enumerated.item[0] = wm8753->dai_func; in wm8753_get_dai() 241 if (wm8753->dai_func == ucontrol->value.enumerated.item[0]) in wm8753_set_dai() 249 wm8753->dai_func = ucontrol->value.enumerated.item[0]; in wm8753_set_dai() 764 u16 value = 0; in wm8753_set_dai_pll() local 771 value = (pll_div.n << 5) + ((pll_div.k & 0x3c0000) >> 18); in wm8753_set_dai_pll() 772 snd_soc_component_write(component, WM8753_PLL1CTL2 + offset, value); in wm8753_set_dai_pll() 775 value = (pll_div.k & 0x03fe00) >> 9; in wm8753_set_dai_pll() 776 snd_soc_component_write(component, WM8753_PLL1CTL3 + offset, value); in wm8753_set_dai_pll() 779 value = pll_div.k & 0x0001ff; in wm8753_set_dai_pll() 780 snd_soc_component_write(component, WM8753_PLL1CTL4 + offset, value); in wm8753_set_dai_pll()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb | 18 This is used as value that determines if interfaces 20 The value can be 1 or 0. It's by default 1. 102 power/usb2_hardware_lpm. The file holds a string value (enable 120 files hold a string value (enable or disable) indicating whether 175 raw location value as a hex integer. 209 to user space. This file will contain an unsigned 32 bit value 211 poll() for monitoring changes to this value in user space. 213 Any time this value changes the corresponding hub device will send a 217 OVER_CURRENT_COUNT=[current value of this sysfs attribute] 287 L1 sleep state now use a best effort service latency value (BESL) to [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | pel_test.cpp | 178 EXPECT_EQ(pel.primarySRC().value()->asciiString(), in TEST_F() 876 ASSERT_TRUE(pel.primarySRC().value()->callouts()); in TEST_F() 877 auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() 885 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST_F() 886 EXPECT_EQ(fru->getCCIN().value(), "CCCC"); in TEST_F() 887 EXPECT_EQ(fru->getSN().value(), "123456789ABC"); in TEST_F() 931 EXPECT_FALSE(pel.primarySRC().value()->callouts()); in TEST_F() 1022 ASSERT_TRUE(pel.primarySRC().value()->callouts()); in TEST_F() 1023 const auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() 1032 EXPECT_EQ(fru->getPN().value(), "1234567"); in TEST_F() [all …]
|
/openbmc/linux/tools/memory-model/Documentation/ |
H A D | access-marking.txt | 104 fed into some operation that checks the full value against a later marked 105 load from memory, which means that the occasional arbitrarily bogus value 106 is not a problem. For example, if a bogus value is fed into cmpxchg(), 108 in a retry. Unless the race condition that resulted in the bogus value 113 architectures. Therefore, it is best to capture the return value from 116 Capturing the return value from cmpxchg() also saves a memory reference 151 After all, if the heuristic can tolerate the occasional bogus value 153 compiler-mangled write, at least assuming that the proper value is in 195 b. When the store writes the value already contained in 275 pr_info("Current value of foo: %d\n", data_race(foo)); [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_report.cpp | 283 setProperty(sut->getPath(), "ReadingParameters", newParams).value(), in TEST_F() 311 setProperty(sut->getPath(), "ReadingParameters", newParams).value(), in TEST_F() 325 setProperty(sut->getPath(), "ReportActions", newActions).value(), in TEST_F() 348 setProperty(sut->getPath(), "ReportActions", newActions).value(), in TEST_F() 366 setProperty(sut->getPath(), "ReportActions", newActions).value(), in TEST_F() 377 setProperty(sut->getPath(), "ReportActions", invalidActions).value(), in TEST_F() 420 EXPECT_THAT(setProperty(sut->getPath(), "Enabled", newValue).value(), in TEST_F() 499 setProperty(sut->getPath(), "EmitsReadingsUpdate", true).value(), in TEST_F() 510 .value(), in TEST_F() 525 EXPECT_THAT(setProperty(sut->getPath(), "Persistency", persistency).value(), in TEST_F() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0012-do-not-disable-buffer-in-writing-files.patch | 100 - return write_string_file(p, value, WRITE_STRING_FILE_DISABLE_BUFFER); 101 + return write_string_file(p, value, 0); 144 log_debug("Setting '%s' to '%s'", p, value); 146 - return write_string_file(p, value, WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE… 147 + return write_string_file(p, value, WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE… 240 if (!value) 243 - r = write_string_file(path, value, WRITE_STRING_FILE_DISABLE_BUFFER | WRITE_STRING_FILE_NO… 244 + r = write_string_file(path, value, 0 | WRITE_STRING_FILE_NOFOLLOW); 321 @@ -163,7 +163,7 @@ int set_coredump_filter(uint64_t value) 322 xsprintf(t, "0x%"PRIx64, value); [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_core.c | 579 const char *value; in power_supply_get_battery_info() local 603 err = fwnode_property_read_string(fwnode, "compatible", &value); in power_supply_get_battery_info() 609 err = samsung_sdi_battery_get_info(&psy->dev, value, &info); in power_supply_get_battery_info() 619 if (strcmp("simple-battery", value)) { in power_supply_get_battery_info() 670 if (!fwnode_property_read_string(fwnode, "device-chemistry", &value)) { in power_supply_get_battery_info() 671 if (!strcmp("nickel-cadmium", value)) in power_supply_get_battery_info() 673 else if (!strcmp("nickel-metal-hydride", value)) in power_supply_get_battery_info() 675 else if (!strcmp("lithium-ion", value)) in power_supply_get_battery_info() 678 else if (!strcmp("lithium-ion-polymer", value)) in power_supply_get_battery_info() 680 else if (!strcmp("lithium-ion-iron-phosphate", value)) in power_supply_get_battery_info() [all …]
|
/openbmc/linux/drivers/parisc/ |
H A D | lba_pci.c | 131 #define WRITE_U8(value, addr) __raw_writeb(value, addr) argument 132 #define WRITE_U16(value, addr) __raw_writew(value, addr) argument 133 #define WRITE_U32(value, addr) __raw_writel(value, addr) argument 139 #define WRITE_REG8(value, addr) writeb(value, addr) argument 140 #define WRITE_REG16(value, addr) writew(value, addr) argument 141 #define WRITE_REG32(value, addr) writel(value, addr) argument
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_rule.c | 917 static bool dr_rule_cmp_value_to_mask(u8 *mask, u8 *value, in dr_rule_cmp_value_to_mask() argument 923 if (value[i] & ~mask[i]) { in dr_rule_cmp_value_to_mask() 932 struct mlx5dr_match_parameters *value, in dr_rule_verify() argument 936 size_t value_size = value->match_sz; in dr_rule_verify() 947 mlx5dr_ste_copy_param(matcher->match_criteria, param, value, false); in dr_rule_verify() 1087 struct mlx5dr_match_param *value, in dr_rule_skip() argument 1096 if (rx && value->misc.source_port != MLX5_VPORT_UPLINK) in dr_rule_skip() 1099 if (!rx && value->misc.source_port == MLX5_VPORT_UPLINK) in dr_rule_skip() 1288 struct mlx5dr_match_parameters *value, in dr_rule_create_rule() argument 1298 if (!dr_rule_verify(matcher, value, ¶m)) in dr_rule_create_rule() [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kcsan.rst | 44 value changed: 0x00000000000009a6 -> 0x00000000000009b2 53 involved in the data race. If KCSAN also observed a value change, the observed 54 old value and new value are shown on the "value changed" line respectively. 67 value changed: 0x0000000000002328 -> 0x0000000000002329 75 racing thread, but a race was inferred due to the data value of the watched 76 memory location having changed. These reports always show a "value changed" 121 is observed via a watchpoint, but the data value of the memory location was 132 complex involving value-change patterns, access type, and address. This 261 3. Also check the data value before the delay, and re-check the data value
|
/openbmc/qemu/hw/intc/ |
H A D | xive2.c | 445 hwaddr offset, uint64_t value, in xive2_tm_pull_ctx_ol() argument 499 hwaddr offset, uint64_t value, unsigned size) in xive2_tm_pull_os_ctx_ol() argument 501 xive2_tm_pull_ctx_ol(xptr, tctx, offset, value, size, TM_QW1_OS); in xive2_tm_pull_os_ctx_ol() 506 hwaddr offset, uint64_t value, unsigned size) in xive2_tm_pull_phys_ctx_ol() argument 508 xive2_tm_pull_ctx_ol(xptr, tctx, offset, value, size, TM_QW3_HV_PHYS); in xive2_tm_pull_phys_ctx_ol() 598 hwaddr offset, uint64_t value, unsigned size) in xive2_tm_push_os_ctx() argument 611 cam = value; in xive2_tm_push_os_ctx() 616 cam = value >> 32; in xive2_tm_push_os_ctx() 617 qw1dw1 = cpu_to_be64(value); in xive2_tm_push_os_ctx() 641 hwaddr offset, uint64_t value, unsigned size) in xive2_tm_set_hv_target() argument [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-intel.c | 191 u32 value; in intel_spi_dump_regs() local 196 value = readl(ispi->base + HSFSTS_CTL); in intel_spi_dump_regs() 197 dev_dbg(ispi->dev, "HSFSTS_CTL=0x%08x\n", value); in intel_spi_dump_regs() 198 if (value & HSFSTS_CTL_FLOCKDN) in intel_spi_dump_regs() 218 value = readl(ispi->sregs + SSFSTS_CTL); in intel_spi_dump_regs() 219 dev_dbg(ispi->dev, "SSFSTS_CTL=0x%08x\n", value); in intel_spi_dump_regs() 235 value = readl(ispi->pregs + PR(i)); in intel_spi_dump_regs() 236 if (!(value & (PR_WPE | PR_RPE))) in intel_spi_dump_regs() 239 limit = (value & PR_LIMIT_MASK) >> PR_LIMIT_SHIFT; in intel_spi_dump_regs() 240 base = value & PR_BASE_MASK; in intel_spi_dump_regs() [all …]
|
/openbmc/linux/Documentation/admin-guide/kdump/ |
H A D | vmcoreinfo.rst | 71 Stores the virtual area list. makedumpfile gets the vmalloc start value 72 from this variable and its value is necessary for vmalloc translation. 116 The size of a pglist_data structure. This value is used to check if the 123 The size of a zone structure. This value is used to check if the zone 172 Offset of the free_list's member. This value is used to compute the number 195 Free areas descriptor. User-space tools use this value to iterate the 210 different value, this is useful for viewing the initial boot messages, 312 Offset for the long value of an atomic_long_t variable. Used by 313 user-space tools to access the long value without requiring the 378 KASLR is disabled, this value is zero. [all …]
|
/openbmc/linux/drivers/rpmsg/ |
H A D | qcom_smd.c | 291 #define SET_RX_CHANNEL_FLAG(channel, param, value) \ argument 295 channel->info_word->rx.param = cpu_to_le32(value); \ 297 channel->info->rx.param = value; \ 300 #define SET_RX_CHANNEL_INFO(channel, param, value) \ argument 304 channel->info_word->rx.param = cpu_to_le32(value); \ 306 channel->info->rx.param = cpu_to_le32(value); \ 325 #define SET_TX_CHANNEL_FLAG(channel, param, value) \ argument 329 channel->info_word->tx.param = cpu_to_le32(value); \ 331 channel->info->tx.param = value; \ 334 #define SET_TX_CHANNEL_INFO(channel, param, value) \ argument [all …]
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | qapi-schema-test.out | 108 member value-a 109 member value-b 111 member value-a1 112 member value-a2 124 case value-a1: TestUnionTypeA1 125 case value-a2: TestUnionTypeA2 134 case value-a: TestUnionTypeA 135 case value-b: TestUnionTypeB 243 member __org.qemu_x-value 259 case __org.qemu_x-value: __org.qemu_x-Struct2
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_link.c | 52 u8 value; in dp_aux_link_power_up() local 59 len = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in dp_aux_link_power_up() 63 value &= ~DP_SET_POWER_MASK; in dp_aux_link_power_up() 64 value |= DP_SET_POWER_D0; in dp_aux_link_power_up() 68 len = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in dp_aux_link_power_up() 80 u8 value; in dp_aux_link_power_down() local 86 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in dp_aux_link_power_down() 90 value &= ~DP_SET_POWER_MASK; in dp_aux_link_power_down() 91 value |= DP_SET_POWER_D3; in dp_aux_link_power_down() 93 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in dp_aux_link_power_down()
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_halinit.c | 217 u16 value = 0; in _InitNormalChipOneOutEpPriority() local 220 value = QUEUE_HIGH; in _InitNormalChipOneOutEpPriority() 223 value = QUEUE_LOW; in _InitNormalChipOneOutEpPriority() 226 value = QUEUE_NORMAL; in _InitNormalChipOneOutEpPriority() 233 Adapter, value, value, value, value, value, value in _InitNormalChipOneOutEpPriority()
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzv2m.c | 137 static void rzv2m_writel_we(void __iomem *addr, u8 shift, u8 value) in rzv2m_writel_we() argument 139 writel((BIT(16) | value) << shift, addr); in rzv2m_writel_we() 307 u32 value; in rzv2m_dt_subnode_to_map() local 309 ret = of_property_read_u32_index(np, "pinmux", i, &value); in rzv2m_dt_subnode_to_map() 312 pins[i] = value & MUX_PIN_ID_MASK; in rzv2m_dt_subnode_to_map() 313 psel_val[i] = MUX_FUNC(value); in rzv2m_dt_subnode_to_map() 798 int value) in rzv2m_gpio_set() argument 804 rzv2m_writel_we(pctrl->base + DO(port), bit, !!value); in rzv2m_gpio_set() 808 unsigned int offset, int value) in rzv2m_gpio_direction_output() argument 814 rzv2m_gpio_set(chip, offset, value); in rzv2m_gpio_direction_output()
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() argument 22 x = (x & ~(mask << shift)) | ((u32)value << shift); in cx18_av_write() 27 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() argument 33 x = (x & ~((u32)0xff << shift)) | ((u32)value << shift); in cx18_av_write_expect() 39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() argument 41 cx18_write_reg(cx, value, 0xc40000 + addr); in cx18_av_write4() 46 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) in cx18_av_write4_expect() argument 48 cx18_write_reg_expect(cx, value, 0xc40000 + addr, eval, mask); in cx18_av_write4_expect() 52 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4_noretry() argument 54 cx18_write_reg_noretry(cx, value, 0xc40000 + addr); in cx18_av_write4_noretry()
|