Searched refs:cur_stat (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/block/ |
D | blk-iolatency.c | 142 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-v6.1/drivers/gpio/ |
D | gpio-max732x.c | 444 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()
|
D | gpio-pca953x.c | 844 DECLARE_BITMAP(cur_stat, MAX_LINE); in pca953x_irq_pending() 856 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); in pca953x_irq_pending() 861 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, cur_stat, gc->ngpio); in pca953x_irq_pending() 868 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); in pca953x_irq_pending() 877 bitmap_and(new_stat, cur_stat, reg_direction, gc->ngpio); in pca953x_irq_pending() 878 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending() 879 bitmap_and(trigger, cur_stat, chip->irq_mask, gc->ngpio); in pca953x_irq_pending() 886 bitmap_and(cur_stat, chip->irq_trig_fall, old_stat, gc->ngpio); in pca953x_irq_pending() 888 bitmap_or(new_stat, old_stat, cur_stat, gc->ngpio); in pca953x_irq_pending()
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_common.h | 196 u64 *prev_stat, u64 *cur_stat); 199 u64 *prev_stat, u64 *cur_stat);
|
D | ice_common.c | 4984 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-v6.1/drivers/pinctrl/ |
D | pinctrl-cy8c95x0.c | 986 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()
|