Searched refs:ap_dev (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/s390/crypto/ |
H A D | ap_bus.h | 174 struct ap_device ap_dev; member 186 #define to_ap_card(x) container_of((x), struct ap_card, ap_dev.device) 189 struct ap_device ap_dev; member 213 #define to_ap_queue(x) container_of((x), struct ap_queue, ap_dev.device) 372 void ap_send_config_uevent(struct ap_device *ap_dev, bool cfg); 373 void ap_send_online_uevent(struct ap_device *ap_dev, int online);
|
H A D | zcrypt_queue.c | 74 ap_send_online_uevent(&aq->ap_dev, online); in online_store() 174 zc = dev_get_drvdata(&zq->queue->card->ap_dev.device); in zcrypt_queue_register() 186 rc = sysfs_create_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_register() 199 sysfs_remove_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_register() 230 sysfs_remove_group(&zq->queue->ap_dev.device.kobj, in zcrypt_queue_unregister()
|
H A D | ap_card.c | 27 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 D | ap_bus.c | 655 const struct ap_device *ap_dev = to_ap_dev(dev); in ap_uevent() local 662 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent() 665 rc = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); in ap_uevent() 669 rc = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); in ap_uevent() 683 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent() 716 void ap_send_config_uevent(struct ap_device *ap_dev, bool cfg) in ap_send_config_uevent() argument 723 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); in ap_send_config_uevent() 727 void ap_send_online_uevent(struct ap_device *ap_dev, int online) in ap_send_online_uevent() argument 734 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); in ap_send_online_uevent() 938 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_probe() local [all …]
|
H A D | zcrypt_card.c | 82 ap_send_online_uevent(&ac->ap_dev, online); in online_store() 105 ap_send_online_uevent(&zq->queue->ap_dev, online); in online_store() 196 rc = sysfs_create_group(&zc->card->ap_dev.device.kobj, in zcrypt_card_register() 222 sysfs_remove_group(&zc->card->ap_dev.device.kobj, in zcrypt_card_unregister()
|
H A D | ap_queue.c | 1121 aq->ap_dev.device.release = ap_queue_device_release; in ap_queue_create() 1122 aq->ap_dev.device.type = &ap_queue_type; in ap_queue_create() 1123 aq->ap_dev.device_type = ac->ap_dev.device_type; in ap_queue_create() 1126 aq->ap_dev.device.groups = ap_queue_dev_sb_attr_groups; in ap_queue_create()
|
H A D | zcrypt_api.c | 583 if (!zq || !try_module_get(zq->queue->ap_dev.device.driver->owner)) in zcrypt_pick_queue() 587 get_device(&zq->queue->ap_dev.device); in zcrypt_pick_queue() 591 *pmod = zq->queue->ap_dev.device.driver->owner; in zcrypt_pick_queue() 603 put_device(&zq->queue->ap_dev.device); in zcrypt_drop_queue() 1299 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask() 1327 stat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_mask_ext() 1350 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
|