Searched refs:old_stat (Results 1 – 5 of 5) sorted by relevance
/linux/tools/perf/util/ |
H A D | namespaces.c | 103 struct stat old_stat; in nsinfo__init() local 113 if (stat(oldns, &old_stat) < 0) in nsinfo__init() 122 if (old_stat.st_ino != new_stat.st_ino) { in nsinfo__init()
|
/linux/drivers/gpio/ |
H A D | gpio-pca953x.c | 838 DECLARE_BITMAP(old_stat, MAX_LINE); in pca953x_irq_pending() 870 bitmap_copy(old_stat, chip->irq_stat, gc->ngpio); in pca953x_irq_pending() 873 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending() 881 bitmap_and(cur_stat, chip->irq_trig_fall, old_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()
|
H A D | gpio-max732x.c | 445 uint8_t old_stat; in max732x_irq_pending() local 464 old_stat = cur_stat ^ trigger; in max732x_irq_pending() 466 pending = (old_stat & chip->irq_trig_fall) | in max732x_irq_pending()
|
/linux/kernel/ |
H A D | watchdog.c | 387 u16 old_stat, new_stat; in update_cpustat() local 396 old_stat = __this_cpu_read(cpustat_old[i]); in update_cpustat() 398 util = DIV_ROUND_UP(100 * (new_stat - old_stat), sample_period_16); in update_cpustat()
|
/linux/drivers/power/supply/ |
H A D | rt9467-charger.c | 279 unsigned int old_stat; member 884 evts = data->old_stat ^ new_stat; in rt9467_statc_handler() 885 data->old_stat = new_stat; in rt9467_statc_handler()
|