Lines Matching refs:aq
597 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe() local
601 if (ap_test_bit(&aq->card->functions, AP_FUNC_ACCEL)) { in zcrypt_cex4_queue_probe()
602 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
607 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_queue_probe()
608 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
613 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) { in zcrypt_cex4_queue_probe()
614 zq = zcrypt_queue_alloc(aq->card->maxmsgsize); in zcrypt_cex4_queue_probe()
623 zq->queue = aq; in zcrypt_cex4_queue_probe()
626 ap_queue_init_state(aq); in zcrypt_cex4_queue_probe()
627 ap_queue_init_reply(aq, &zq->reply); in zcrypt_cex4_queue_probe()
628 aq->request_timeout = CEX4_CLEANUP_TIME; in zcrypt_cex4_queue_probe()
636 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_queue_probe()
643 } else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) { in zcrypt_cex4_queue_probe()
662 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_remove() local
664 if (ap_test_bit(&aq->card->functions, AP_FUNC_COPRO)) in zcrypt_cex4_queue_remove()
666 else if (ap_test_bit(&aq->card->functions, AP_FUNC_EP11)) in zcrypt_cex4_queue_remove()