Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/s390/char/
Dtape_core.c123 "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 …]
Dtape_proc.c64 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()
Dtape.h68 enum tape_state { enum
199 enum tape_state tape_state; member
264 extern void tape_state_set(struct tape_device *, enum tape_state);
Dtape_std.c103 if (device->tape_state == TS_NOT_OPER) { in tape_std_unassign()