Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dseeq8005.c168 int old_stat; in seeq8005_probe1() local
179 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()
/linux-2.6.39/drivers/gpio/
Dpca953x.c322 uint16_t old_stat; in pca953x_irq_pending() local
334 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()
Dmax732x.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()