Lines Matching defs:st0
568 int cyl, st0, ret;
570 ret = fdc_cmd(fdc, 1, NE7CMD_SENSEI, 1, &st0);
577 *st0p = st0;
579 if ((st0 & NE7_ST0_IC) == NE7_ST0_IC_IV) {
762 int st0, st3, cyl, mfm, steptrac, cylinder, descyl, sec;
803 fdc_sense_int(fdc, &st0, &cyl);
915 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
918 if ((st0 & 0xc0) || cyl != 0)
936 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
939 if ((st0 & 0xc0) || cyl != descyl) {
1069 st0 = fdc->status[0] & NE7_ST0_IC;
1070 if (st0 != 0) {
1072 if (st0 == NE7_ST0_IC_AT && fdc->status[1] & NE7_ST1_OR) {
1081 if(st0 == NE7_ST0_IC_IV) {
1086 if(st0 == NE7_ST0_IC_AT && fdc->status[2] & NE7_ST2_WC) {
1201 int st0, st3, cyl;
1221 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1223 if ((st0 & 0xc0) || cyl != 0)
1230 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1881 u_int st0, st3;
1959 if (fdc_sense_int(fdc, &st0, NULL) == 0 &&
1960 (st0 & NE7_ST0_EC) == 0)
1973 (st0 & NE7_ST0_EC) != 0) /* no track 0 -> no drive present */