Home
last modified time | relevance | path

Searched refs:ap_dev (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_cex4.c467 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_probe()
475 dev_set_drvdata(&ap_dev->device, zc); in zcrypt_cex4_card_probe()
477 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
599 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_card_probe()
606 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_card_probe()
624 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_remove()
649 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe()
681 dev_set_drvdata(&ap_dev->device, zq); in zcrypt_cex4_queue_probe()
689 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_queue_probe()
696 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_queue_probe()
[all …]
H A Dap_bus.h184 struct ap_device ap_dev; member
198 #define to_ap_card(x) container_of((x), struct ap_card, ap_dev.device)
201 struct ap_device ap_dev; member
225 #define to_ap_queue(x) container_of((x), struct ap_queue, ap_dev.device)
369 void ap_send_config_uevent(struct ap_device *ap_dev, bool cfg);
370 void ap_send_online_uevent(struct ap_device *ap_dev, int online);
H A Dzcrypt_queue.c72 ap_send_online_uevent(&aq->ap_dev, online); in online_store()
172 zc = dev_get_drvdata(&zq->queue->card->ap_dev.device); in zcrypt_queue_register()
184 rc = sysfs_create_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_register()
197 sysfs_remove_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_register()
228 sysfs_remove_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_unregister()
H A Dzcrypt_card.c81 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 Dap_card.c27 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show()
169 ap_send_config_uevent(&ac->ap_dev, ac->config); in config_store()
240 ac->ap_dev.device.release = ap_card_device_release; in ap_card_create()
241 ac->ap_dev.device.type = &ap_card_type; in ap_card_create()
242 ac->ap_dev.device_type = comp_type; in ap_card_create()
H A Dap_bus.c629 const struct ap_device *ap_dev = to_ap_dev(dev); in ap_uevent() local
636 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent()
911 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_probe() local
962 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_remove() local
971 ap_drv->remove(ap_dev); in ap_device_remove()
994 get_device(&aq->ap_dev.device); in ap_get_qdev()
1795 device_unregister(&ac->ap_dev.device); in ap_scan_rm_card_dev_and_queue_devs()
1859 dev = &aq->ap_dev.device; in ap_scan_domains()
1861 dev->parent = &ac->ap_dev.device; in ap_scan_domains()
2084 dev = &ac->ap_dev.device; in ap_scan_adapter()
[all …]
H A Dzcrypt_msgtype6.c601 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica()
746 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica()
781 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb()
811 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb()
842 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_rng()
H A Dap_queue.c1017 aq->ap_dev.device.release = ap_queue_device_release; in ap_queue_create()
1018 aq->ap_dev.device.type = &ap_queue_type; in ap_queue_create()
1019 aq->ap_dev.device_type = device_type; in ap_queue_create()
1022 aq->ap_dev.device.groups = ap_queue_dev_sb_attr_groups; in ap_queue_create()
H A Dzcrypt_msgtype50.c363 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type80()
398 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response()
H A Dzcrypt_api.c580 if (!zq || !try_module_get(zq->queue->ap_dev.device.driver->owner)) in zcrypt_pick_queue()
584 get_device(&zq->queue->ap_dev.device); in zcrypt_pick_queue()
588 *pmod = zq->queue->ap_dev.device.driver->owner; in zcrypt_pick_queue()
600 put_device(&zq->queue->ap_dev.device); in zcrypt_drop_queue()
1242 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask()
1267 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask_ext()
1290 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
H A Dvfio_ap_ops.c1678 if (queue->ap_dev.device.driver == &matrix_dev->vfio_ap_drv->driver) in vfio_ap_find_queue()
1679 q = dev_get_drvdata(&queue->ap_dev.device); in vfio_ap_find_queue()
1681 put_device(&queue->ap_dev.device); in vfio_ap_find_queue()