Searched refs:zq (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/s390/crypto/ |
A D | zcrypt_queue.c | 66 zq->online = online; in online_store() 117 zq = kzalloc(sizeof(*zq), GFP_KERNEL); in zcrypt_queue_alloc() 118 if (!zq) in zcrypt_queue_alloc() 121 if (!zq->reply.msg) in zcrypt_queue_alloc() 126 return zq; in zcrypt_queue_alloc() 129 kfree(zq); in zcrypt_queue_alloc() 137 kfree(zq); in zcrypt_queue_free() 174 zq->zcard = zc; in zcrypt_queue_register() 189 if (zq->ops->rng) { in zcrypt_queue_register() 222 zc = zq->zcard; in zcrypt_queue_unregister() [all …]
|
A D | zcrypt_msgtype6.c | 634 AP_QID_QUEUE(zq->queue->qid), in convert_type86_ica() 638 zq->online = 0; in convert_type86_ica() 647 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica() 803 zq->online = 0; in convert_response_ica() 812 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica() 838 zq->online = 0; in convert_response_xcrb() 847 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb() 868 zq->online = 0; in convert_response_ep11_xcrb() 877 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb() 899 zq->online = 0; in convert_response_rng() [all …]
|
A D | zcrypt_cex2a.c | 153 struct zcrypt_queue *zq = NULL; in zcrypt_cex2a_queue_probe() local 159 if (!zq) in zcrypt_cex2a_queue_probe() 164 if (!zq) in zcrypt_cex2a_queue_probe() 168 if (!zq) in zcrypt_cex2a_queue_probe() 171 zq->queue = aq; in zcrypt_cex2a_queue_probe() 172 zq->online = 1; in zcrypt_cex2a_queue_probe() 173 atomic_set(&zq->load, 0); in zcrypt_cex2a_queue_probe() 175 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex2a_queue_probe() 178 rc = zcrypt_queue_register(zq); in zcrypt_cex2a_queue_probe() 180 zcrypt_queue_free(zq); in zcrypt_cex2a_queue_probe() [all …]
|
A D | zcrypt_msgtype50.c | 369 zq->online = 0; in convert_type80() 371 AP_QID_CARD(zq->queue->qid), in convert_type80() 376 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type80() 400 return convert_error(zq, reply); in convert_response_cex2a() 402 return convert_type80(zq, reply, in convert_response_cex2a() 405 zq->online = 0; in convert_response_cex2a() 407 AP_QID_CARD(zq->queue->qid), in convert_response_cex2a() 408 AP_QID_QUEUE(zq->queue->qid), in convert_response_cex2a() 414 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_cex2a() 498 ap_cancel_message(zq->queue, ap_msg); in zcrypt_cex2a_modexpo() [all …]
|
A D | zcrypt_api.c | 619 return zq; in zcrypt_pick_queue() 731 if (!zq->online || !zq->ops->rsa_modexpo || in zcrypt_rsa_modexpo() 732 !zq->queue->config || zq->queue->chkstop) in zcrypt_rsa_modexpo() 841 if (!zq->online || !zq->ops->rsa_modexpo_crt || in zcrypt_rsa_crt() 842 !zq->queue->config || zq->queue->chkstop) in zcrypt_rsa_crt() 969 if (!zq->online || !zq->ops->send_cprb || in _zcrypt_send_cprb() 970 !zq->queue->config || zq->queue->chkstop || in _zcrypt_send_cprb() 1153 if (!zq->online || !zq->ops->send_ep11_cprb || in _zcrypt_send_ep11_cprb() 1154 !zq->queue->config || zq->queue->chkstop || in _zcrypt_send_ep11_cprb() 1252 if (!zq->online || !zq->ops->rng || in zcrypt_rng() [all …]
|
A D | zcrypt_cex2c.c | 110 &ci, zq->online); in cca_mkvps_show() 336 struct zcrypt_queue *zq; in zcrypt_cex2c_queue_probe() local 340 if (!zq) in zcrypt_cex2c_queue_probe() 342 zq->queue = aq; in zcrypt_cex2c_queue_probe() 343 zq->online = 1; in zcrypt_cex2c_queue_probe() 344 atomic_set(&zq->load, 0); in zcrypt_cex2c_queue_probe() 348 zcrypt_queue_free(zq); in zcrypt_cex2c_queue_probe() 363 zcrypt_queue_free(zq); in zcrypt_cex2c_queue_probe() 371 zcrypt_queue_unregister(zq); in zcrypt_cex2c_queue_probe() 372 zcrypt_queue_free(zq); in zcrypt_cex2c_queue_probe() [all …]
|
A D | zcrypt_cex4.c | 123 &ci, zq->online); in cca_mkvps_show() 353 if (zq->online) in ep11_mkvps_show() 400 if (zq->online) in ep11_queue_op_modes_show() 659 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe() local 664 if (!zq) in zcrypt_cex4_queue_probe() 670 if (!zq) in zcrypt_cex4_queue_probe() 676 if (!zq) in zcrypt_cex4_queue_probe() 684 zq->queue = aq; in zcrypt_cex4_queue_probe() 685 zq->online = 1; in zcrypt_cex4_queue_probe() 693 zcrypt_queue_free(zq); in zcrypt_cex4_queue_probe() [all …]
|
A D | zcrypt_card.c | 66 struct zcrypt_queue *zq; in online_store() local 90 list_for_each_entry(zq, &zc->zqueues, list) in online_store() 94 list_for_each_entry(zq, &zc->zqueues, list) in online_store() 95 if (zcrypt_queue_force_online(zq, online)) in online_store() 97 zcrypt_queue_get(zq); in online_store() 98 zq_uelist[i++] = zq; in online_store() 103 zq = zq_uelist[i]; in online_store() 104 ap_send_online_uevent(&zq->queue->ap_dev, online); in online_store() 105 zcrypt_queue_put(zq); in online_store()
|
A D | zcrypt_error.h | 78 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 D | zcrypt_api.h | 148 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online);
|
/linux-6.3-rc2/drivers/memory/ |
A D | emif.c | 309 u32 zq = 0, val = 0; in get_zq_config_reg() local 312 zq |= val << ZQ_REFINTERVAL_SHIFT; in get_zq_config_reg() 315 zq |= val << ZQ_ZQCL_MULT_SHIFT; in get_zq_config_reg() 318 zq |= val << ZQ_ZQINIT_MULT_SHIFT; in get_zq_config_reg() 320 zq |= ZQ_SFEXITEN_ENABLE << ZQ_SFEXITEN_SHIFT; in get_zq_config_reg() 323 zq |= ZQ_DUALCALEN_ENABLE << ZQ_DUALCALEN_SHIFT; in get_zq_config_reg() 325 zq |= ZQ_DUALCALEN_DISABLE << ZQ_DUALCALEN_SHIFT; in get_zq_config_reg() 327 zq |= ZQ_CS0EN_MASK; /* CS0 is used for sure */ in get_zq_config_reg() 330 zq |= val << ZQ_CS1EN_SHIFT; in get_zq_config_reg() 332 return zq; in get_zq_config_reg() [all …]
|
Completed in 31 milliseconds