Lines Matching refs:inw
93 #define tx_done(dev) (inw(SEEQ_STATUS) & SEEQSTAT_TX_ON)
170 old_stat = inw(SEEQ_STATUS); /* read status register */
184 old_rear = inw(SEEQ_REA);
187 if (inw(SEEQ_REA) == 0xffff) { /* assume that 0xffff == no device */
200 old_cfg2 = inw(SEEQ_CFG2); /* read CFG2 register */
201 old_cfg1 = inw(SEEQ_CFG1);
202 old_dmaar = inw(SEEQ_DMAAR);
219 j+= SA_prom[i] = inw(SEEQ_BUFFER) & 0xff;
372 while ( ( ((status=inw(SEEQ_STATUS)) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && time_before(jiffies, tmp))
391 status = inw(SEEQ_STATUS);
415 status = inw(SEEQ_STATUS);
438 status = inw(SEEQ_STATUS);
442 next_packet = ntohs(inw(SEEQ_BUFFER));
443 pkt_hdr = inw(SEEQ_BUFFER);
612 old_cfg1 = inw(SEEQ_CFG1);
613 printk("%s: stat = 0x%04x\n",dev->name,inw(SEEQ_STATUS));
615 printk("%s: cfg2 = 0x%04x\n",dev->name,inw(SEEQ_CFG2));
616 printk("%s: raer = 0x%04x\n",dev->name,inw(SEEQ_REA));
617 printk("%s: dmaar= 0x%04x\n",dev->name,inw(SEEQ_DMAAR));
626 int status = inw(SEEQ_STATUS);
653 while ( (((status=inw(SEEQ_STATUS)) & SEEQSTAT_FIFO_EMPTY) == 0) && time_before(jiffies, tmp + HZ))