Lines Matching defs:st0
572 int cyl, st0, ret;
574 ret = fdc_cmd(fdc, 1, NE7CMD_SENSEI, 1, &st0);
581 *st0p = st0;
583 if ((st0 & NE7_ST0_IC) == NE7_ST0_IC_IV) {
766 int st0, st3, cyl, mfm, steptrac, cylinder, descyl, sec;
810 fdc_sense_int(fdc, &st0, &cyl);
923 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
926 if ((st0 & 0xc0) || cyl != 0)
944 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
947 if ((st0 & 0xc0) || cyl != descyl) {
1082 st0 = fdc->status[0] & NE7_ST0_IC;
1083 if (st0 != 0) {
1085 if (st0 == NE7_ST0_IC_AT && fdc->status[1] & NE7_ST1_OR) {
1094 if(st0 == NE7_ST0_IC_IV) {
1099 if(st0 == NE7_ST0_IC_AT && fdc->status[2] & NE7_ST2_WC) {
1212 int st0, st3, cyl;
1232 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1234 if ((st0 & 0xc0) || cyl != 0)
1241 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1902 u_int st0, st3;
1979 if (fdc_sense_int(fdc, &st0, NULL) == 0 &&
1980 (st0 & NE7_ST0_EC) == 0)
1991 (st0 & NE7_ST0_EC) != 0) /* no track 0 -> no drive present */