Home
last modified time | relevance | path

Searched refs:cur_stat (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/block/
Dblk-iolatency.c142 struct latency_stat cur_stat; member
559 latency_stat_sum(iolat, &iolat->cur_stat, &stat); in iolatency_check_latencies()
561 lat_info->nr_samples += latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
562 iolat->nr_samples = latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
568 if (latency_sum_ok(iolat, &iolat->cur_stat) && in iolatency_check_latencies()
570 if (latency_stat_samples(iolat, &iolat->cur_stat) < in iolatency_check_latencies()
587 latency_stat_init(iolat, &iolat->cur_stat); in iolatency_check_latencies()
994 latency_stat_init(iolat, &iolat->cur_stat); in iolatency_pd_init()
/linux-6.1.9/drivers/gpio/
Dgpio-max732x.c444 uint8_t cur_stat; in max732x_irq_pending() local
461 cur_stat = status & 0xFF; in max732x_irq_pending()
462 cur_stat &= chip->irq_mask; in max732x_irq_pending()
464 old_stat = cur_stat ^ trigger; in max732x_irq_pending()
467 (cur_stat & chip->irq_trig_raise); in max732x_irq_pending()
Dgpio-pca953x.c847 DECLARE_BITMAP(cur_stat, MAX_LINE); in pca953x_irq_pending()
859 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); in pca953x_irq_pending()
864 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, cur_stat, gc->ngpio); in pca953x_irq_pending()
871 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); in pca953x_irq_pending()
880 bitmap_and(new_stat, cur_stat, reg_direction, gc->ngpio); in pca953x_irq_pending()
881 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending()
882 bitmap_and(trigger, cur_stat, chip->irq_mask, gc->ngpio); in pca953x_irq_pending()
889 bitmap_and(cur_stat, chip->irq_trig_fall, old_stat, gc->ngpio); in pca953x_irq_pending()
891 bitmap_or(new_stat, old_stat, cur_stat, gc->ngpio); in pca953x_irq_pending()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_common.h196 u64 *prev_stat, u64 *cur_stat);
199 u64 *prev_stat, u64 *cur_stat);
Dice_common.c4984 u64 *prev_stat, u64 *cur_stat) in ice_stat_update40() argument
5002 *cur_stat += new_data - *prev_stat; in ice_stat_update40()
5005 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40()
5021 u64 *prev_stat, u64 *cur_stat) in ice_stat_update32() argument
5041 *cur_stat += new_data - *prev_stat; in ice_stat_update32()
5044 *cur_stat += (new_data + BIT_ULL(32)) - *prev_stat; in ice_stat_update32()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-cy8c95x0.c986 DECLARE_BITMAP(cur_stat, MAX_LINE); in cy8c95x0_irq_pending()
997 if (cy8c95x0_read_regs_mask(chip, CY8C95X0_INPUT, cur_stat, trigger)) in cy8c95x0_irq_pending()
1002 cur_stat, MAX_LINE); in cy8c95x0_irq_pending()