Lines Matching refs:inw
90 #define tx_done(dev) (inw(SEEQ_STATUS) & SEEQSTAT_TX_ON)
178 old_stat = inw(SEEQ_STATUS); /* read status register */ in seeq8005_probe1()
192 old_rear = inw(SEEQ_REA); in seeq8005_probe1()
195 if (inw(SEEQ_REA) == 0xffff) { /* assume that 0xffff == no device */ in seeq8005_probe1()
208 old_cfg2 = inw(SEEQ_CFG2); /* read CFG2 register */ in seeq8005_probe1()
209 old_cfg1 = inw(SEEQ_CFG1); in seeq8005_probe1()
210 old_dmaar = inw(SEEQ_DMAAR); in seeq8005_probe1()
227 j+= SA_prom[i] = inw(SEEQ_BUFFER) & 0xff; in seeq8005_probe1()
282 …while ( ((inw(SEEQ_STATUS) & SEEQSTAT_FIFO_EMPTY) != SEEQSTAT_FIFO_EMPTY) && time_before(jiffies, … in seeq8005_probe1()
285 …while ( ((inw(SEEQ_STATUS) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && time_before(jiffies, … in seeq8005_probe1()
287 if ( (inw(SEEQ_STATUS) & SEEQSTAT_WINDOW_INT) == SEEQSTAT_WINDOW_INT) in seeq8005_probe1()
288 outw( SEEQCMD_WINDOW_INT_ACK | (inw(SEEQ_STATUS)& SEEQCMD_INT_MASK), SEEQ_CMD); in seeq8005_probe1()
292 if (inw(SEEQ_BUFFER) != 0x5a5a) in seeq8005_probe1()
434 …while ( ( ((status=inw(SEEQ_STATUS)) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && time_before… in wait_for_buffer()
453 status = inw(SEEQ_STATUS); in seeq8005_interrupt()
477 status = inw(SEEQ_STATUS); in seeq8005_interrupt()
500 status = inw(SEEQ_STATUS); in seeq8005_rx()
504 next_packet = ntohs(inw(SEEQ_BUFFER)); in seeq8005_rx()
505 pkt_hdr = inw(SEEQ_BUFFER); in seeq8005_rx()
623 outw( (inw(SEEQ_CFG1) & ~SEEQCFG1_MATCH_MASK)| SEEQCFG1_MATCH_ALL, SEEQ_CFG1); in set_multicast_list()
626 outw( (inw(SEEQ_CFG1) & ~SEEQCFG1_MATCH_MASK)| SEEQCFG1_MATCH_BROAD, SEEQ_CFG1); in set_multicast_list()
677 old_cfg1 = inw(SEEQ_CFG1); in seeq8005_init()
678 printk("%s: stat = 0x%04x\n",dev->name,inw(SEEQ_STATUS)); in seeq8005_init()
680 printk("%s: cfg2 = 0x%04x\n",dev->name,inw(SEEQ_CFG2)); in seeq8005_init()
681 printk("%s: raer = 0x%04x\n",dev->name,inw(SEEQ_REA)); in seeq8005_init()
682 printk("%s: dmaar= 0x%04x\n",dev->name,inw(SEEQ_DMAAR)); in seeq8005_init()
691 int status = inw(SEEQ_STATUS); in hardware_send_packet()
718 while ( (((status=inw(SEEQ_STATUS)) & SEEQSTAT_FIFO_EMPTY) == 0) && time_before(jiffies, tmp + HZ)) in hardware_send_packet()