Lines Matching refs:DP
308 #define DP (&drive_params[current_drive]) macro
632 if (DP->flags & DEBUGT) in debugt()
828 if (DP->select_delay) in twaddle()
951 if (DP->select_delay) in scandrives()
1010 debug_dcl(DP->flags, "calling disk change from watchdog\n"); in fd_watchdog()
1311 srt = 16 - DIV_ROUND_UP(DP->srt * scale_dtr / 1000, NOMINAL_DTR); in fdc_specify()
1318 hlt = DIV_ROUND_UP(DP->hlt * scale_dtr / 2, NOMINAL_DTR); in fdc_specify()
1324 hut = DIV_ROUND_UP(DP->hut * scale_dtr / 16, NOMINAL_DTR); in fdc_specify()
1431 if (DP->flags & FTD_MSG) in interpret_errors()
1434 } else if (*errors >= DP->max_errors.reporting) { in interpret_errors()
1472 ready_date = DRS->spinup_date + DP->spinup; in setup_rw_floppy()
1477 if (time_after(ready_date, jiffies + DP->select_delay)) { in setup_rw_floppy()
1478 ready_date -= DP->select_delay; in setup_rw_floppy()
1529 debug_dcl(DP->flags, in seek_interrupt()
1531 debug_dcl(DP->flags, "jiffies=%lu\n", jiffies); in seek_interrupt()
1552 debug_dcl(DP->flags, in check_wp()
1554 debug_dcl(DP->flags, "wp=%x\n", ST3 & 0x40); in check_wp()
1568 debug_dcl(DP->flags, "calling disk change from %s\n", __func__); in seek_floppy()
1592 if (DP->flags & FD_SILENT_DCL_CLEAR) { in seek_floppy()
1644 debug_dcl(DP->flags, in recal_interrupt()
1885 return fd_wait_for_completion(DRS->select_date + DP->select_delay, in start_motor()
1900 debug_dcl(DP->flags, "calling disk change from floppy_ready\n"); in floppy_ready()
1902 disk_change(current_drive) && !DP->select_delay) in floppy_ready()
1931 debug_dcl(DP->flags, "setting NEWCHANGE in floppy_start\n"); in floppy_start()
2033 if (probed_format >= 8 || !DP->autodetect[probed_format]) { in next_valid_format()
2037 if (floppy_type[DP->autodetect[probed_format]].sect) { in next_valid_format()
2056 if (err_count > DP->max_errors.abort) in bad_flp_intr()
2058 if (err_count > DP->max_errors.reset) in bad_flp_intr()
2060 else if (err_count > DP->max_errors.recal) in bad_flp_intr()
2187 _floppy->track > DP->tracks || in do_format()
2351 if (DP->flags & FTD_MSG) in rw_interrupt()
2681 *errors < DP->max_errors.read_track && in make_raw_rw_request()
2683 (DP->read_track & (1 << DRS->probed_format)))))) { in make_raw_rw_request()
2874 _floppy = floppy_type + DP->autodetect[DRS->probed_format]; in redo_fd_request()
2944 debug_dcl(DP->flags, "setting NEWCHANGE in poll_drive\n"); in poll_drive()
3215 debug_dcl(DP->flags, "calling disk change from raw_cmd ioctl\n"); in raw_cmd_ioctl()
4361 DP->cmos = ints[2]; in set_cmos()