Lines Matching refs:zq

113 	struct zcrypt_queue *zq = dev_get_drvdata(dev);  in cca_mkvps_show()  local
121 cca_get_info(AP_QID_CARD(zq->queue->qid), in cca_mkvps_show()
122 AP_QID_QUEUE(zq->queue->qid), in cca_mkvps_show()
123 &ci, zq->online); in cca_mkvps_show()
339 struct zcrypt_queue *zq = dev_get_drvdata(dev); in ep11_mkvps_show() local
348 if (zq->online) in ep11_mkvps_show()
349 ep11_get_domain_info(AP_QID_CARD(zq->queue->qid), in ep11_mkvps_show()
350 AP_QID_QUEUE(zq->queue->qid), in ep11_mkvps_show()
389 struct zcrypt_queue *zq = dev_get_drvdata(dev); in ep11_queue_op_modes_show() local
395 if (zq->online) in ep11_queue_op_modes_show()
396 ep11_get_domain_info(AP_QID_CARD(zq->queue->qid), in ep11_queue_op_modes_show()
397 AP_QID_QUEUE(zq->queue->qid), in ep11_queue_op_modes_show()
653 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe() local
657 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
658 if (!zq) in zcrypt_cex4_queue_probe()
660 zq->ops = zcrypt_msgtype(MSGTYPE50_NAME, in zcrypt_cex4_queue_probe()
663 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
664 if (!zq) in zcrypt_cex4_queue_probe()
666 zq->ops = zcrypt_msgtype(MSGTYPE06_NAME, in zcrypt_cex4_queue_probe()
669 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
670 if (!zq) in zcrypt_cex4_queue_probe()
672 zq->ops = zcrypt_msgtype(MSGTYPE06_NAME, in zcrypt_cex4_queue_probe()
678 zq->queue = aq; in zcrypt_cex4_queue_probe()
679 zq->online = 1; in zcrypt_cex4_queue_probe()
680 atomic_set(&zq->load, 0); in zcrypt_cex4_queue_probe()
682 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex4_queue_probe()
684 dev_set_drvdata(&ap_dev->device, zq); in zcrypt_cex4_queue_probe()
685 rc = zcrypt_queue_register(zq); in zcrypt_cex4_queue_probe()
687 zcrypt_queue_free(zq); in zcrypt_cex4_queue_probe()
695 zcrypt_queue_unregister(zq); in zcrypt_cex4_queue_probe()
696 zcrypt_queue_free(zq); in zcrypt_cex4_queue_probe()
702 zcrypt_queue_unregister(zq); in zcrypt_cex4_queue_probe()
703 zcrypt_queue_free(zq); in zcrypt_cex4_queue_probe()
716 struct zcrypt_queue *zq = dev_get_drvdata(&ap_dev->device); in zcrypt_cex4_queue_remove() local
724 zcrypt_queue_unregister(zq); in zcrypt_cex4_queue_remove()