Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-pca953x.c730 DECLARE_BITMAP(cur_stat, MAX_LINE); in pca953x_irq_pending()
742 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); in pca953x_irq_pending()
747 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, cur_stat, gc->ngpio); in pca953x_irq_pending()
754 ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); in pca953x_irq_pending()
763 bitmap_and(new_stat, cur_stat, reg_direction, gc->ngpio); in pca953x_irq_pending()
764 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending()
765 bitmap_and(trigger, cur_stat, chip->irq_mask, gc->ngpio); in pca953x_irq_pending()
772 bitmap_and(cur_stat, chip->irq_trig_fall, old_stat, gc->ngpio); in pca953x_irq_pending()
774 bitmap_or(new_stat, old_stat, cur_stat, gc->ngpio); in pca953x_irq_pending()
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()
/drivers/net/ethernet/intel/ice/
Dice_common.h168 u64 *prev_stat, u64 *cur_stat);
171 u64 *prev_stat, u64 *cur_stat);
Dice_common.c4169 u64 *prev_stat, u64 *cur_stat) in ice_stat_update40() argument
4187 *cur_stat += new_data - *prev_stat; in ice_stat_update40()
4190 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40()
4206 u64 *prev_stat, u64 *cur_stat) in ice_stat_update32() argument
4226 *cur_stat += new_data - *prev_stat; in ice_stat_update32()
4229 *cur_stat += (new_data + BIT_ULL(32)) - *prev_stat; in ice_stat_update32()