Searched refs:cur_stat (Results 1 – 3 of 3) sorted by relevance
321 uint16_t cur_stat; in pca953x_irq_pending() local327 ret = pca953x_read_reg(chip, PCA953X_INPUT, &cur_stat); in pca953x_irq_pending()332 cur_stat &= chip->reg_direction; in pca953x_irq_pending()335 trigger = (cur_stat ^ old_stat) & chip->irq_mask; in pca953x_irq_pending()340 chip->irq_stat = cur_stat; in pca953x_irq_pending()343 (cur_stat & chip->irq_trig_raise); in pca953x_irq_pending()
402 uint8_t cur_stat; in max732x_irq_pending() local419 cur_stat = status & 0xFF; in max732x_irq_pending()420 cur_stat &= chip->irq_mask; in max732x_irq_pending()422 old_stat = cur_stat ^ trigger; in max732x_irq_pending()425 (cur_stat & chip->irq_trig_raise); in max732x_irq_pending()
254 static void wlc_ctrupd_cache(u16 cur_stat, u16 *macstat_snapshot, u32 *macstat);4712 wlc_ctrupd_cache(u16 cur_stat, u16 *macstat_snapshot, u32 *macstat) in wlc_ctrupd_cache() argument4717 v = le16_to_cpu(cur_stat); in wlc_ctrupd_cache()