Searched refs:tape_state (Results 1 – 5 of 5) sorted by relevance
124 "OFFLINE" : tape_state_verbose[tdev->tape_state]); in tape_state_show()187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()191 if (device->tape_state == TS_NOT_OPER) { in tape_state_set()197 if (device->tape_state < TS_SIZE && device->tape_state >=0 ) in tape_state_set()198 str = tape_state_verbose[device->tape_state]; in tape_state_set()208 device->tape_state = newstate; in tape_state_set()380 if (device->tape_state != TS_INIT) { in tape_generic_online()381 DBF_LH(3, "Tapestate not INIT (%d)\n", device->tape_state); in tape_generic_online()469 switch (device->tape_state) { in tape_generic_pm_suspend()507 switch (device->tape_state) { in tape_generic_offline()[all …]
65 if (device->tape_state >= 0 && in tape_proc_show()66 device->tape_state < TS_SIZE) in tape_proc_show()67 str = tape_state_verbose[device->tape_state]; in tape_proc_show()
70 enum tape_state { enum227 enum tape_state tape_state; member296 extern void tape_state_set(struct tape_device *, enum tape_state);
419 get.mt_dsreg = device->tape_state; in __tapechar_ioctl()
103 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()