Home
last modified time | relevance | path

Searched refs:apqn (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dvfio_ap_ops.c37 static struct vfio_ap_queue *vfio_ap_find_queue(int apqn);
136 * @apqn: the APQN of a queue device.
144 * Note: If @apqn is not assigned to a matrix_mdev, the matrix_mdev->kvm->lock
147 * Return: the ap_matrix_mdev object to which @apqn is assigned or NULL if @apqn
150 static struct ap_matrix_mdev *get_update_locks_by_apqn(int apqn) in get_update_locks_by_apqn() argument
157 if (test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm) && in get_update_locks_by_apqn()
158 test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm)) { in get_update_locks_by_apqn()
201 * @apqn: The APQN of a queue device
208 int apqn) in vfio_ap_mdev_get_queue()
206 vfio_ap_mdev_get_queue( struct ap_matrix_mdev *matrix_mdev, int apqn) vfio_ap_mdev_get_queue() argument
231 vfio_ap_wait_for_irqclear(int apqn) vfio_ap_wait_for_irqclear() argument
569 uint16_t apqn; handle_pqap() local
684 unsigned long apid, apqi, apqn; vfio_ap_mdev_filter_matrix() local
787 vfio_ap_mdev_link_apqn(struct ap_matrix_mdev *matrix_mdev, int apqn) vfio_ap_mdev_link_apqn() argument
1669 vfio_ap_find_queue(int apqn) vfio_ap_find_queue() argument
1686 apq_status_check(int apqn, struct ap_queue_status *status) apq_status_check() argument
[all...]
H A Dvfio_ap_private.h133 * @apqn: the APQN of the AP queue device
144 int apqn; member
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dvfio_ap_ops.c28 static struct vfio_ap_queue *vfio_ap_find_queue(int apqn);
34 return (q->apqn == *(int *)(data)) ? 1 : 0; in match_apqn()
40 * @apqn: The queue APQN
50 int apqn) in vfio_ap_get_queue()
54 if (!test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm)) in vfio_ap_get_queue()
56 if (!test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm)) in vfio_ap_get_queue()
59 q = vfio_ap_find_queue(apqn); in vfio_ap_get_queue()
68 * @apqn: The AP Queue number
77 static void vfio_ap_wait_for_irqclear(int apqn) in vfio_ap_wait_for_irqclear() argument
83 status = ap_tapq(apqn, NUL in vfio_ap_wait_for_irqclear()
48 vfio_ap_get_queue( struct ap_matrix_mdev *matrix_mdev, int apqn) vfio_ap_get_queue() argument
279 uint16_t apqn; handle_pqap() local
1118 vfio_ap_find_queue(int apqn) vfio_ap_find_queue() argument
[all...]
H A Dvfio_ap_private.h94 int apqn; member
H A Dvfio_ap_drv.c60 q->apqn = to_ap_queue(&apdev->device)->qid; in vfio_ap_queue_dev_probe()

Completed in 5 milliseconds