Searched refs:val_old (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/s390/kernel/ |
| H A D | perf_pai.c | 574 u64 val = 0, val_old = 0, val_k = 0, val_old_k = 0; in pai_copy() local 584 val_old = pai_getctr(page_old, i, 0); in pai_copy() 585 if (val != val_old) in pai_copy() 589 val_old += val_old_k; in pai_copy() 590 if (val >= val_old) in pai_copy() 591 val -= val_old; in pai_copy() 593 val = (~0ULL - val_old) + val + 1; in pai_copy()
|
| /linux/drivers/rtc/ |
| H A D | rtc-rv3028.c | 868 int ret, val_old, val; in rv3028_set_trickle_charger() local 871 ret = regmap_read(rv3028->regmap, RV3028_BACKUP, &val_old); in rv3028_set_trickle_charger() 876 val_old = val_old & (RV3028_BACKUP_TCE | RV3028_BACKUP_TCR_MASK); in rv3028_set_trickle_charger() 877 val = val_old; in rv3028_set_trickle_charger() 913 if (val_old != val) { in rv3028_set_trickle_charger()
|
| /linux/sound/soc/codecs/ |
| H A D | da7213.c | 492 __le16 val_new, val_old; in da7213_tonegen_freq_put() local 503 ret = regmap_raw_read(da7213->regmap, reg, &val_old, sizeof(val_old)); in da7213_tonegen_freq_put() 504 if (ret == 0 && (val_old != val_new)) in da7213_tonegen_freq_put() 512 return val_old != val_new; in da7213_tonegen_freq_put()
|
| H A D | da7219.c | 449 __le16 val_new, val_old; in da7219_tonegen_freq_put() local 460 ret = regmap_raw_read(da7219->regmap, reg, &val_old, sizeof(val_old)); in da7219_tonegen_freq_put() 461 if (ret == 0 && (val_old != val_new)) in da7219_tonegen_freq_put() 469 return val_old != val_new; in da7219_tonegen_freq_put()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 6788 u64 val_old, val_new, val_tmp; in freeze_on_smi_store() 6802 if (rdmsrq_safe(msr, &val_old)) in freeze_on_smi_store() 6808 val_tmp = val_old ^ mask; in freeze_on_smi_store() 6825 val_old = lbr_from_signext_quirk_wr(val_old); in update_tfa_sched() 6830 wrmsrq(msr, val_old); in show_sysctl_tfa() 6535 u64 val_old, val_new, val_tmp; check_msr() local
|