Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-iolatency.c142 struct latency_stat cur_stat; member
558 latency_stat_sum(iolat, &iolat->cur_stat, &stat); in iolatency_check_latencies()
560 lat_info->nr_samples += latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
561 iolat->nr_samples = latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
567 if (latency_sum_ok(iolat, &iolat->cur_stat) && in iolatency_check_latencies()
569 if (latency_stat_samples(iolat, &iolat->cur_stat) < in iolatency_check_latencies()
586 latency_stat_init(iolat, &iolat->cur_stat); in iolatency_check_latencies()
1002 latency_stat_init(iolat, &iolat->cur_stat); in iolatency_pd_init()
/linux/drivers/gpio/
H A 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()
H A Dgpio-pca953x.c839 DECLARE_BITMAP(cur_stat, MAX_LINE); in pca953x_irq_pending()
851 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); 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()
863 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); 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()
874 bitmap_and(trigger, cur_stat, chip->irq_mask, gc->ngpio); in pca953x_irq_pending()
881 bitmap_and(cur_stat, chip->irq_trig_fall, old_stat, gc->ngpio); in pca953x_irq_pending()
883 bitmap_or(new_stat, old_stat, cur_stat, gc->ngpio); in pca953x_irq_pending()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.h274 u64 *prev_stat, u64 *cur_stat);
277 u64 *prev_stat, u64 *cur_stat);
H A Dice_common.c5633 u64 *prev_stat, u64 *cur_stat) in ice_stat_update40() argument
5651 *cur_stat += new_data - *prev_stat; in ice_stat_update40()
5654 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40()
5670 u64 *prev_stat, u64 *cur_stat) in ice_stat_update32() argument
5690 *cur_stat += new_data - *prev_stat; in ice_stat_update32()
5693 *cur_stat += (new_data + BIT_ULL(32)) - *prev_stat; in ice_stat_update32()
/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c1073 DECLARE_BITMAP(cur_stat, MAX_LINE); in cy8c95x0_irq_pending()
1084 if (cy8c95x0_read_regs_mask(chip, CY8C95X0_INPUT, cur_stat, trigger)) in cy8c95x0_irq_pending()
1089 cur_stat, MAX_LINE); in cy8c95x0_irq_pending()