Searched refs:old_stat (Results 1 – 3 of 3) sorted by relevance
167 int old_stat; in seeq8005_probe1() local178 old_stat = inw(SEEQ_STATUS); /* read status register */ in seeq8005_probe1()179 if (old_stat == 0xffff) { in seeq8005_probe1()183 if ( (old_stat & 0x1800) != 0x1800 ) { /* assume that unused bits are 1, as my manual says */ in seeq8005_probe1()186 printk(" == 0x%04x\n",old_stat); in seeq8005_probe1()213 printk("seeq8005: stat = 0x%04x\n",old_stat); in seeq8005_probe1()236 outw( old_stat, SEEQ_STATUS); in seeq8005_probe1()
390 uint16_t old_stat; in pca953x_irq_pending() local410 old_stat = chip->irq_stat; in pca953x_irq_pending()411 trigger = (cur_stat ^ old_stat) & chip->irq_mask; in pca953x_irq_pending()418 pending = (old_stat & chip->irq_trig_fall) | in pca953x_irq_pending()
403 uint8_t old_stat; in max732x_irq_pending() local422 old_stat = cur_stat ^ trigger; in max732x_irq_pending()424 pending = (old_stat & chip->irq_trig_fall) | in max732x_irq_pending()