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