[go: nahoru, domu]

Lines Matching refs:DP

303 #define DP	(&drive_params[current_drive])
627 if (DP->flags & DEBUGT)
823 if (DP->select_delay)
942 if (DP->select_delay)
1001 debug_dcl(DP->flags, "calling disk change from watchdog\n");
1302 srt = 16 - DIV_ROUND_UP(DP->srt * scale_dtr / 1000, NOMINAL_DTR);
1309 hlt = DIV_ROUND_UP(DP->hlt * scale_dtr / 2, NOMINAL_DTR);
1315 hut = DIV_ROUND_UP(DP->hut * scale_dtr / 16, NOMINAL_DTR);
1422 if (DP->flags & FTD_MSG)
1425 } else if (*errors >= DP->max_errors.reporting) {
1464 ready_date = DRS->spinup_date + DP->spinup;
1469 if (time_after(ready_date, jiffies + DP->select_delay)) {
1470 ready_date -= DP->select_delay;
1523 debug_dcl(DP->flags,
1525 debug_dcl(DP->flags, "jiffies=%lu\n", jiffies);
1546 debug_dcl(DP->flags,
1548 debug_dcl(DP->flags, "wp=%x\n", ST3 & 0x40);
1562 debug_dcl(DP->flags, "calling disk change from %s\n", __func__);
1586 if (DP->flags & FD_SILENT_DCL_CLEAR) {
1638 debug_dcl(DP->flags,
1879 return fd_wait_for_completion(DRS->select_date + DP->select_delay,
1894 debug_dcl(DP->flags, "calling disk change from floppy_ready\n");
1896 disk_change(current_drive) && !DP->select_delay)
1925 debug_dcl(DP->flags, "setting NEWCHANGE in floppy_start\n");
2027 if (probed_format >= 8 || !DP->autodetect[probed_format]) {
2031 if (floppy_type[DP->autodetect[probed_format]].sect) {
2050 if (err_count > DP->max_errors.abort)
2052 if (err_count > DP->max_errors.reset)
2054 else if (err_count > DP->max_errors.recal)
2181 _floppy->track > DP->tracks ||
2345 if (DP->flags & FTD_MSG)
2675 *errors < DP->max_errors.read_track &&
2677 (DP->read_track & (1 << DRS->probed_format)))))) {
2866 _floppy = floppy_type + DP->autodetect[DRS->probed_format];
2936 debug_dcl(DP->flags, "setting NEWCHANGE in poll_drive\n");
3207 debug_dcl(DP->flags, "calling disk change from raw_cmd ioctl\n");
4021 DP->cmos = ints[2];