Lines Matching refs:ap_dev
75 static int zcrypt_pcicc_probe(struct ap_device *ap_dev);
76 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()
379 zdev->ap_dev->qid); in convert_type86()
381 zdev->ap_dev->qid, zdev->online, in convert_type86()
437 zdev->ap_dev->qid); in convert_response()
439 zdev->ap_dev->qid, zdev->online); in convert_response()
452 static void zcrypt_pcicc_receive(struct ap_device *ap_dev, in zcrypt_pcicc_receive() argument
509 ap_queue_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo()
516 ap_cancel_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo()
549 ap_queue_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo_crt()
556 ap_cancel_message(zdev->ap_dev, &ap_msg); in zcrypt_pcicc_modexpo_crt()
575 static int zcrypt_pcicc_probe(struct ap_device *ap_dev) in zcrypt_pcicc_probe() argument
583 zdev->ap_dev = ap_dev; in zcrypt_pcicc_probe()
592 ap_dev->reply = &zdev->reply; in zcrypt_pcicc_probe()
593 ap_dev->private = zdev; in zcrypt_pcicc_probe()
600 ap_dev->private = NULL; in zcrypt_pcicc_probe()
609 static void zcrypt_pcicc_remove(struct ap_device *ap_dev) in zcrypt_pcicc_remove() argument
611 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcicc_remove()