tag | line | file | source code |
stat | 565 | drivers/char/tpqic02.c | { int stat = inb_p(QIC_STAT_PORT); |
stat | 566 | drivers/char/tpqic02.c | status_dead = ((stat & QIC_STAT_RESETMASK) != QIC_STAT_RESETVAL); } |
stat | 640 | drivers/char/tpqic02.c | int stat; |
stat | 650 | drivers/char/tpqic02.c | while (((stat = inb_p(QIC_STAT_PORT) & QIC_STAT_MASK) == QIC_STAT_MASK) && (--spin_t>0)) |
stat | 652 | drivers/char/tpqic02.c | if ((stat & QIC_STAT_READY) == 0) |
stat | 662 | drivers/char/tpqic02.c | while (((stat = inb_p(QIC_STAT_PORT) & QIC_STAT_MASK) == QIC_STAT_MASK) && (jiffies<spin_t)) |
stat | 664 | drivers/char/tpqic02.c | if ((stat & QIC_STAT_READY) == 0) |
stat | 677 | drivers/char/tpqic02.c | while (((stat = inb_p(QIC_STAT_PORT) & QIC_STAT_MASK) == QIC_STAT_MASK) && (jiffies<spin_t)) { |
stat | 685 | drivers/char/tpqic02.c | if ((stat & QIC_STAT_MASK) == QIC_STAT_MASK) { |
stat | 690 | drivers/char/tpqic02.c | if ((stat & QIC_STAT_EXCEPTION) == 0) { |
stat | 702 | drivers/char/tpqic02.c | int i, stat; |
stat | 706 | drivers/char/tpqic02.c | stat = wait_for_ready(TIM_S); |
stat | 707 | drivers/char/tpqic02.c | if (stat != TE_OK) |
stat | 708 | drivers/char/tpqic02.c | return stat; |
stat | 710 | drivers/char/tpqic02.c | stat = notify_cmd(sb[i], ignore_ex); |
stat | 711 | drivers/char/tpqic02.c | if (stat != TE_OK) |
stat | 712 | drivers/char/tpqic02.c | return stat; |
stat | 728 | drivers/char/tpqic02.c | int stat; |
stat | 730 | drivers/char/tpqic02.c | stat = inb_p(QIC_STAT_PORT); |
stat | 731 | drivers/char/tpqic02.c | if ((stat & QIC_STAT_EXCEPTION) == 0) { /* if exception */ |
stat | 735 | drivers/char/tpqic02.c | if (stat & QIC_STAT_READY) { /* if not ready */ |
stat | 747 | drivers/char/tpqic02.c | stat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */ |
stat | 751 | drivers/char/tpqic02.c | stat = send_qic02_data(seek_addr_buf, sizeof(seek_addr_buf), ignore_ex); |
stat | 753 | drivers/char/tpqic02.c | if (stat != TE_OK) { |
stat | 756 | drivers/char/tpqic02.c | return stat; |
stat | 845 | drivers/char/tpqic02.c | int stat = rdstatus(stp, TPSTATSIZE, QCMD_RD_STAT); |
stat | 852 | drivers/char/tpqic02.c | return stat; |
stat | 867 | drivers/char/tpqic02.c | int stat, i; |
stat | 870 | drivers/char/tpqic02.c | stat = rdstatus(vus, sizeof(vus), QCMD_RD_STAT_X3); |
stat | 871 | drivers/char/tpqic02.c | if (stat != TE_OK) |
stat | 872 | drivers/char/tpqic02.c | return stat; |
stat | 973 | drivers/char/tpqic02.c | int stat; |
stat | 975 | drivers/char/tpqic02.c | stat = inb(QIC_STAT_PORT) & QIC_STAT_MASK; |
stat | 976 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": Waiting for (re-)wind to finish: stat=0x%x\n", stat); |
stat | 978 | drivers/char/tpqic02.c | stat = wait_for_ready(timeout); |
stat | 980 | drivers/char/tpqic02.c | if (stat != TE_OK) { |
stat | 983 | drivers/char/tpqic02.c | return stat; |
stat | 996 | drivers/char/tpqic02.c | int stat; |
stat | 1003 | drivers/char/tpqic02.c | stat = wait_for_ready(timeout); /* wait for ready or exception */ |
stat | 1004 | drivers/char/tpqic02.c | if (stat == TE_EX) { |
stat | 1008 | drivers/char/tpqic02.c | stat = TE_OK; |
stat | 1010 | drivers/char/tpqic02.c | if (stat != TE_OK) { |
stat | 1021 | drivers/char/tpqic02.c | stat = send_qic02_cmd(cmd, timeout, 0); /* (checks for exceptions) */ |
stat | 1045 | drivers/char/tpqic02.c | if (stat==TE_EX) { |
stat | 1053 | drivers/char/tpqic02.c | else if (stat!=TE_OK) { |
stat | 1054 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": ll_do_qic_cmd: send_qic02_cmd failed, stat = 0x%x\n", stat); |
stat | 1060 | drivers/char/tpqic02.c | stat = wait_for_rewind(timeout); |
stat | 1062 | drivers/char/tpqic02.c | stat = wait_for_ready(timeout); |
stat | 1064 | drivers/char/tpqic02.c | if (stat==TE_EX) { |
stat | 1075 | drivers/char/tpqic02.c | else if (stat!=TE_OK) { |
stat | 1076 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat); |
stat | 1131 | drivers/char/tpqic02.c | int stat; |
stat | 1138 | drivers/char/tpqic02.c | stat = ll_do_qic_cmd(QCMD_WRT_FM, TIM_M); |
stat | 1139 | drivers/char/tpqic02.c | if (stat != TE_OK) |
stat | 1170 | drivers/char/tpqic02.c | int stat; |
stat | 1177 | drivers/char/tpqic02.c | stat = ll_do_qic_cmd(QCMD_REWIND, TIM_R); |
stat | 1178 | drivers/char/tpqic02.c | if (stat != 0) { |
stat | 1179 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": rewind failed in do_qic_cmd(). stat=0x%2x", stat); |
stat | 1180 | drivers/char/tpqic02.c | return stat; |
stat | 1197 | drivers/char/tpqic02.c | int stat; |
stat | 1221 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_RD_FM_BCK, TIM_F); |
stat | 1224 | drivers/char/tpqic02.c | stat = -ENXIO; |
stat | 1227 | drivers/char/tpqic02.c | return stat; |
stat | 1234 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_SPACE_FWD, TIM_F); |
stat | 1238 | drivers/char/tpqic02.c | stat = -ENXIO; |
stat | 1240 | drivers/char/tpqic02.c | return stat; |
stat | 1248 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_SPACE_BCK, TIM_F); |
stat | 1251 | drivers/char/tpqic02.c | stat = -ENXIO; |
stat | 1254 | drivers/char/tpqic02.c | return stat; |
stat | 1286 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_REWIND, TIM_R); |
stat | 1287 | drivers/char/tpqic02.c | return stat; |
stat | 1344 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_REWIND, TIM_R); |
stat | 1345 | drivers/char/tpqic02.c | if (stat) |
stat | 1346 | drivers/char/tpqic02.c | return stat; |
stat | 1349 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_SEEK_EOD, TIM_F); |
stat | 1353 | drivers/char/tpqic02.c | stat = 0; |
stat | 1354 | drivers/char/tpqic02.c | while ((stat==0) && (!status_eom_detected)) { |
stat | 1355 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_RD_FM, TIM_F); /***** should use MTFSFM here???? ******/ |
stat | 1360 | drivers/char/tpqic02.c | return stat; |
stat | 1386 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_SELF_TST1, TIM_R); |
stat | 1387 | drivers/char/tpqic02.c | if (stat != 0) { |
stat | 1389 | drivers/char/tpqic02.c | return stat; |
stat | 1400 | drivers/char/tpqic02.c | stat = do_qic_cmd(QCMD_SELF_TST2, TIM_R); |
stat | 1401 | drivers/char/tpqic02.c | if (stat != 0) { |
stat | 1403 | drivers/char/tpqic02.c | return stat; |
stat | 1485 | drivers/char/tpqic02.c | int stat; |
stat | 1516 | drivers/char/tpqic02.c | stat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL); |
stat | 1517 | drivers/char/tpqic02.c | if (stat != TE_OK) |
stat | 1518 | drivers/char/tpqic02.c | return stat; |
stat | 1531 | drivers/char/tpqic02.c | stat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0); |
stat | 1532 | drivers/char/tpqic02.c | if (stat!=TE_OK) { |
stat | 1536 | drivers/char/tpqic02.c | return stat; |
stat | 1594 | drivers/char/tpqic02.c | int stat = TE_OK; |
stat | 1609 | drivers/char/tpqic02.c | stat = wait_for_ready(TIM_M); |
stat | 1610 | drivers/char/tpqic02.c | if (status_error || (stat!=TE_OK)) { |
stat | 1612 | drivers/char/tpqic02.c | stat = tp_sense((dma_mode==READ)? TP_WRP : 0); |
stat | 1694 | drivers/char/tpqic02.c | int stat, r, i; |
stat | 1702 | drivers/char/tpqic02.c | stat = inb(QIC_STAT_PORT); /* Knock, knock */ |
stat | 1704 | drivers/char/tpqic02.c | if (((stat & (AR_STAT_DMADONE)) == 0) && |
stat | 1705 | drivers/char/tpqic02.c | ((stat & (QIC_STAT_EXCEPTION)) != 0)) { |
stat | 1710 | drivers/char/tpqic02.c | if ((stat & QIC_STAT_EXCEPTION) == 0) { /* exception occurred */ |
stat | 1718 | drivers/char/tpqic02.c | printk(" status %02x\n", stat); |
stat | 1736 | drivers/char/tpqic02.c | if (stat & QIC_STAT_READY) { /* not ready */ |
stat | 1816 | drivers/char/tpqic02.c | int stat; |
stat | 1901 | drivers/char/tpqic02.c | stat = start_dma(READ, bytes_todo); |
stat | 1902 | drivers/char/tpqic02.c | if (stat == TE_OK) { |
stat | 1909 | drivers/char/tpqic02.c | } else if (stat != TE_END) { |
stat | 1914 | drivers/char/tpqic02.c | printk("Trouble: stat==%02x\n", stat); |
stat | 309 | drivers/net/8390.c | ei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0); |
stat | 310 | drivers/net/8390.c | ei_local->stat.rx_crc_errors += inb_p(e8390_base + EN0_COUNTER1); |
stat | 311 | drivers/net/8390.c | ei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2); |
stat | 381 | drivers/net/8390.c | ei_local->stat.tx_packets++; |
stat | 383 | drivers/net/8390.c | ei_local->stat.tx_errors++; |
stat | 385 | drivers/net/8390.c | ei_local->stat.collisions++; |
stat | 387 | drivers/net/8390.c | ei_local->stat.tx_aborted_errors++; |
stat | 389 | drivers/net/8390.c | ei_local->stat.tx_carrier_errors++; |
stat | 391 | drivers/net/8390.c | ei_local->stat.tx_fifo_errors++; |
stat | 393 | drivers/net/8390.c | ei_local->stat.tx_heartbeat_errors++; |
stat | 395 | drivers/net/8390.c | ei_local->stat.tx_window_errors++; |
stat | 457 | drivers/net/8390.c | if (ei_local->stat.rx_packets != last_rx_bogosity) { |
stat | 463 | drivers/net/8390.c | last_rx_bogosity = ei_local->stat.rx_packets; |
stat | 469 | drivers/net/8390.c | dev->name, ei_local->stat.rx_packets); |
stat | 491 | drivers/net/8390.c | ei_local->stat.rx_dropped++; |
stat | 512 | drivers/net/8390.c | ei_local->stat.rx_packets++; |
stat | 520 | drivers/net/8390.c | ei_local->stat.rx_fifo_errors++; |
stat | 555 | drivers/net/8390.c | ei_local->stat.rx_over_errors++; |
stat | 586 | drivers/net/8390.c | ei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0); |
stat | 587 | drivers/net/8390.c | ei_local->stat.rx_crc_errors += inb_p(ioaddr + EN0_COUNTER1); |
stat | 588 | drivers/net/8390.c | ei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2); |
stat | 590 | drivers/net/8390.c | return &ei_local->stat; |
stat | 61 | drivers/net/8390.h | struct enet_statistics stat; |
stat | 243 | drivers/sound/gus_midi.c | unsigned char stat, data; |
stat | 248 | drivers/sound/gus_midi.c | stat = GUS_MIDI_STATUS (); |
stat | 250 | drivers/sound/gus_midi.c | if (stat & MIDI_RCV_FULL) |
stat | 257 | drivers/sound/gus_midi.c | if (stat & MIDI_XMIT_EMPTY) |
stat | 273 | drivers/sound/gus_midi.c | if (stat & MIDI_FRAME_ERR) |
stat | 275 | drivers/sound/gus_midi.c | if (stat & MIDI_OVERRUN && input_opened) |
stat | 238 | drivers/sound/pas2_midi.c | unsigned char stat; |
stat | 242 | drivers/sound/pas2_midi.c | stat = pas_read (MIDI_STATUS); |
stat | 244 | drivers/sound/pas2_midi.c | if (stat & M_S_INPUT_AVAIL) /* Input byte available */ |
stat | 259 | drivers/sound/pas2_midi.c | if (stat & (M_S_OUTPUT_EMPTY | M_S_OUTPUT_HALF_EMPTY)) |
stat | 261 | drivers/sound/pas2_midi.c | if (!(stat & M_S_OUTPUT_EMPTY)) |
stat | 281 | drivers/sound/pas2_midi.c | if (stat & M_S_FRAMING_ERROR) |
stat | 284 | drivers/sound/pas2_midi.c | if (stat & M_S_OUTPUT_OVERRUN) |
stat | 286 | drivers/sound/pas2_midi.c | printk ("MIDI output overrun %02x,%02x,%d \n", pas_read (MIDI_FIFO_STATUS), stat, ofifo_bytes); |
stat | 290 | drivers/sound/pas2_midi.c | pas_write (stat, MIDI_STATUS);/* Acknowledge interrupts */ |
stat | 43 | fs/nfs/proc.c | static int nfs_stat_to_errno(int stat); |
stat | 679 | fs/nfs/proc.c | int stat; |
stat | 706 | fs/nfs/proc.c | static int nfs_stat_to_errno(int stat) |
stat | 710 | fs/nfs/proc.c | for (i = 0; nfs_errtbl[i].stat != -1; i++) { |
stat | 711 | fs/nfs/proc.c | if (nfs_errtbl[i].stat == stat) |
stat | 714 | fs/nfs/proc.c | printk("nfs_stat_to_errno: bad nfs status return value: %d\n", stat); |
stat | 92 | tools/build.c | struct stat sb; |
stat | 98 | tools/build.c | if (stat("/", &sb)) { |
stat | 105 | tools/build.c | if (stat(argv[4], &sb)) { |
stat | 41 | zBoot/xtract.c | struct stat sb; |