Lines Matching defs:st0
716 int cyl, st0, ret;
718 ret = fdc_cmd(fdc, 1, NE7CMD_SENSEI, 1, &st0);
725 *st0p = st0;
727 if ((st0 & NE7_ST0_IC) == NE7_ST0_IC_IV) {
918 int st0, st3, cyl, mfm, steptrac, cylinder, descyl, sec;
962 fdc_sense_int(fdc, &st0, &cyl);
1106 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1109 if ((st0 & 0xc0) || cyl != 0)
1130 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1133 if ((st0 & 0xc0) || cyl != descyl) {
1268 st0 = fdc->status[0] & NE7_ST0_IC;
1269 if (st0 != 0) {
1271 if (st0 == NE7_ST0_IC_AT && fdc->status[1] & NE7_ST1_OR) {
1280 if(st0 == NE7_ST0_IC_IV) {
1285 if(st0 == NE7_ST0_IC_AT && fdc->status[2] & NE7_ST2_WC) {
1400 int st0, st3, cyl;
1420 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1422 if ((st0 & 0xc0) || cyl != 0)
1429 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
2122 u_int st0, st3;
2203 if (fdc_sense_int(fdc, &st0, NULL) == 0 &&
2204 (st0 & NE7_ST0_EC) == 0)
2215 (st0 & NE7_ST0_EC) != 0) /* no track 0 -> no drive present */