apqn               60 drivers/s390/crypto/vfio_ap_drv.c 	q->apqn = to_ap_queue(&apdev->device)->qid;
apqn               79 drivers/s390/crypto/vfio_ap_drv.c 	apid = AP_QID_CARD(q->apqn);
apqn               80 drivers/s390/crypto/vfio_ap_drv.c 	apqi = AP_QID_QUEUE(q->apqn);
apqn               33 drivers/s390/crypto/vfio_ap_ops.c 	return (q->apqn == *(int *)(data)) ? 1 : 0;
apqn               49 drivers/s390/crypto/vfio_ap_ops.c 					int apqn)
apqn               54 drivers/s390/crypto/vfio_ap_ops.c 	if (!test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm))
apqn               56 drivers/s390/crypto/vfio_ap_ops.c 	if (!test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm))
apqn               60 drivers/s390/crypto/vfio_ap_ops.c 				 &apqn, match_apqn);
apqn               81 drivers/s390/crypto/vfio_ap_ops.c static void vfio_ap_wait_for_irqclear(int apqn)
apqn               87 drivers/s390/crypto/vfio_ap_ops.c 		status = ap_tapq(apqn, NULL);
apqn              102 drivers/s390/crypto/vfio_ap_ops.c 				  status.response_code, apqn);
apqn              108 drivers/s390/crypto/vfio_ap_ops.c 		  __func__, status.response_code, apqn);
apqn              154 drivers/s390/crypto/vfio_ap_ops.c 		status = ap_aqic(q->apqn, aqic_gisa, NULL);
apqn              158 drivers/s390/crypto/vfio_ap_ops.c 			vfio_ap_wait_for_irqclear(q->apqn);
apqn              231 drivers/s390/crypto/vfio_ap_ops.c 	status = ap_aqic(q->apqn, aqic_gisa, (void *)h_nib);
apqn              245 drivers/s390/crypto/vfio_ap_ops.c 		pr_warn("%s: apqn %04x: response: %02x\n", __func__, q->apqn,
apqn              278 drivers/s390/crypto/vfio_ap_ops.c 	uint16_t apqn;
apqn              288 drivers/s390/crypto/vfio_ap_ops.c 	apqn = vcpu->run->s.regs.gprs[0] & 0xffff;
apqn              296 drivers/s390/crypto/vfio_ap_ops.c 	q = vfio_ap_get_queue(matrix_mdev, apqn);
apqn             1117 drivers/s390/crypto/vfio_ap_ops.c static void vfio_ap_irq_disable_apqn(int apqn)
apqn             1123 drivers/s390/crypto/vfio_ap_ops.c 				 &apqn, match_apqn);
apqn             1136 drivers/s390/crypto/vfio_ap_ops.c 	int apqn = AP_MKQID(apid, apqi);
apqn             1139 drivers/s390/crypto/vfio_ap_ops.c 		status = ap_zapq(apqn);
apqn             1144 drivers/s390/crypto/vfio_ap_ops.c 				status = ap_tapq(apqn, NULL);
apqn               99 drivers/s390/crypto/vfio_ap_private.h 	int	apqn;