Lines Matching defs:aq
603 struct ap_queue *aq = to_ap_queue(&ap_dev->device);
607 if (ap_test_bit(&aq->card->functions, AP_FUNC_ACCEL)) {
613 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) {
619 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) {
629 zq->queue = aq;
632 ap_queue_init_state(aq);
633 ap_queue_init_reply(aq, &zq->reply);
634 aq->request_timeout = CEX4_CLEANUP_TIME,
635 aq->private = zq;
638 aq->private = NULL;
643 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) {
648 aq->private = NULL;
651 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) {
656 aq->private = NULL;
670 struct ap_queue *aq = to_ap_queue(&ap_dev->device);
671 struct zcrypt_queue *zq = aq->private;
673 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO))
675 else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11))