Home
last modified time | relevance | path

Searched refs:zcrypt_card (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/s390/crypto/
Dzcrypt_card.c44 struct zcrypt_card *zc = to_ap_card(dev)->private; in type_show()
55 struct zcrypt_card *zc = to_ap_card(dev)->private; in online_show()
64 struct zcrypt_card *zc = to_ap_card(dev)->private; in online_store()
89 struct zcrypt_card *zc = to_ap_card(dev)->private; in load_show()
107 struct zcrypt_card *zcrypt_card_alloc(void) in zcrypt_card_alloc()
109 struct zcrypt_card *zc; in zcrypt_card_alloc()
111 zc = kzalloc(sizeof(struct zcrypt_card), GFP_KERNEL); in zcrypt_card_alloc()
121 void zcrypt_card_free(struct zcrypt_card *zc) in zcrypt_card_free()
129 struct zcrypt_card *zdev = in zcrypt_card_release()
130 container_of(kref, struct zcrypt_card, refcount); in zcrypt_card_release()
[all …]
Dzcrypt_api.h83 struct zcrypt_card { struct
104 struct zcrypt_card *zcard; argument
129 struct zcrypt_card *zcrypt_card_alloc(void);
130 void zcrypt_card_free(struct zcrypt_card *);
131 void zcrypt_card_get(struct zcrypt_card *);
132 int zcrypt_card_put(struct zcrypt_card *);
133 int zcrypt_card_register(struct zcrypt_card *);
134 void zcrypt_card_unregister(struct zcrypt_card *);
135 struct zcrypt_card *zcrypt_card_get_best(unsigned int *,
137 void zcrypt_card_put_best(struct zcrypt_card *, unsigned int);
Dzcrypt_api.c155 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue()
169 static inline void zcrypt_drop_queue(struct zcrypt_card *zc, in zcrypt_drop_queue()
183 static inline bool zcrypt_card_compare(struct zcrypt_card *zc, in zcrypt_card_compare()
184 struct zcrypt_card *pref_zc, in zcrypt_card_compare()
218 struct zcrypt_card *zc, *pref_zc; in zcrypt_rsa_modexpo()
292 struct zcrypt_card *zc, *pref_zc; in zcrypt_rsa_crt()
366 struct zcrypt_card *zc, *pref_zc; in zcrypt_send_cprb()
464 struct zcrypt_card *zc, *pref_zc; in zcrypt_send_ep11_cprb()
559 struct zcrypt_card *zc, *pref_zc; in zcrypt_rng()
621 struct zcrypt_card *zc; in zcrypt_device_status_mask()
[all …]
Dzcrypt_queue.c55 struct zcrypt_card *zc = zq->zcard; in online_store()
160 struct zcrypt_card *zc; in zcrypt_queue_register()
210 struct zcrypt_card *zc; in zcrypt_queue_unregister()
Dzcrypt_cex2a.c87 struct zcrypt_card *zc; in zcrypt_cex2a_card_probe()
138 struct zcrypt_card *zc = to_ap_card(&ap_dev->device)->private; in zcrypt_cex2a_card_remove()
DMakefile9 zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
Dzcrypt_pcixcc.c168 struct zcrypt_card *zc; in zcrypt_pcixcc_card_probe()
216 struct zcrypt_card *zc = to_ap_card(&ap_dev->device)->private; in zcrypt_pcixcc_card_remove()
Dzcrypt_cex4.c101 struct zcrypt_card *zc; in zcrypt_cex4_card_probe()
207 struct zcrypt_card *zc = to_ap_card(&ap_dev->device)->private; in zcrypt_cex4_card_remove()