Searched refs:val_old (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/s390/kernel/ |
| H A D | perf_pai.c | 565 u64 val = 0, val_old = 0; in pai_copy() local 569 val_old += pai_getctr(page_old, i, pp->kernel_offset); in pai_copy() 573 val_old += pai_getctr(page_old, i, 0); in pai_copy() 575 if (val >= val_old) in pai_copy() 576 val -= val_old; in pai_copy() 578 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 | 6500 u64 val_old, val_new, val_tmp; in check_msr() local 6514 if (rdmsrq_safe(msr, &val_old)) in check_msr() 6520 val_tmp = val_old ^ mask; in check_msr() 6537 val_old = lbr_from_signext_quirk_wr(val_old); in check_msr() 6542 wrmsrq(msr, val_old); in check_msr()
|