Searched refs:tape_state (Results 1 – 4 of 4) sorted by relevance
123 "OFFLINE" : tape_state_verbose[tdev->tape_state]); in tape_state_show()186 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()190 if (device->tape_state == TS_NOT_OPER) { in tape_state_set()196 if (device->tape_state < TS_SIZE && device->tape_state >=0 ) in tape_state_set()197 str = tape_state_verbose[device->tape_state]; in tape_state_set()207 device->tape_state = newstate; in tape_state_set()379 if (device->tape_state != TS_INIT) { in tape_generic_online()380 DBF_LH(3, "Tapestate not INIT (%d)\n", device->tape_state); in tape_generic_online()462 switch (device->tape_state) { in tape_generic_pm_suspend()500 switch (device->tape_state) { in tape_generic_offline()[all …]
64 if (device->tape_state >= 0 && in tape_proc_show()65 device->tape_state < TS_SIZE) in tape_proc_show()66 str = tape_state_verbose[device->tape_state]; in tape_proc_show()
68 enum tape_state { enum199 enum tape_state tape_state; member264 extern void tape_state_set(struct tape_device *, enum tape_state);
103 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()