Searched refs:ap_dev (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/s390/crypto/ |
A D | zcrypt_cex2a.c | 73 static int zcrypt_cex2a_card_probe(struct ap_device *ap_dev) in zcrypt_cex2a_card_probe() argument 84 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex2a_card_probe() 92 dev_set_drvdata(&ap_dev->device, zc); in zcrypt_cex2a_card_probe() 94 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX2A) { in zcrypt_cex2a_card_probe() 101 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX3A) { in zcrypt_cex2a_card_probe() 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() [all …]
|
A D | zcrypt_cex4.c | 436 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_probe() 444 dev_set_drvdata(&ap_dev->device, zc); in zcrypt_cex4_card_probe() 446 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe() 547 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_card_probe() 554 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_card_probe() 572 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_remove() 597 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe() 629 dev_set_drvdata(&ap_dev->device, zq); in zcrypt_cex4_queue_probe() 637 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_queue_probe() 644 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex4_queue_probe() [all …]
|
A D | zcrypt_cex2c.c | 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() 264 dev_set_drvdata(&ap_dev->device, zc); in zcrypt_cex2c_card_probe() 265 switch (ac->ap_dev.device_type) { in zcrypt_cex2c_card_probe() 295 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex2c_card_probe() 312 struct zcrypt_card *zc = dev_get_drvdata(&ap_dev->device); in zcrypt_cex2c_card_remove() 313 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex2c_card_remove() 335 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_probe() 360 dev_set_drvdata(&ap_dev->device, zq); in zcrypt_cex2c_queue_probe() 368 rc = sysfs_create_group(&ap_dev->device.kobj, in zcrypt_cex2c_queue_probe() [all …]
|
A D | ap_bus.h | 160 struct ap_device ap_dev; member 170 #define to_ap_card(x) container_of((x), struct ap_card, ap_dev.device) 173 struct ap_device ap_dev; member 194 #define to_ap_queue(x) container_of((x), struct ap_queue, ap_dev.device) 361 void ap_send_config_uevent(struct ap_device *ap_dev, bool cfg); 362 void ap_send_online_uevent(struct ap_device *ap_dev, int online);
|
A D | ap_bus.c | 603 struct ap_device *ap_dev = to_ap_dev(dev); in ap_uevent() local 610 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent() 852 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_probe() local 902 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_remove() local 911 ap_drv->remove(ap_dev); in ap_device_remove() 934 get_device(&aq->ap_dev.device); in ap_get_qdev() 1517 device_unregister(&ac->ap_dev.device); in ap_scan_rm_card_dev_and_queue_devs() 1575 dev = &aq->ap_dev.device; in ap_scan_domains() 1577 dev->parent = &ac->ap_dev.device; in ap_scan_domains() 1759 dev = &ac->ap_dev.device; in ap_scan_adapter() [all …]
|
A D | zcrypt_queue.c | 72 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()
|
A D | ap_card.c | 27 return scnprintf(buf, PAGE_SIZE, "%d\n", ac->ap_dev.device_type); in hwtype_show() 170 ap_send_config_uevent(&ac->ap_dev, ac->config); in config_store() 230 ac->ap_dev.device.release = ap_card_device_release; in ap_card_create() 231 ac->ap_dev.device.type = &ap_card_type; in ap_card_create() 232 ac->ap_dev.device_type = comp_type; in ap_card_create()
|
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()
|
A D | zcrypt_msgtype6.c | 667 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica() 813 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica() 848 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb() 878 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb() 909 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_rng()
|
A D | ap_queue.c | 771 aq->ap_dev.device.release = ap_queue_device_release; in ap_queue_create() 772 aq->ap_dev.device.type = &ap_queue_type; in ap_queue_create() 773 aq->ap_dev.device_type = device_type; in ap_queue_create()
|
A D | zcrypt_api.c | 574 if (!zq || !try_module_get(zq->queue->ap_dev.device.driver->owner)) in zcrypt_pick_queue() 577 get_device(&zq->queue->ap_dev.device); in zcrypt_pick_queue() 581 *pmod = zq->queue->ap_dev.device.driver->owner; in zcrypt_pick_queue() 593 put_device(&zq->queue->ap_dev.device); in zcrypt_drop_queue() 1228 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask() 1253 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask_ext() 1276 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
|
A D | zcrypt_msgtype50.c | 376 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type80() 414 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_cex2a()
|
Completed in 25 milliseconds