Lines Matching defs:aq
649 struct ap_queue *aq = to_ap_queue(&ap_dev->device);
653 if (ap_test_bit(&aq->card->functions, AP_FUNC_ACCEL)) {
654 zq = zcrypt_queue_alloc(aq->card->maxmsgsize);
659 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) {
660 zq = zcrypt_queue_alloc(aq->card->maxmsgsize);
665 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) {
666 zq = zcrypt_queue_alloc(aq->card->maxmsgsize);
675 zq->queue = aq;
678 ap_queue_init_state(aq);
679 ap_queue_init_reply(aq, &zq->reply);
680 aq->request_timeout = CEX4_CLEANUP_TIME;
688 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) {
695 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) {
714 struct ap_queue *aq = to_ap_queue(&ap_dev->device);
716 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO))
718 else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11))