Lines Matching defs:st0
569 int cyl, st0, ret;
571 ret = fdc_cmd(fdc, 1, NE7CMD_SENSEI, 1, &st0);
578 *st0p = st0;
580 if ((st0 & NE7_ST0_IC) == NE7_ST0_IC_IV) {
763 int st0, st3, cyl, mfm, steptrac, cylinder, descyl, sec;
807 fdc_sense_int(fdc, &st0, &cyl);
920 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
923 if ((st0 & 0xc0) || cyl != 0)
941 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
944 if ((st0 & 0xc0) || cyl != descyl) {
1079 st0 = fdc->status[0] & NE7_ST0_IC;
1080 if (st0 != 0) {
1082 if (st0 == NE7_ST0_IC_AT && fdc->status[1] & NE7_ST1_OR) {
1091 if(st0 == NE7_ST0_IC_IV) {
1096 if(st0 == NE7_ST0_IC_AT && fdc->status[2] & NE7_ST2_WC) {
1207 int st0, st3, cyl;
1227 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1229 if ((st0 & 0xc0) || cyl != 0)
1236 if (fdc_sense_int(fdc, &st0, &cyl) == FD_NOT_VALID)
1885 u_int st0, st3;
1962 if (fdc_sense_int(fdc, &st0, NULL) == 0 &&
1963 (st0 & NE7_ST0_EC) == 0)
1974 (st0 & NE7_ST0_EC) != 0) /* no track 0 -> no drive present */