Home
last modified time | relevance | path

Searched refs:drive_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/block/
Dfloppy.c402 static struct floppy_drive_struct drive_state[N_DRIVE]; variable
608 return !current_type[drive] && !ITYPE(drive_state[drive].fd_device); in drive_no_geom()
738 if (time_before(jiffies, drive_state[drive].select_date + drive_params[drive].select_delay)) in disk_change()
753 drive_state[drive].flags); in disk_change()
757 &drive_state[drive].flags); in disk_change()
759 set_bit(FD_VERIFY_BIT, &drive_state[drive].flags); in disk_change()
762 if (drive_state[drive].maxblock) /* mark it changed */ in disk_change()
764 &drive_state[drive].flags); in disk_change()
767 if (drive_state[drive].keep_data >= 0) { in disk_change()
777 drive_state[drive].last_checked = jiffies; in disk_change()
[all …]
Dskd_main.c228 u32 drive_state; member
730 if (state != skdev->drive_state) in skd_timer_tick()
750 skdev->drive_state, skdev->state); in skd_timer_tick_not_online()
787 skdev->drive_state); in skd_timer_tick_not_online()
814 skdev->drive_state); in skd_timer_tick_not_online()
828 if ((skdev->drive_state == FIT_SR_DRIVE_SOFT_RESET) || in skd_timer_tick_not_online()
829 (skdev->drive_state == FIT_SR_DRIVE_FAULT) || in skd_timer_tick_not_online()
830 (skdev->drive_state == FIT_SR_DRIVE_STATE_MASK)) in skd_timer_tick_not_online()
837 skdev->drive_state); in skd_timer_tick_not_online()
1788 skd_drive_state_to_str(skdev->drive_state), skdev->drive_state, in skd_isr_fwstate()
[all …]