Searched refs:old_stat (Results 1 – 3 of 3) sorted by relevance
168 int old_stat; in seeq8005_probe1() local179 old_stat = inw(SEEQ_STATUS); /* read status register */ in seeq8005_probe1()180 if (old_stat == 0xffff) { in seeq8005_probe1()184 if ( (old_stat & 0x1800) != 0x1800 ) { /* assume that unused bits are 1, as my manual says */ in seeq8005_probe1()187 printk(" == 0x%04x\n",old_stat); in seeq8005_probe1()214 printk("seeq8005: stat = 0x%04x\n",old_stat); in seeq8005_probe1()237 outw( old_stat, SEEQ_STATUS); in seeq8005_probe1()
322 uint16_t old_stat; in pca953x_irq_pending() local334 old_stat = chip->irq_stat; in pca953x_irq_pending()335 trigger = (cur_stat ^ old_stat) & chip->irq_mask; in pca953x_irq_pending()342 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()