Home
last modified time | relevance | path

Searched refs:new_stat (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dnamespaces.c104 struct stat new_stat; in nsinfo__init() local
116 if (stat(newns, &new_stat) < 0) in nsinfo__init()
122 if (old_stat.st_ino != new_stat.st_ino) { in nsinfo__init()
/linux-6.12.1/drivers/gpio/
Dgpio-pca953x.c840 DECLARE_BITMAP(new_stat, MAX_LINE); in pca953x_irq_pending()
856 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, cur_stat, gc->ngpio); in pca953x_irq_pending()
858 bitmap_and(pending, new_stat, trigger, gc->ngpio); in pca953x_irq_pending()
872 bitmap_and(new_stat, cur_stat, reg_direction, gc->ngpio); in pca953x_irq_pending()
873 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending()
876 bitmap_copy(chip->irq_stat, new_stat, gc->ngpio); in pca953x_irq_pending()
882 bitmap_and(old_stat, chip->irq_trig_raise, new_stat, gc->ngpio); in pca953x_irq_pending()
883 bitmap_or(new_stat, old_stat, cur_stat, gc->ngpio); in pca953x_irq_pending()
884 bitmap_and(pending, new_stat, trigger, gc->ngpio); in pca953x_irq_pending()
/linux-6.12.1/kernel/
Dwatchdog.c387 u16 old_stat, new_stat; in update_cpustat() local
397 new_stat = get_16bit_precision(cpustat[tracked_stats[i]]); in update_cpustat()
398 util = DIV_ROUND_UP(100 * (new_stat - old_stat), sample_period_16); in update_cpustat()
400 __this_cpu_write(cpustat_old[i], new_stat); in update_cpustat()
/linux-6.12.1/drivers/power/supply/
Drt9467-charger.c875 unsigned int new_stat, evts = 0; in rt9467_statc_handler() local
878 ret = regmap_read(data->regmap, RT9467_REG_CHG_STATC, &new_stat); in rt9467_statc_handler()
884 evts = data->old_stat ^ new_stat; in rt9467_statc_handler()
885 data->old_stat = new_stat; in rt9467_statc_handler()
887 if ((evts & new_stat) & RT9467_MASK_MIVR_STAT) { in rt9467_statc_handler()
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-cy8c95x0.c1074 DECLARE_BITMAP(new_stat, MAX_LINE); in cy8c95x0_irq_pending()
1088 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, in cy8c95x0_irq_pending()
1091 bitmap_and(pending, new_stat, trigger, MAX_LINE); in cy8c95x0_irq_pending()