Lines Matching refs:DP
309 #define DP (&drive_params[current_drive]) macro
633 if (DP->flags & DEBUGT) in debugt()
829 if (DP->select_delay) in twaddle()
952 if (DP->select_delay) in scandrives()
1011 debug_dcl(DP->flags, "calling disk change from watchdog\n"); in fd_watchdog()
1312 srt = 16 - DIV_ROUND_UP(DP->srt * scale_dtr / 1000, NOMINAL_DTR); in fdc_specify()
1319 hlt = DIV_ROUND_UP(DP->hlt * scale_dtr / 2, NOMINAL_DTR); in fdc_specify()
1325 hut = DIV_ROUND_UP(DP->hut * scale_dtr / 16, NOMINAL_DTR); in fdc_specify()
1432 if (DP->flags & FTD_MSG) in interpret_errors()
1435 } else if (*errors >= DP->max_errors.reporting) { in interpret_errors()
1473 ready_date = DRS->spinup_date + DP->spinup; in setup_rw_floppy()
1478 if (time_after(ready_date, jiffies + DP->select_delay)) { in setup_rw_floppy()
1479 ready_date -= DP->select_delay; in setup_rw_floppy()
1530 debug_dcl(DP->flags, in seek_interrupt()
1532 debug_dcl(DP->flags, "jiffies=%lu\n", jiffies); in seek_interrupt()
1553 debug_dcl(DP->flags, in check_wp()
1555 debug_dcl(DP->flags, "wp=%x\n", ST3 & 0x40); in check_wp()
1569 debug_dcl(DP->flags, "calling disk change from %s\n", __func__); in seek_floppy()
1593 if (DP->flags & FD_SILENT_DCL_CLEAR) { in seek_floppy()
1645 debug_dcl(DP->flags, in recal_interrupt()
1886 return fd_wait_for_completion(DRS->select_date + DP->select_delay, in start_motor()
1901 debug_dcl(DP->flags, "calling disk change from floppy_ready\n"); in floppy_ready()
1903 disk_change(current_drive) && !DP->select_delay) in floppy_ready()
1932 debug_dcl(DP->flags, "setting NEWCHANGE in floppy_start\n"); in floppy_start()
2034 if (probed_format >= 8 || !DP->autodetect[probed_format]) { in next_valid_format()
2038 if (floppy_type[DP->autodetect[probed_format]].sect) { in next_valid_format()
2057 if (err_count > DP->max_errors.abort) in bad_flp_intr()
2059 if (err_count > DP->max_errors.reset) in bad_flp_intr()
2061 else if (err_count > DP->max_errors.recal) in bad_flp_intr()
2191 _floppy->track > DP->tracks || in do_format()
2347 if (DP->flags & FTD_MSG) in rw_interrupt()
2677 *errors < DP->max_errors.read_track && in make_raw_rw_request()
2679 (DP->read_track & (1 << DRS->probed_format)))))) { in make_raw_rw_request()
2857 _floppy = floppy_type + DP->autodetect[DRS->probed_format]; in redo_fd_request()
2936 debug_dcl(DP->flags, "setting NEWCHANGE in poll_drive\n"); in poll_drive()
3207 debug_dcl(DP->flags, "calling disk change from raw_cmd ioctl\n"); in raw_cmd_ioctl()
4381 DP->cmos = ints[2]; in set_cmos()