Home
last modified time | relevance | path

Searched refs:old_stat (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/seeq/
Dseeq8005.c167 int old_stat; in seeq8005_probe1() local
178 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()
/linux-3.4.99/drivers/gpio/
Dgpio-pca953x.c390 uint16_t old_stat; in pca953x_irq_pending() local
410 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()
Dgpio-max732x.c403 uint8_t old_stat; in max732x_irq_pending() local
422 old_stat = cur_stat ^ trigger; in max732x_irq_pending()
424 pending = (old_stat & chip->irq_trig_fall) | in max732x_irq_pending()