Searched refs:zq (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/s390/crypto/ |
| A D | zcrypt_queue.c | 67 zq->online = online; in online_store() 118 zq = kzalloc(sizeof(*zq), GFP_KERNEL); in zcrypt_queue_alloc() 119 if (!zq) in zcrypt_queue_alloc() 122 if (!zq->reply.msg) in zcrypt_queue_alloc() 127 return zq; in zcrypt_queue_alloc() 130 kfree(zq); in zcrypt_queue_alloc() 138 kfree(zq); in zcrypt_queue_free() 175 zq->zcard = zc; in zcrypt_queue_register() 190 if (zq->ops->rng) { in zcrypt_queue_register() 223 zc = zq->zcard; in zcrypt_queue_unregister() [all …]
|
| A D | zcrypt_msgtype6.c | 591 zq->online = 0; in convert_type86_ica() 600 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica() 733 zq->online = 0; in convert_response_ica() 742 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica() 768 zq->online = 0; in convert_response_xcrb() 777 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb() 798 zq->online = 0; in convert_response_ep11_xcrb() 807 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb() 829 zq->online = 0; in convert_response_rng() 838 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_rng() [all …]
|
| A D | zcrypt_msgtype50.c | 356 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() 491 AP_QID_CARD(zq->queue->qid), in zcrypt_msgtype50_modexpo() 529 rc = convert_response(zq, ap_msg, in zcrypt_msgtype50_modexpo_crt() [all …]
|
| A D | zcrypt_api.c | 587 return zq; in zcrypt_pick_queue() 695 if (!zq->online || !zq->ops->rsa_modexpo || in zcrypt_rsa_modexpo() 710 pref_zq = zq; in zcrypt_rsa_modexpo() 799 if (!zq->online || !zq->ops->rsa_modexpo_crt || in zcrypt_rsa_crt() 814 pref_zq = zq; in zcrypt_rsa_crt() 918 if (!zq->online || !zq->ops->send_cprb || in _zcrypt_send_cprb() 935 pref_zq = zq; in _zcrypt_send_cprb() 1114 if (!zq->online || !zq->ops->send_ep11_cprb || in _zcrypt_send_ep11_cprb() 1132 pref_zq = zq; in _zcrypt_send_ep11_cprb() 1234 if (!zq->online || !zq->ops->rng || in zcrypt_rng() [all …]
|
| A D | zcrypt_cex4.c | 123 &ci, zq->online); in cca_mkvps_show() 348 if (zq->online) in ep11_mkvps_show() 395 if (zq->online) in ep11_queue_op_modes_show() 653 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe() local 658 if (!zq) in zcrypt_cex4_queue_probe() 664 if (!zq) in zcrypt_cex4_queue_probe() 670 if (!zq) in zcrypt_cex4_queue_probe() 678 zq->queue = aq; in zcrypt_cex4_queue_probe() 679 zq->online = 1; in zcrypt_cex4_queue_probe() 687 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 | 154 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online);
|
| /linux/drivers/memory/ |
| A D | emif.c | 300 u32 zq = 0, val = 0; in get_zq_config_reg() local 303 zq |= val << ZQ_REFINTERVAL_SHIFT; in get_zq_config_reg() 306 zq |= val << ZQ_ZQCL_MULT_SHIFT; in get_zq_config_reg() 309 zq |= val << ZQ_ZQINIT_MULT_SHIFT; in get_zq_config_reg() 311 zq |= ZQ_SFEXITEN_ENABLE << ZQ_SFEXITEN_SHIFT; in get_zq_config_reg() 314 zq |= ZQ_DUALCALEN_ENABLE << ZQ_DUALCALEN_SHIFT; in get_zq_config_reg() 316 zq |= ZQ_DUALCALEN_DISABLE << ZQ_DUALCALEN_SHIFT; in get_zq_config_reg() 318 zq |= ZQ_CS0EN_MASK; /* CS0 is used for sure */ in get_zq_config_reg() 321 zq |= val << ZQ_CS1EN_SHIFT; in get_zq_config_reg() 323 return zq; in get_zq_config_reg() [all …]
|
Completed in 615 milliseconds