Searched refs:ap_dev (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_cex4.c | 453 static int zcrypt_cex4_card_probe(struct ap_device *ap_dev) in zcrypt_cex4_card_probe() argument 492 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_probe() 500 dev_set_drvdata(&ap_dev->device, zc); in zcrypt_cex4_card_probe() 502 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe() 506 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe() 510 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe() 514 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe() 540 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe() 547 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe() 554 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe() [all …]
|
| H A D | ap_bus.c | 664 const struct ap_device *ap_dev = to_ap_dev(dev); in ap_uevent() local 671 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent() 674 rc = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); in ap_uevent() 678 rc = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); in ap_uevent() 692 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent() 725 void ap_send_config_uevent(struct ap_device *ap_dev, bool cfg) in ap_send_config_uevent() argument 732 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); in ap_send_config_uevent() 736 void ap_send_online_uevent(struct ap_device *ap_dev, int online) in ap_send_online_uevent() argument 743 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); in ap_send_online_uevent() 747 void ap_send_se_bind_uevent(struct ap_device *ap_dev) in ap_send_se_bind_uevent() argument [all …]
|
| H A D | zcrypt_queue.c | 73 ap_send_online_uevent(&aq->ap_dev, online); in online_store() 173 zc = dev_get_drvdata(&zq->queue->card->ap_dev.device); in zcrypt_queue_register() 185 rc = sysfs_create_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_register() 198 sysfs_remove_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_register() 229 sysfs_remove_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_unregister()
|
| H A D | zcrypt_card.c | 81 ap_send_online_uevent(&ac->ap_dev, online); in online_store() 104 ap_send_online_uevent(&zq->queue->ap_dev, online); in online_store() 195 rc = sysfs_create_group(&zc->card->ap_dev.device.kobj, in zcrypt_card_register() 221 sysfs_remove_group(&zc->card->ap_dev.device.kobj, in zcrypt_card_unregister()
|
| H A D | zcrypt_msgtype6.c | 670 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica() 812 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica() 847 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb() 877 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb() 908 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_rng()
|
| H A D | zcrypt_api.c | 581 if (!zq || !try_module_get(zq->queue->ap_dev.device.driver->owner)) in zcrypt_pick_queue() 585 get_device(&zq->queue->ap_dev.device); in zcrypt_pick_queue() 589 *pmod = zq->queue->ap_dev.device.driver->owner; in zcrypt_pick_queue() 601 put_device(&zq->queue->ap_dev.device); in zcrypt_drop_queue() 1296 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask() 1324 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask_ext() 1347 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
|