Home
last modified time | relevance | path

Searched refs:cur_value (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/nvram/
H A Dnpcm7xx_otp.c154 static uint32_t npcm7xx_otp_compute_fcfg(uint32_t cur_value, uint32_t new_value) in npcm7xx_otp_compute_fcfg() argument
163 lock_mask = (cur_value & FCFG_FCFGLK_MASK) >> 8; in npcm7xx_otp_compute_fcfg()
166 value = cur_value & (FCFG_FDIS | FCFG_FCFGLK_MASK); in npcm7xx_otp_compute_fcfg()
168 value |= cur_value & lock_mask; in npcm7xx_otp_compute_fcfg()
/openbmc/skeleton/libopenbmc_intf/
H A Dopenbmc_intf.c1694 const GValue *cur_value; in _hwmon_emit_changed() local
1696 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _hwmon_emit_changed()
1697 if (!_g_value_equal (cur_value, &cp->orig_value)) in _hwmon_emit_changed()
1699 …variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)… in _hwmon_emit_changed()
3652 const GValue *cur_value; in _fan_emit_changed() local
3654 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _fan_emit_changed()
3655 if (!_g_value_equal (cur_value, &cp->orig_value)) in _fan_emit_changed()
3657 …variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)… in _fan_emit_changed()
5896 const GValue *cur_value; in _sensor_value_emit_changed() local
5898 cur_value = &skeleton->priv->properties[cp->prop_id - 1]; in _sensor_value_emit_changed()
[all …]