Home
last modified time | relevance | path

Searched refs:zq (Results 1 – 9 of 9) sorted by relevance

/drivers/s390/crypto/
A Dzcrypt_queue.c68 zq->online = online; in online_store()
119 zq = kzalloc(sizeof(*zq), GFP_KERNEL); in zcrypt_queue_alloc()
120 if (!zq) in zcrypt_queue_alloc()
123 if (!zq->reply.msg) in zcrypt_queue_alloc()
128 return zq; in zcrypt_queue_alloc()
131 kfree(zq); in zcrypt_queue_alloc()
139 kfree(zq); in zcrypt_queue_free()
176 zq->zcard = zc; in zcrypt_queue_register()
191 if (zq->ops->rng) { in zcrypt_queue_register()
224 zc = zq->zcard; in zcrypt_queue_unregister()
[all …]
A Dzcrypt_msgtype6.c586 zq->online = 0; in convert_type86_ica()
595 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica()
728 zq->online = 0; in convert_response_ica()
737 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica()
763 zq->online = 0; in convert_response_xcrb()
772 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb()
793 zq->online = 0; in convert_response_ep11_xcrb()
802 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb()
824 zq->online = 0; in convert_response_rng()
833 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_rng()
[all …]
A Dzcrypt_msgtype50.c356 zq->online = 0; in convert_type80()
358 AP_QID_CARD(zq->queue->qid), in convert_type80()
363 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type80()
384 return convert_error(zq, reply); in convert_response()
386 return convert_type80(zq, reply, in convert_response()
389 zq->online = 0; in convert_response()
398 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response()
479 rc = convert_response(zq, ap_msg, in zcrypt_msgtype50_modexpo()
490 AP_QID_CARD(zq->queue->qid), in zcrypt_msgtype50_modexpo()
528 rc = convert_response(zq, ap_msg, in zcrypt_msgtype50_modexpo_crt()
[all …]
A Dzcrypt_api.c592 return zq; in zcrypt_pick_queue()
701 if (!zq->online || !zq->ops->rsa_modexpo || in zcrypt_rsa_modexpo()
716 pref_zq = zq; in zcrypt_rsa_modexpo()
806 if (!zq->online || !zq->ops->rsa_modexpo_crt || in zcrypt_rsa_crt()
821 pref_zq = zq; in zcrypt_rsa_crt()
930 if (!zq->online || !zq->ops->send_cprb || in _zcrypt_send_cprb()
947 pref_zq = zq; in _zcrypt_send_cprb()
1126 if (!zq->online || !zq->ops->send_ep11_cprb || in _zcrypt_send_ep11_cprb()
1144 pref_zq = zq; in _zcrypt_send_ep11_cprb()
1248 if (!zq->online || !zq->ops->rng || in zcrypt_rng()
[all …]
A Dzcrypt_cex4.c343 if (zq->online) in ep11_mkvps_show()
390 if (zq->online) in ep11_queue_op_modes_show()
648 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe() local
653 if (!zq) in zcrypt_cex4_queue_probe()
659 if (!zq) in zcrypt_cex4_queue_probe()
665 if (!zq) in zcrypt_cex4_queue_probe()
673 zq->queue = aq; in zcrypt_cex4_queue_probe()
674 zq->online = 1; in zcrypt_cex4_queue_probe()
682 zcrypt_queue_free(zq); in zcrypt_cex4_queue_probe()
691 zcrypt_queue_free(zq); in zcrypt_cex4_queue_probe()
[all …]
A Dzcrypt_card.c67 struct zcrypt_queue *zq; in online_store() local
91 list_for_each_entry(zq, &zc->zqueues, list) in online_store()
95 list_for_each_entry(zq, &zc->zqueues, list) in online_store()
96 if (zcrypt_queue_force_online(zq, online)) in online_store()
98 zcrypt_queue_get(zq); in online_store()
99 zq_uelist[i++] = zq; in online_store()
104 zq = zq_uelist[i]; in online_store()
105 ap_send_online_uevent(&zq->queue->ap_dev, online); in online_store()
106 zcrypt_queue_put(zq); in online_store()
A Dzcrypt_error.h78 static inline int convert_error(struct zcrypt_queue *zq, in convert_error() argument
82 int card = AP_QID_CARD(zq->queue->qid); in convert_error()
83 int queue = AP_QID_QUEUE(zq->queue->qid); in convert_error()
A Dzcrypt_api.h163 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online);
/drivers/memory/
A Demif.c301 u32 zq = 0, val = 0; in get_zq_config_reg() local
304 zq |= val << ZQ_REFINTERVAL_SHIFT; in get_zq_config_reg()
307 zq |= val << ZQ_ZQCL_MULT_SHIFT; in get_zq_config_reg()
310 zq |= val << ZQ_ZQINIT_MULT_SHIFT; in get_zq_config_reg()
312 zq |= ZQ_SFEXITEN_ENABLE << ZQ_SFEXITEN_SHIFT; in get_zq_config_reg()
315 zq |= ZQ_DUALCALEN_ENABLE << ZQ_DUALCALEN_SHIFT; in get_zq_config_reg()
317 zq |= ZQ_DUALCALEN_DISABLE << ZQ_DUALCALEN_SHIFT; in get_zq_config_reg()
319 zq |= ZQ_CS0EN_MASK; /* CS0 is used for sure */ in get_zq_config_reg()
322 zq |= val << ZQ_CS1EN_SHIFT; in get_zq_config_reg()
324 return zq; in get_zq_config_reg()
[all …]

Completed in 36 milliseconds