tag | line | file | source code |
st | 168 | arch/i386/math-emu/errors.c | FPU_REG *r = &st(i); |
st | 614 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &st(0)); |
st | 630 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &st(0)); |
st | 646 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &(st(i))); |
st | 662 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &(st(i))); |
st | 23 | arch/i386/math-emu/fpu_arith.c | reg_add(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 31 | arch/i386/math-emu/fpu_arith.c | reg_mul(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 40 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 48 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(FPU_rm), &st(0), &st(0), control_word); |
st | 56 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 64 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(FPU_rm), &st(0), &st(0), control_word); |
st | 73 | arch/i386/math-emu/fpu_arith.c | reg_add(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 81 | arch/i386/math-emu/fpu_arith.c | reg_mul(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 91 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 101 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(FPU_rm), &st(0), &st(FPU_rm), control_word); |
st | 109 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 117 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(FPU_rm), &st(0), &st(FPU_rm), control_word); |
st | 126 | arch/i386/math-emu/fpu_arith.c | if ( !reg_add(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 135 | arch/i386/math-emu/fpu_arith.c | if ( !reg_mul(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 147 | arch/i386/math-emu/fpu_arith.c | if ( !reg_sub(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 158 | arch/i386/math-emu/fpu_arith.c | if ( !reg_sub(&st(FPU_rm), &st(0), &st(FPU_rm), control_word) ) |
st | 167 | arch/i386/math-emu/fpu_arith.c | if ( !reg_div(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 176 | arch/i386/math-emu/fpu_arith.c | if ( !reg_div(&st(FPU_rm), &st(0), &st(FPU_rm), control_word) ) |
st | 108 | arch/i386/math-emu/fpu_aux.c | { reg_move(&st(FPU_rm), st_new_ptr); push(); } |
st | 127 | arch/i386/math-emu/fpu_aux.c | register FPU_REG *sti_ptr = &st(FPU_rm), *st0_ptr = &st(0); |
st | 159 | arch/i386/math-emu/fpu_aux.c | st(FPU_rm).tag = TW_Empty; |
st | 166 | arch/i386/math-emu/fpu_aux.c | st(FPU_rm).tag = TW_Empty; |
st | 174 | arch/i386/math-emu/fpu_aux.c | reg_move(&st(0), &st(FPU_rm)); |
st | 181 | arch/i386/math-emu/fpu_aux.c | reg_move(&st(0), &st(FPU_rm)); |
st | 122 | arch/i386/math-emu/fpu_emu.h | #define STACK_OVERFLOW (st_new_ptr = &st(-1), st_new_ptr->tag != TW_Empty) |
st | 123 | arch/i386/math-emu/fpu_emu.h | #define NOT_EMPTY(i) (st(i).tag != TW_Empty) |
st | 342 | arch/i386/math-emu/fpu_entry.c | st0_ptr = &st(0); |
st | 519 | arch/i386/math-emu/fpu_entry.c | st0_ptr = &st(0); |
st | 128 | arch/i386/math-emu/fpu_etc.c | (fp_etc_table[FPU_rm])(&st(0)); |
st | 210 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 212 | arch/i386/math-emu/fpu_trig.c | reg_move(&st(1), st_new_ptr); |
st | 218 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 220 | arch/i386/math-emu/fpu_trig.c | reg_move(&st(1), st_new_ptr); |
st | 292 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 349 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 692 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 765 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 984 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1), exponent; |
st | 1103 | arch/i386/math-emu/fpu_trig.c | pop(); st0_ptr = &st(0); |
st | 1128 | arch/i386/math-emu/fpu_trig.c | pop(); st0_ptr = &st(0); |
st | 1194 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 1334 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 1547 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 1706 | arch/i386/math-emu/fpu_trig.c | (trig_table_a[FPU_rm])(&st(0)); |
st | 1717 | arch/i386/math-emu/fpu_trig.c | (trig_table_b[FPU_rm])(&st(0)); |
st | 94 | arch/i386/math-emu/load_store.c | st0_ptr = &st(0); /* Some of these instructions pop after |
st | 99 | arch/i386/math-emu/load_store.c | st0_ptr = &st(-1); |
st | 30 | arch/i386/math-emu/reg_compare.c | st0_ptr = &st(0); |
st | 230 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
st | 280 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
st | 559 | drivers/block/aztcd.c | { int st; |
st | 566 | drivers/block/aztcd.c | { st = inb(DATA_PORT) & 0xFF; |
st | 567 | drivers/block/aztcd.c | return st; |
st | 577 | drivers/block/aztcd.c | { int st; |
st | 581 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
st | 583 | drivers/block/aztcd.c | printk("aztcd: Status = %x\n",st); |
st | 585 | drivers/block/aztcd.c | if ((st == 0xFF)||(st&AST_CMD_CHECK)) |
st | 590 | drivers/block/aztcd.c | if (((st&AST_MODE_BITS)!=AST_BUSY) && (aztAudioStatus == CDROM_AUDIO_PLAY)) |
st | 594 | drivers/block/aztcd.c | if ((st & AST_DSK_CHG)||(st & AST_NOT_READY)) |
st | 599 | drivers/block/aztcd.c | return st; |
st | 618 | drivers/block/aztcd.c | { int i, st; |
st | 682 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void*) arg, sizeof(struct cdrom_multisession)); |
st | 683 | drivers/block/aztcd.c | if (st) return st; |
st | 695 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void*) arg, sizeof(struct cdrom_multisession)); |
st | 696 | drivers/block/aztcd.c | if (st) return st; |
st | 712 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
st | 713 | drivers/block/aztcd.c | if (st) return st; |
st | 743 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 744 | drivers/block/aztcd.c | if (st) return st; |
st | 773 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
st | 774 | drivers/block/aztcd.c | if (st) return st; |
st | 780 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
st | 781 | drivers/block/aztcd.c | if (st) return st; |
st | 782 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
st | 783 | drivers/block/aztcd.c | if (st) return st; |
st | 809 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 810 | drivers/block/aztcd.c | if (st) { |
st | 814 | drivers/block/aztcd.c | return st; |
st | 816 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 817 | drivers/block/aztcd.c | if (st) { |
st | 821 | drivers/block/aztcd.c | return st; |
st | 825 | drivers/block/aztcd.c | if (st) { |
st | 855 | drivers/block/aztcd.c | st=verify_area(VERIFY_READ,(void *) arg, sizeof(volctrl)); |
st | 856 | drivers/block/aztcd.c | if (st) return (st); |
st | 895 | drivers/block/aztcd.c | { st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 896 | drivers/block/aztcd.c | if (st) return st; |
st | 897 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof buf); |
st | 898 | drivers/block/aztcd.c | if (st) return st; |
st | 933 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 934 | drivers/block/aztcd.c | if (st) return st; |
st | 1046 | drivers/block/aztcd.c | int st = 0; |
st | 1109 | drivers/block/aztcd.c | if ((st = aztStatus()) != -1) { |
st | 1110 | drivers/block/aztcd.c | if ((st & AST_DSK_CHG)||(st & AST_NOT_READY)) { |
st | 1121 | drivers/block/aztcd.c | if ((st & AST_DOOR_OPEN)||(st & AST_NOT_READY)) { |
st | 1126 | drivers/block/aztcd.c | printk((st & AST_DOOR_OPEN) ? "aztcd: door open\n" : "aztcd: disk removed\n"); |
st | 1159 | drivers/block/aztcd.c | if ((st = aztStatus()) != -1) { |
st | 1160 | drivers/block/aztcd.c | if ((st & AST_DSK_CHG)||(st & AST_NOT_READY)) { |
st | 1171 | drivers/block/aztcd.c | if ((st & AST_DOOR_OPEN)||(st & AST_NOT_READY)) { |
st | 1174 | drivers/block/aztcd.c | printk((st & AST_DOOR_OPEN) ? "aztcd: door open\n" : "aztcd: disk removed\n"); |
st | 1226 | drivers/block/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
st | 1228 | drivers/block/aztcd.c | switch (st) { |
st | 1232 | drivers/block/aztcd.c | if (st!=azt_st_old) { |
st | 1233 | drivers/block/aztcd.c | azt_st_old=st; |
st | 1234 | drivers/block/aztcd.c | printk("---AFL_DATA st:%x\n",st); |
st | 1254 | drivers/block/aztcd.c | if (st!=azt_st_old) { |
st | 1255 | drivers/block/aztcd.c | azt_st_old=st; |
st | 1256 | drivers/block/aztcd.c | printk("---AFL_STATUSorDATA st:%x\n",st); |
st | 1263 | drivers/block/aztcd.c | if (st!=azt_st_old) { |
st | 1264 | drivers/block/aztcd.c | azt_st_old=st; |
st | 1265 | drivers/block/aztcd.c | printk("---default: st:%x\n",st); |
st | 1373 | drivers/block/aztcd.c | if ((st = aztStatus()) == -1 && AztTimeout) |
st | 1376 | drivers/block/aztcd.c | if ((st != -1) && ((st & AST_DSK_CHG)||(st & AST_NOT_READY))) { |
st | 1391 | drivers/block/aztcd.c | if (st != -1) { |
st | 1445 | drivers/block/aztcd.c | { int st; |
st | 1456 | drivers/block/aztcd.c | st = getAztStatus(); /* check drive status */ |
st | 1457 | drivers/block/aztcd.c | if (st == -1) return -EIO; /* drive doesn't respond */ |
st | 1459 | drivers/block/aztcd.c | if (st & AST_DOOR_OPEN) |
st | 1463 | drivers/block/aztcd.c | st = getAztStatus(); |
st | 1466 | drivers/block/aztcd.c | if ((st & AST_NOT_READY) || (st & AST_DSK_CHG)) /*no disk in drive or changed*/ |
st | 1534 | drivers/block/aztcd.c | int st; |
st | 1624 | drivers/block/aztcd.c | if ((st=getAztStatus())==-1) |
st | 1625 | drivers/block/aztcd.c | { printk("aztcd: Drive Status Error Status=%x\n",st); |
st | 1633 | drivers/block/aztcd.c | printk("aztcd: Status = %x\n",st); |
st | 1766 | drivers/block/aztcd.c | int st; |
st | 1771 | drivers/block/aztcd.c | if ((st=getAztStatus())==-1) RETURNM("aztGetQChannelInfo 1",-1); |
st | 1775 | drivers/block/aztcd.c | if ((st&AST_MODE_BITS)==AST_INITIAL) |
st | 1809 | drivers/block/aztcd.c | { int st; |
st | 1842 | drivers/block/aztcd.c | for (st=0;st<CD_FRAMESIZE;st++) inb(DATA_PORT); |
st | 907 | drivers/block/cm206.c | int st; |
st | 910 | drivers/block/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, |
st | 912 | drivers/block/cm206.c | if (st) return (st); |
st | 938 | drivers/block/cm206.c | int st; |
st | 940 | drivers/block/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(header)); |
st | 941 | drivers/block/cm206.c | if (st) return (st); |
st | 950 | drivers/block/cm206.c | int st; |
st | 952 | drivers/block/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(entry)); |
st | 953 | drivers/block/cm206.c | if (st) return (st); |
st | 961 | drivers/block/cm206.c | int st; |
st | 963 | drivers/block/cm206.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(msf)); |
st | 964 | drivers/block/cm206.c | if (st) return (st); |
st | 971 | drivers/block/cm206.c | int st; |
st | 973 | drivers/block/cm206.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(track_index)); |
st | 974 | drivers/block/cm206.c | if (st) return (st); |
st | 1008 | drivers/block/cm206.c | int st; |
st | 1010 | drivers/block/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(q)); |
st | 1011 | drivers/block/cm206.c | if (st) return (st); |
st | 1021 | drivers/block/cm206.c | int st; |
st | 1023 | drivers/block/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, 8); |
st | 1024 | drivers/block/cm206.c | if (st) return (st); |
st | 372 | drivers/block/gscd.c | int st; |
st | 382 | drivers/block/gscd.c | st = disk_state & (ST_NO_DISK | ST_DOOR_OPEN); |
st | 383 | drivers/block/gscd.c | if ( st ) |
st | 246 | drivers/block/mcd.c | int st, retry; |
st | 252 | drivers/block/mcd.c | st = getMcdStatus(MCD_STATUS_DELAY); |
st | 253 | drivers/block/mcd.c | if (st != -1) |
st | 257 | drivers/block/mcd.c | return st; |
st | 268 | drivers/block/mcd.c | int retry, st; |
st | 273 | drivers/block/mcd.c | st = getMcdStatus(2 * MCD_STATUS_DELAY); |
st | 274 | drivers/block/mcd.c | if (st != -1) |
st | 278 | drivers/block/mcd.c | return st; |
st | 296 | drivers/block/mcd.c | int i, st; |
st | 309 | drivers/block/mcd.c | st = statusCmd(); |
st | 310 | drivers/block/mcd.c | if (st < 0) |
st | 377 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
st | 378 | drivers/block/mcd.c | if (st) |
st | 379 | drivers/block/mcd.c | return st; |
st | 420 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 421 | drivers/block/mcd.c | if (st) |
st | 422 | drivers/block/mcd.c | return st; |
st | 459 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
st | 460 | drivers/block/mcd.c | if (st) |
st | 461 | drivers/block/mcd.c | return st; |
st | 470 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
st | 471 | drivers/block/mcd.c | if (st) |
st | 472 | drivers/block/mcd.c | return st; |
st | 507 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
st | 508 | drivers/block/mcd.c | if (st) |
st | 509 | drivers/block/mcd.c | return st; |
st | 546 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(volctrl)); |
st | 547 | drivers/block/mcd.c | if (st) |
st | 548 | drivers/block/mcd.c | return st; |
st | 642 | drivers/block/mcd.c | int st; |
st | 644 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
st | 646 | drivers/block/mcd.c | printk("<int1-%02X>", st); |
st | 648 | drivers/block/mcd.c | if (!(st & MFL_STATUS)) |
st | 650 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
st | 652 | drivers/block/mcd.c | printk("<int0-%02X>", st); |
st | 654 | drivers/block/mcd.c | if ((st & 0xFF) != 0xFF) |
st | 655 | drivers/block/mcd.c | mcd_error = st ? st & 0xFF : -1; |
st | 703 | drivers/block/mcd.c | int st; |
st | 804 | drivers/block/mcd.c | if ((st = mcdStatus()) != -1) { |
st | 806 | drivers/block/mcd.c | if (st & MST_DSK_CHG) { |
st | 814 | drivers/block/mcd.c | if ((st & MST_DOOR_OPEN) || !(st & MST_READY)) { |
st | 821 | drivers/block/mcd.c | printk((st & MST_DOOR_OPEN) ? "mcd: door open\n" : "mcd: disk removed\n"); |
st | 844 | drivers/block/mcd.c | if ((st = mcdStatus()) != -1) { |
st | 846 | drivers/block/mcd.c | if (st & MST_DSK_CHG) { |
st | 854 | drivers/block/mcd.c | if ((st & MST_DOOR_OPEN) || !(st & MST_READY)) { |
st | 861 | drivers/block/mcd.c | printk((st & MST_DOOR_OPEN) ? "mcd: door open\n" : "mcd: disk removed\n"); |
st | 892 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
st | 895 | drivers/block/mcd.c | printk("Status %02x\n",st); |
st | 897 | drivers/block/mcd.c | switch (st) { |
st | 957 | drivers/block/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
st | 1024 | drivers/block/mcd.c | if ((st = mcdStatus()) == -1 && McdTimeout) |
st | 1027 | drivers/block/mcd.c | if ((st != -1) && (st & MST_DSK_CHG)) { |
st | 1045 | drivers/block/mcd.c | st = -1; |
st | 1056 | drivers/block/mcd.c | if (st != -1) { |
st | 1104 | drivers/block/mcd.c | int st; |
st | 1116 | drivers/block/mcd.c | st = statusCmd(); /* check drive status */ |
st | 1117 | drivers/block/mcd.c | if (st == -1) |
st | 1120 | drivers/block/mcd.c | if ((st & MST_READY) == 0) /* no disk in drive */ |
st | 1348 | drivers/block/mcd.c | int st; |
st | 1350 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
st | 1351 | drivers/block/mcd.c | if (!st) |
st | 1412 | drivers/block/mcd.c | int st; |
st | 1420 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
st | 1421 | drivers/block/mcd.c | if (st == 0xFF) |
st | 1424 | drivers/block/mcd.c | if ((st & MST_BUSY) == 0 && audioStatus == CDROM_AUDIO_PLAY) |
st | 1428 | drivers/block/mcd.c | if (st & MST_DSK_CHG) |
st | 1435 | drivers/block/mcd.c | return st; |
st | 862 | drivers/block/mcdx.c | int st; |
st | 889 | drivers/block/mcdx.c | for (st = -1; st == -1 && tries; tries--) { |
st | 903 | drivers/block/mcdx.c | st = *bp++; |
st | 906 | drivers/block/mcdx.c | TRACE((TALK, "talk() got status 0x%02x\n", st)); |
st | 909 | drivers/block/mcdx.c | if (e_cmderr(st)) { |
st | 911 | drivers/block/mcdx.c | st = -1; |
st | 918 | drivers/block/mcdx.c | e_audiobusy(st) ? CDROM_AUDIO_PLAY : CDROM_AUDIO_NO_STATUS; |
st | 921 | drivers/block/mcdx.c | if (e_changed(st)) { |
st | 931 | drivers/block/mcdx.c | st = -1; break; |
st | 938 | drivers/block/mcdx.c | if (!tries && st == -1) INFO(("talk() giving up\n")); |
st | 944 | drivers/block/mcdx.c | TRACE((TALK, "talk() done with 0x%02x\n", st)); |
st | 945 | drivers/block/mcdx.c | return st; |
st | 465 | drivers/block/optcd.c | int st; |
st | 466 | drivers/block/optcd.c | if ((st = optCmd(COMIOCTLISTAT)) < 0) |
st | 467 | drivers/block/optcd.c | return st; |
st | 468 | drivers/block/optcd.c | if (st == 0xff) |
st | 470 | drivers/block/optcd.c | if (((st & ST_MODE_BITS) != ST_M_AUDIO) && |
st | 474 | drivers/block/optcd.c | if (st & ST_DSK_CHG) { |
st | 479 | drivers/block/optcd.c | return st; |
st | 487 | drivers/block/optcd.c | int st; |
st | 491 | drivers/block/optcd.c | if ((st = optGetStatus()) < 0) |
st | 492 | drivers/block/optcd.c | return st; |
st | 493 | drivers/block/optcd.c | if ((st = optCmd(COMSUBQ)) < 0) |
st | 494 | drivers/block/optcd.c | return st; |
st | 495 | drivers/block/optcd.c | if ((qp -> ctrl_addr = st = optGetData()), st < 0) return st; |
st | 496 | drivers/block/optcd.c | if ((qp -> track = st = optGetData()), st < 0) return st; |
st | 497 | drivers/block/optcd.c | if ((qp -> pointIndex = st = optGetData()), st < 0) return st; |
st | 498 | drivers/block/optcd.c | if ((qp -> trackTime.min = st = optGetData()), st < 0) return st; |
st | 499 | drivers/block/optcd.c | if ((qp -> trackTime.sec = st = optGetData()), st < 0) return st; |
st | 500 | drivers/block/optcd.c | if ((qp -> trackTime.frame = st = optGetData()), st < 0) return st; |
st | 501 | drivers/block/optcd.c | if ((st = optGetData()) < 0) return st; /* byte not used */ |
st | 502 | drivers/block/optcd.c | if ((qp -> diskTime.min = st = optGetData()), st < 0) return st; |
st | 503 | drivers/block/optcd.c | if ((qp -> diskTime.sec = st = optGetData()), st < 0) return st; |
st | 504 | drivers/block/optcd.c | if ((qp -> diskTime.frame = st = optGetData()), st < 0) return st; |
st | 516 | drivers/block/optcd.c | int st, limit; |
st | 523 | drivers/block/optcd.c | if ((st = optCmd(COMLEADIN)) < 0) |
st | 524 | drivers/block/optcd.c | return st; |
st | 526 | drivers/block/optcd.c | if ((st = optGetQChannelInfo(&qInfo)) < 0) |
st | 527 | drivers/block/optcd.c | return st; |
st | 581 | drivers/block/optcd.c | int st, count, px, limit; |
st | 589 | drivers/block/optcd.c | if ((st = optCmd(COMLEADIN)) < 0) |
st | 590 | drivers/block/optcd.c | return st; |
st | 591 | drivers/block/optcd.c | st = 0; |
st | 594 | drivers/block/optcd.c | if ((st = optGetQChannelInfo(&qInfo)) < 0) |
st | 740 | drivers/block/optcd.c | int st = 0; |
st | 795 | drivers/block/optcd.c | if ((st = optStatus()) < 0) |
st | 797 | drivers/block/optcd.c | if (st & ST_DSK_CHG) { |
st | 804 | drivers/block/optcd.c | if ((st & ST_DOOR_OPEN) || (st & ST_DRVERR)) { |
st | 807 | drivers/block/optcd.c | printk((st & ST_DOOR_OPEN) |
st | 851 | drivers/block/optcd.c | st = optFlags() & (FL_STEN|FL_DTEN); |
st | 853 | drivers/block/optcd.c | if (st != opt_st_old) { |
st | 854 | drivers/block/optcd.c | opt_st_old = st; |
st | 855 | drivers/block/optcd.c | printk("optcd: st:%x\n", st); |
st | 857 | drivers/block/optcd.c | if (st == FL_STEN) |
st | 860 | drivers/block/optcd.c | switch (st) { |
st | 964 | drivers/block/optcd.c | if ((st = optStatus()) < 0 && optTimeout) |
st | 966 | drivers/block/optcd.c | if ((st != -1) && (st & ST_DSK_CHG)) { |
st | 972 | drivers/block/optcd.c | if (st != -1) { |
st | 1086 | drivers/block/optcd.c | int st; |
st | 1089 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof msf))) |
st | 1090 | drivers/block/optcd.c | return st; |
st | 1106 | drivers/block/optcd.c | int st; |
st | 1109 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof ti))) |
st | 1110 | drivers/block/optcd.c | return st; |
st | 1137 | drivers/block/optcd.c | int st; |
st | 1140 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_WRITE,(void *)arg,sizeof tocHdr))) |
st | 1141 | drivers/block/optcd.c | return st; |
st | 1150 | drivers/block/optcd.c | int st; |
st | 1154 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof entry))) |
st | 1155 | drivers/block/optcd.c | return st; |
st | 1156 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry))) |
st | 1157 | drivers/block/optcd.c | return st; |
st | 1200 | drivers/block/optcd.c | int st; |
st | 1203 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, |
st | 1205 | drivers/block/optcd.c | return st; |
st | 1218 | drivers/block/optcd.c | int st; |
st | 1222 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, |
st | 1224 | drivers/block/optcd.c | return st; |
st | 1225 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_WRITE, |
st | 1227 | drivers/block/optcd.c | return st; |
st | 1262 | drivers/block/optcd.c | int st; |
st | 1266 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof msf))) |
st | 1267 | drivers/block/optcd.c | return st; |
st | 1268 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_WRITE,(void *)arg,OPT_BLOCKSIZE))) |
st | 1269 | drivers/block/optcd.c | return st; |
st | 1277 | drivers/block/optcd.c | st = optReadCmd(COMREAD, &opt_Play); |
st | 1279 | drivers/block/optcd.c | printk("optcd: COMREAD status 0x%x\n", st); |
st | 1309 | drivers/block/optcd.c | int st; |
st | 1311 | drivers/block/optcd.c | if ((st = optGetStatus()) < 0) |
st | 1313 | drivers/block/optcd.c | if (st & ST_DOOR_OPEN) { |
st | 1315 | drivers/block/optcd.c | if ((st = optGetStatus()) < 0) /* try again */ |
st | 1318 | drivers/block/optcd.c | if (st & (ST_DOOR_OPEN|ST_DRVERR)) { |
st | 994 | drivers/block/sbpcd.c | int i,j,st=0; |
st | 1006 | drivers/block/sbpcd.c | st=inb(CDi_status); |
st | 1007 | drivers/block/sbpcd.c | if (!(st&s_not_result_ready)) break; |
st | 1024 | drivers/block/sbpcd.c | st=inb(CDi_status); |
st | 1025 | drivers/block/sbpcd.c | if (!(st&s_not_result_ready)) break; |
st | 1052 | drivers/block/sbpcd.c | static void EvaluateStatus(int st) |
st | 1055 | drivers/block/sbpcd.c | if (fam1_drive) D_S[d].status_bits=st|p_success; |
st | 1058 | drivers/block/sbpcd.c | if (st&p_caddin_old) D_S[d].status_bits |= p_door_closed|p_caddy_in; |
st | 1059 | drivers/block/sbpcd.c | if (st&p_spinning) D_S[d].status_bits |= p_spinning; |
st | 1060 | drivers/block/sbpcd.c | if (st&p_check) D_S[d].status_bits |= p_check; |
st | 1061 | drivers/block/sbpcd.c | if (st&p_success_old) D_S[d].status_bits |= p_success; |
st | 1062 | drivers/block/sbpcd.c | if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; |
st | 1063 | drivers/block/sbpcd.c | if (st&p_disk_ok) D_S[d].status_bits |= p_disk_ok; |
st | 1068 | drivers/block/sbpcd.c | if (st&p_caddin_old) D_S[d].status_bits |= p_disk_ok|p_caddy_in; |
st | 1069 | drivers/block/sbpcd.c | if (st&p_spinning) D_S[d].status_bits |= p_spinning; |
st | 1070 | drivers/block/sbpcd.c | if (st&p_check) D_S[d].status_bits |= p_check; |
st | 1071 | drivers/block/sbpcd.c | if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; |
st | 1072 | drivers/block/sbpcd.c | if (st&p_lcs_door_closed) D_S[d].status_bits |= p_door_closed; |
st | 1073 | drivers/block/sbpcd.c | if (st&p_lcs_door_locked) D_S[d].status_bits |= p_door_locked; |
st | 1078 | drivers/block/sbpcd.c | if (st&p2_check) D_S[d].status_bits |= p1_check; |
st | 1079 | drivers/block/sbpcd.c | if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; |
st | 1080 | drivers/block/sbpcd.c | if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; |
st | 1081 | drivers/block/sbpcd.c | if (st&p2_busy1) D_S[d].status_bits |= p1_busy; |
st | 1082 | drivers/block/sbpcd.c | if (st&p2_busy2) D_S[d].status_bits |= p1_busy; |
st | 1083 | drivers/block/sbpcd.c | if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; |
st | 1084 | drivers/block/sbpcd.c | if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; |
st | 1085 | drivers/block/sbpcd.c | if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; |
st | 1091 | drivers/block/sbpcd.c | if (st&p2_check) D_S[d].status_bits |= p1_check; |
st | 1092 | drivers/block/sbpcd.c | if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; |
st | 1093 | drivers/block/sbpcd.c | if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; |
st | 1094 | drivers/block/sbpcd.c | if (st&p2_busy1) D_S[d].status_bits |= p1_busy; |
st | 1095 | drivers/block/sbpcd.c | if (st&p2_busy2) D_S[d].status_bits |= p1_busy; |
st | 1096 | drivers/block/sbpcd.c | if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; |
st | 1097 | drivers/block/sbpcd.c | if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; |
st | 1098 | drivers/block/sbpcd.c | if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; |
st | 3748 | drivers/block/sbpcd.c | int st; |
st | 3750 | drivers/block/sbpcd.c | st=ResponseStatus(); |
st | 3751 | drivers/block/sbpcd.c | if (st<0) |
st | 3796 | drivers/block/sbpcd.c | int i, st; |
st | 3810 | drivers/block/sbpcd.c | st=GetStatus(); |
st | 3811 | drivers/block/sbpcd.c | if (st<0) return (-EIO); |
st | 3879 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_msf)); |
st | 3880 | drivers/block/sbpcd.c | if (st) return (st); |
st | 3907 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(struct cdrom_ti)); |
st | 3908 | drivers/block/sbpcd.c | if (st<0) |
st | 3911 | drivers/block/sbpcd.c | return (st); |
st | 3933 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_tochdr)); |
st | 3934 | drivers/block/sbpcd.c | if (st) return (st); |
st | 3940 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_tocentry)); |
st | 3941 | drivers/block/sbpcd.c | if (st) return (st); |
st | 3958 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_tocentry)); |
st | 3959 | drivers/block/sbpcd.c | if (st) return (st); |
st | 4004 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(volctrl)); |
st | 4005 | drivers/block/sbpcd.c | if (st) return (st); |
st | 4016 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *)arg,sizeof(volctrl)); |
st | 4017 | drivers/block/sbpcd.c | if (st) return (st); |
st | 4018 | drivers/block/sbpcd.c | st=cc_GetVolume(); |
st | 4019 | drivers/block/sbpcd.c | if (st<0) return (st); |
st | 4032 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 4033 | drivers/block/sbpcd.c | if (st) return (st); |
st | 4034 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 4035 | drivers/block/sbpcd.c | if (st) return (st); |
st | 4311 | drivers/block/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_multisession)); |
st | 4312 | drivers/block/sbpcd.c | if (st) return (st); |
st | 4321 | drivers/block/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_multisession)); |
st | 4322 | drivers/block/sbpcd.c | if (st) return (st); |
st | 5336 | drivers/block/sbpcd.c | int i, st; |
st | 5351 | drivers/block/sbpcd.c | st=ResponseStatus(); |
st | 5353 | drivers/block/sbpcd.c | if (st<0) |
st | 403 | drivers/net/pi2.c | char st; |
st | 409 | drivers/net/pi2.c | st = rdscc(lp->cardbase, lp->base + CTL, R0); /* Fetch status */ |
st | 415 | drivers/net/pi2.c | if ((lp->rstate >= ACTIVE) && (st & BRK_ABRT)) { |
st | 778 | drivers/net/pi2.c | char st; |
st | 785 | drivers/net/pi2.c | st = rdscc(lp->cardbase, cmd, R0); /* Fetch status */ |
st | 928 | drivers/net/pi2.c | if ((lp->rstate == ACTIVE) && (st & BRK_ABRT)) { |
st | 1521 | drivers/net/pi2.c | int st; |
st | 1536 | drivers/net/pi2.c | while ((st = rdscc(lp->cardbase, pi0a.base_addr | CHANA | CTL, R3)) != 0) { |
st | 1537 | drivers/net/pi2.c | if (st & CHBTxIP) { |
st | 1541 | drivers/net/pi2.c | } else if (st & CHARxIP) { |
st | 1545 | drivers/net/pi2.c | } else if (st & CHATxIP) { |
st | 1549 | drivers/net/pi2.c | } else if (st & CHAEXT) { |
st | 1553 | drivers/net/pi2.c | } else if (st & CHBRxIP) { |
st | 1557 | drivers/net/pi2.c | } else if (st & CHBEXT) { |
st | 125 | drivers/scsi/aha1740.h | st:1, /* Suppress Transfer */ |
st | 79 | drivers/scsi/eata_dma_proc.c | scsitrans *st; |
st | 108 | drivers/scsi/eata_dma_proc.c | st = (scsitrans *)(buff + 0x164); |
st | 752 | mm/mmap.c | unsigned long st, end; |
st | 759 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
st | 764 | mm/mmap.c | mpnt->vm_ops->unmap(mpnt, st, end-st); |
st | 766 | mm/mmap.c | unmap_fixup(mpnt, st, end-st); |
st | 1074 | net/ipx/af_ipx.c | struct sockaddr_ipx *sg,*st; |
st | 1083 | net/ipx/af_ipx.c | st=(struct sockaddr_ipx *)&rt.rt_dst; |
st | 1089 | net/ipx/af_ipx.c | if(st->sipx_family!=AF_IPX) |
st | 1095 | net/ipx/af_ipx.c | return ipxrtr_delete(st->sipx_network); |
st | 1099 | net/ipx/af_ipx.c | f.ipx_network=st->sipx_network; |