Lines Matching defs:aq
181 static int zcrypt_cex2c_rng_supported(struct ap_queue *aq)
210 msg->cprbx.domain = AP_QID_QUEUE(aq->qid);
212 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.msg, ap_msg.len);
219 rc = ap_recv(aq->qid, &psmid, ap_msg.msg, 4096);
337 struct ap_queue *aq = to_ap_queue(&ap_dev->device);
344 zq->queue = aq;
347 ap_rapq(aq->qid);
348 rc = zcrypt_cex2c_rng_supported(aq);
359 ap_queue_init_state(aq);
360 ap_queue_init_reply(aq, &zq->reply);
361 aq->request_timeout = CEX2C_CLEANUP_TIME;
362 aq->private = zq;
365 aq->private = NULL;
370 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) {
375 aq->private = NULL;
389 struct ap_queue *aq = to_ap_queue(&ap_dev->device);
390 struct zcrypt_queue *zq = aq->private;
392 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO))