Go to the documentation of this file.
14 #define TAPE390_DISPLAY _IOW('d', 1, struct display_struct)
50 #define TAPE390_CRYPT_SUPPORTED_MASK 0x01
51 #define TAPE390_CRYPT_SUPPORTED(x) \
52 ((x.capability & TAPE390_CRYPT_SUPPORTED_MASK))
55 #define TAPE390_CRYPT_ON_MASK 0x01
56 #define TAPE390_CRYPT_ON(x) (((x.status) & TAPE390_CRYPT_ON_MASK))
59 #define TAPE390_MEDIUM_LOADED_MASK 0x01
60 #define TAPE390_MEDIUM_ENCRYPTED_MASK 0x02
61 #define TAPE390_MEDIUM_ENCRYPTED(x) \
62 (((x.medium_status) & TAPE390_MEDIUM_ENCRYPTED_MASK))
63 #define TAPE390_MEDIUM_LOADED(x) \
64 (((x.medium_status) & TAPE390_MEDIUM_LOADED_MASK))
70 #define TAPE390_CRYPT_SET _IOW('d', 2, struct tape390_crypt_info)
75 #define TAPE390_CRYPT_QUERY _IOR('d', 3, struct tape390_crypt_info)
78 #define TAPE390_KEKL_TYPE_NONE 0
79 #define TAPE390_KEKL_TYPE_LABEL 1
80 #define TAPE390_KEKL_TYPE_HASH 2
95 #define TAPE390_KEKL_SET _IOW('d', 4, struct tape390_kekl_pair)
100 #define TAPE390_KEKL_QUERY _IOR('d', 5, struct tape390_kekl_pair)