Lines Matching refs:zq
102 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in cca_mkvps_show() local
108 cca_get_info(AP_QID_CARD(zq->queue->qid), in cca_mkvps_show()
109 AP_QID_QUEUE(zq->queue->qid), in cca_mkvps_show()
110 &ci, zq->online); in cca_mkvps_show()
338 struct zcrypt_queue *zq; in zcrypt_cex2c_queue_probe() local
341 zq = zcrypt_queue_alloc(CEX2C_MAX_XCRB_MESSAGE_SIZE); in zcrypt_cex2c_queue_probe()
342 if (!zq) in zcrypt_cex2c_queue_probe()
344 zq->queue = aq; in zcrypt_cex2c_queue_probe()
345 zq->online = 1; in zcrypt_cex2c_queue_probe()
346 atomic_set(&zq->load, 0); in zcrypt_cex2c_queue_probe()
350 zcrypt_queue_free(zq); in zcrypt_cex2c_queue_probe()
354 zq->ops = zcrypt_msgtype(MSGTYPE06_NAME, in zcrypt_cex2c_queue_probe()
357 zq->ops = zcrypt_msgtype(MSGTYPE06_NAME, in zcrypt_cex2c_queue_probe()
360 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex2c_queue_probe()
362 aq->private = zq; in zcrypt_cex2c_queue_probe()
363 rc = zcrypt_queue_register(zq); in zcrypt_cex2c_queue_probe()
366 zcrypt_queue_free(zq); in zcrypt_cex2c_queue_probe()
374 zcrypt_queue_unregister(zq); in zcrypt_cex2c_queue_probe()
376 zcrypt_queue_free(zq); in zcrypt_cex2c_queue_probe()
390 struct zcrypt_queue *zq = aq->private; in zcrypt_cex2c_queue_remove() local
394 if (zq) in zcrypt_cex2c_queue_remove()
395 zcrypt_queue_unregister(zq); in zcrypt_cex2c_queue_remove()