• Home
  • Raw
  • Download

Lines Matching refs:DP

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