Lines Matching refs:ap_dev
72 static int zcrypt_cex2a_probe(struct ap_device *ap_dev);
73 static void zcrypt_cex2a_remove(struct ap_device *ap_dev);
87 static int zcrypt_cex2a_probe(struct ap_device *ap_dev) in zcrypt_cex2a_probe() argument
92 switch (ap_dev->device_type) { in zcrypt_cex2a_probe()
114 if (ap_test_bit(&ap_dev->functions, AP_FUNC_MEX4K) && in zcrypt_cex2a_probe()
115 ap_test_bit(&ap_dev->functions, AP_FUNC_CRT4K)) { in zcrypt_cex2a_probe()
127 zdev->ap_dev = ap_dev; in zcrypt_cex2a_probe()
129 ap_dev->reply = &zdev->reply; in zcrypt_cex2a_probe()
130 ap_dev->private = zdev; in zcrypt_cex2a_probe()
133 ap_dev->private = NULL; in zcrypt_cex2a_probe()
144 static void zcrypt_cex2a_remove(struct ap_device *ap_dev) in zcrypt_cex2a_remove() argument
146 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_cex2a_remove()