Searched refs:zcrypt_device (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/drivers/s390/crypto/ |
D | zcrypt_api.h | 84 struct zcrypt_device; 87 long (*rsa_modexpo)(struct zcrypt_device *, struct ica_rsa_modexpo *); 88 long (*rsa_modexpo_crt)(struct zcrypt_device *, 90 long (*send_cprb)(struct zcrypt_device *, struct ica_xcRB *); 91 long (*rng)(struct zcrypt_device *, char *); 94 struct zcrypt_device { struct 115 struct zcrypt_device *zcrypt_device_alloc(size_t); argument 116 void zcrypt_device_free(struct zcrypt_device *); 117 void zcrypt_device_get(struct zcrypt_device *); 118 int zcrypt_device_put(struct zcrypt_device *); [all …]
|
D | zcrypt_api.c | 67 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_type_show() 76 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_online_show() 84 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_online_store() 115 static void __zcrypt_increase_preference(struct zcrypt_device *zdev) in __zcrypt_increase_preference() 117 struct zcrypt_device *tmp; in __zcrypt_increase_preference() 123 tmp = list_entry(l, struct zcrypt_device, list); in __zcrypt_increase_preference() 143 static void __zcrypt_decrease_preference(struct zcrypt_device *zdev) in __zcrypt_decrease_preference() 145 struct zcrypt_device *tmp; in __zcrypt_decrease_preference() 151 tmp = list_entry(l, struct zcrypt_device, list); in __zcrypt_decrease_preference() 165 struct zcrypt_device *zdev = in zcrypt_device_release() [all …]
|
D | zcrypt_pcica.c | 84 static int ICAMEX_msg_to_type4MEX_msg(struct zcrypt_device *zdev, in ICAMEX_msg_to_type4MEX_msg() 133 static int ICACRT_msg_to_type4CRT_msg(struct zcrypt_device *zdev, in ICACRT_msg_to_type4CRT_msg() 194 static int convert_type84(struct zcrypt_device *zdev, in convert_type84() 214 static int convert_response(struct zcrypt_device *zdev, in convert_response() 276 static long zcrypt_pcica_modexpo(struct zcrypt_device *zdev, in zcrypt_pcica_modexpo() 314 static long zcrypt_pcica_modexpo_crt(struct zcrypt_device *zdev, in zcrypt_pcica_modexpo_crt() 360 struct zcrypt_device *zdev; in zcrypt_pcica_probe() 394 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcica_remove()
|
D | zcrypt_pcixcc.c | 129 static int ICAMEX_msg_to_type6MEX_msgX(struct zcrypt_device *zdev, in ICAMEX_msg_to_type6MEX_msgX() 196 static int ICACRT_msg_to_type6CRT_msgX(struct zcrypt_device *zdev, in ICACRT_msg_to_type6CRT_msgX() 268 static int XCRB_msg_to_type6CPRB_msgX(struct zcrypt_device *zdev, in XCRB_msg_to_type6CPRB_msgX() 400 static int convert_type86_ica(struct zcrypt_device *zdev, in convert_type86_ica() 504 static int convert_type86_xcrb(struct zcrypt_device *zdev, in convert_type86_xcrb() 526 static int convert_type86_rng(struct zcrypt_device *zdev, in convert_type86_rng() 543 static int convert_response_ica(struct zcrypt_device *zdev, in convert_response_ica() 578 static int convert_response_xcrb(struct zcrypt_device *zdev, in convert_response_xcrb() 606 static int convert_response_rng(struct zcrypt_device *zdev, in convert_response_rng() 688 static long zcrypt_pcixcc_modexpo(struct zcrypt_device *zdev, in zcrypt_pcixcc_modexpo() [all …]
|
D | zcrypt_pcicc.c | 154 static int ICAMEX_msg_to_type6MEX_msg(struct zcrypt_device *zdev, in ICAMEX_msg_to_type6MEX_msg() 241 static int ICACRT_msg_to_type6CRT_msg(struct zcrypt_device *zdev, in ICACRT_msg_to_type6CRT_msg() 315 static int convert_type86(struct zcrypt_device *zdev, in convert_type86() 410 static int convert_response(struct zcrypt_device *zdev, in convert_response() 480 static long zcrypt_pcicc_modexpo(struct zcrypt_device *zdev, in zcrypt_pcicc_modexpo() 519 static long zcrypt_pcicc_modexpo_crt(struct zcrypt_device *zdev, in zcrypt_pcicc_modexpo_crt() 566 struct zcrypt_device *zdev; in zcrypt_pcicc_probe() 600 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcicc_remove()
|
D | zcrypt_cex2a.c | 94 static int ICAMEX_msg_to_type50MEX_msg(struct zcrypt_device *zdev, in ICAMEX_msg_to_type50MEX_msg() 152 static int ICACRT_msg_to_type50CRT_msg(struct zcrypt_device *zdev, in ICACRT_msg_to_type50CRT_msg() 250 static int convert_type80(struct zcrypt_device *zdev, in convert_type80() 273 static int convert_response(struct zcrypt_device *zdev, in convert_response() 338 static long zcrypt_cex2a_modexpo(struct zcrypt_device *zdev, in zcrypt_cex2a_modexpo() 379 static long zcrypt_cex2a_modexpo_crt(struct zcrypt_device *zdev, in zcrypt_cex2a_modexpo_crt() 428 struct zcrypt_device *zdev = NULL; in zcrypt_cex2a_probe() 482 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_cex2a_remove()
|
D | zcrypt_error.h | 90 static inline int convert_error(struct zcrypt_device *zdev, in convert_error()
|