Lines Matching refs:ap_dev
74 static int zcrypt_pcicc_probe(struct ap_device *ap_dev);
75 static void zcrypt_pcicc_remove(struct ap_device *ap_dev);
223 msg->cprb.usage_domain[0]= AP_QID_QUEUE(zdev->ap_dev->qid); in ICAMEX_msg_to_type6MEX_msg()
286 msg->cprb.usage_domain[0] = AP_QID_QUEUE(zdev->ap_dev->qid); in ICACRT_msg_to_type6CRT_msg()
443 static void zcrypt_pcicc_receive(struct ap_device *ap_dev, in zcrypt_pcicc_receive() argument
499 ap_queue_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo()
506 ap_cancel_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo()
538 ap_queue_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo_crt()
545 ap_cancel_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo_crt()
564 static int zcrypt_pcicc_probe(struct ap_device *ap_dev) in zcrypt_pcicc_probe() argument
572 zdev->ap_dev = ap_dev; in zcrypt_pcicc_probe()
581 ap_dev->reply = &zdev->reply; in zcrypt_pcicc_probe()
582 ap_dev->private = zdev; in zcrypt_pcicc_probe()
589 ap_dev->private = NULL; in zcrypt_pcicc_probe()
598 static void zcrypt_pcicc_remove(struct ap_device *ap_dev) in zcrypt_pcicc_remove() argument
600 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcicc_remove()