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