Lines Matching refs:ap_dev
245 static int zcrypt_cex2c_card_probe(struct ap_device *ap_dev) in zcrypt_cex2c_card_probe() argument
256 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex2c_card_probe()
265 switch (ac->ap_dev.device_type) { in zcrypt_cex2c_card_probe()
296 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex2c_card_probe()
312 static void zcrypt_cex2c_card_remove(struct ap_device *ap_dev) in zcrypt_cex2c_card_remove() argument
314 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex2c_card_remove()
315 struct zcrypt_card *zc = to_ap_card(&ap_dev->device)->private; in zcrypt_cex2c_card_remove()
318 sysfs_remove_group(&ap_dev->device.kobj, &cca_card_attr_grp); in zcrypt_cex2c_card_remove()
335 static int zcrypt_cex2c_queue_probe(struct ap_device *ap_dev) in zcrypt_cex2c_queue_probe() argument
337 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_probe()
371 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex2c_queue_probe()
387 static void zcrypt_cex2c_queue_remove(struct ap_device *ap_dev) in zcrypt_cex2c_queue_remove() argument
389 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_remove()
393 sysfs_remove_group(&ap_dev->device.kobj, &cca_queue_attr_grp); in zcrypt_cex2c_queue_remove()