Home
last modified time | relevance | path

Searched refs:tape_state (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/s390/char/
Dtape_core.c124 "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()
462 switch (device->tape_state) { in tape_generic_pm_suspend()
500 switch (device->tape_state) { in tape_generic_offline()
[all …]
Dtape_proc.c65 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()
Dtape.h69 enum tape_state { enum
201 enum tape_state tape_state; member
266 extern void tape_state_set(struct tape_device *, enum tape_state);
Dtape_std.c97 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()