• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/s390/crypto/

Lines Matching defs:zdev

78  * @zdev: crypto device pointer
84 static int ICAMEX_msg_to_type4MEX_msg(struct zcrypt_device *zdev,
127 * @zdev: crypto device pointer
133 static int ICACRT_msg_to_type4CRT_msg(struct zcrypt_device *zdev,
187 * @zdev: crypto device pointer
194 static int convert_type84(struct zcrypt_device *zdev,
204 zdev->online = 0;
214 static int convert_response(struct zcrypt_device *zdev,
223 return convert_error(zdev, reply);
225 return convert_type84(zdev, reply,
231 zdev->online = 0;
271 * @zdev: pointer to zcrypt_device structure that identifies the
275 static long zcrypt_pcica_modexpo(struct zcrypt_device *zdev,
288 rc = ICAMEX_msg_to_type4MEX_msg(zdev, &ap_msg, mex);
292 ap_queue_message(zdev->ap_dev, &ap_msg);
296 rc = convert_response(zdev, &ap_msg, mex->outputdata,
300 ap_cancel_message(zdev->ap_dev, &ap_msg);
313 * @zdev: pointer to zcrypt_device structure that identifies the
317 static long zcrypt_pcica_modexpo_crt(struct zcrypt_device *zdev,
330 rc = ICACRT_msg_to_type4CRT_msg(zdev, &ap_msg, crt);
334 ap_queue_message(zdev->ap_dev, &ap_msg);
338 rc = convert_response(zdev, &ap_msg, crt->outputdata,
342 ap_cancel_message(zdev->ap_dev, &ap_msg);
367 struct zcrypt_device *zdev;
370 zdev = zcrypt_device_alloc(PCICA_MAX_RESPONSE_SIZE);
371 if (!zdev)
373 zdev->ap_dev = ap_dev;
374 zdev->ops = &zcrypt_pcica_ops;
375 zdev->online = 1;
376 zdev->user_space_type = ZCRYPT_PCICA;
377 zdev->type_string = "PCICA";
378 zdev->min_mod_size = PCICA_MIN_MOD_SIZE;
379 zdev->max_mod_size = PCICA_MAX_MOD_SIZE;
380 zdev->speed_rating = PCICA_SPEED_RATING;
381 ap_dev->reply = &zdev->reply;
382 ap_dev->private = zdev;
383 rc = zcrypt_device_register(zdev);
390 zcrypt_device_free(zdev);
400 struct zcrypt_device *zdev = ap_dev->private;
402 zcrypt_device_unregister(zdev);