• 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

148  * @zdev: crypto device pointer
154 static int ICAMEX_msg_to_type6MEX_msg(struct zcrypt_device *zdev,
223 msg->cprb.usage_domain[0]= AP_QID_QUEUE(zdev->ap_dev->qid);
235 * @zdev: crypto device pointer
241 static int ICACRT_msg_to_type6CRT_msg(struct zcrypt_device *zdev,
286 msg->cprb.usage_domain[0] = AP_QID_QUEUE(zdev->ap_dev->qid);
299 * @zdev: crypto device pointer
315 static int convert_type86(struct zcrypt_device *zdev,
373 zdev->max_mod_size = PCICC_MAX_MOD_SIZE_OLD;
378 zdev->max_mod_size = PCICC_MAX_MOD_SIZE_OLD;
383 zdev->online = 0;
416 static int convert_response(struct zcrypt_device *zdev,
427 return convert_error(zdev, reply);
430 return convert_error(zdev, reply);
432 return convert_type86(zdev, reply,
439 zdev->online = 0;
481 * @zdev: pointer to zcrypt_device structure that identifies the
485 static long zcrypt_pcicc_modexpo(struct zcrypt_device *zdev,
499 rc = ICAMEX_msg_to_type6MEX_msg(zdev, &ap_msg, mex);
503 ap_queue_message(zdev->ap_dev, &ap_msg);
507 rc = convert_response(zdev, &ap_msg, mex->outputdata,
511 ap_cancel_message(zdev->ap_dev, &ap_msg);
524 * @zdev: pointer to zcrypt_device structure that identifies the
528 static long zcrypt_pcicc_modexpo_crt(struct zcrypt_device *zdev,
542 rc = ICACRT_msg_to_type6CRT_msg(zdev, &ap_msg, crt);
546 ap_queue_message(zdev->ap_dev, &ap_msg);
550 rc = convert_response(zdev, &ap_msg, crt->outputdata,
554 ap_cancel_message(zdev->ap_dev, &ap_msg);
579 struct zcrypt_device *zdev;
582 zdev = zcrypt_device_alloc(PCICC_MAX_RESPONSE_SIZE);
583 if (!zdev)
585 zdev->ap_dev = ap_dev;
586 zdev->ops = &zcrypt_pcicc_ops;
587 zdev->online = 1;
588 zdev->user_space_type = ZCRYPT_PCICC;
589 zdev->type_string = "PCICC";
590 zdev->min_mod_size = PCICC_MIN_MOD_SIZE;
591 zdev->max_mod_size = PCICC_MAX_MOD_SIZE;
592 zdev->speed_rating = PCICC_SPEED_RATING;
593 ap_dev->reply = &zdev->reply;
594 ap_dev->private = zdev;
595 rc = zcrypt_device_register(zdev);
602 zcrypt_device_free(zdev);
612 struct zcrypt_device *zdev = ap_dev->private;
614 zcrypt_device_unregister(zdev);