Lines Matching refs:ap_dev
74 static int zcrypt_cex2a_card_probe(struct ap_device *ap_dev) in zcrypt_cex2a_card_probe() argument
85 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex2a_card_probe()
93 dev_set_drvdata(&ap_dev->device, zc); in zcrypt_cex2a_card_probe()
95 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX2A) { in zcrypt_cex2a_card_probe()
102 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX3A) { in zcrypt_cex2a_card_probe()
131 static void zcrypt_cex2a_card_remove(struct ap_device *ap_dev) in zcrypt_cex2a_card_remove() argument
133 struct zcrypt_card *zc = dev_get_drvdata(&ap_dev->device); in zcrypt_cex2a_card_remove()
150 static int zcrypt_cex2a_queue_probe(struct ap_device *ap_dev) in zcrypt_cex2a_queue_probe() argument
152 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_probe()
156 switch (ap_dev->device_type) { in zcrypt_cex2a_queue_probe()
177 dev_set_drvdata(&ap_dev->device, zq); in zcrypt_cex2a_queue_probe()
189 static void zcrypt_cex2a_queue_remove(struct ap_device *ap_dev) in zcrypt_cex2a_queue_remove() argument
191 struct zcrypt_queue *zq = dev_get_drvdata(&ap_dev->device); in zcrypt_cex2a_queue_remove()