Lines Matching defs:apqn
28 static struct vfio_ap_queue *vfio_ap_find_queue(int apqn);
34 return (q->apqn == *(int *)(data)) ? 1 : 0;
40 * @apqn: The queue APQN
50 int apqn)
54 if (!test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm))
56 if (!test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm))
59 q = vfio_ap_find_queue(apqn);
68 * @apqn: The AP Queue number
77 static void vfio_ap_wait_for_irqclear(int apqn)
83 status = ap_tapq(apqn, NULL);
98 status.response_code, apqn);
104 __func__, status.response_code, apqn);
155 status = ap_aqic(q->apqn, aqic_gisa, NULL);
159 vfio_ap_wait_for_irqclear(q->apqn);
232 status = ap_aqic(q->apqn, aqic_gisa, (void *)h_nib);
246 pr_warn("%s: apqn %04x: response: %02x\n", __func__, q->apqn,
279 uint16_t apqn;
289 apqn = vcpu->run->s.regs.gprs[0] & 0xffff;
297 q = vfio_ap_get_queue(matrix_mdev, apqn);
1118 static struct vfio_ap_queue *vfio_ap_find_queue(int apqn)
1124 &apqn, match_apqn);
1144 status = ap_zapq(q->apqn);
1174 status = ap_tapq(q->apqn, NULL);