Searched refs:num_ctx (Results 1 – 3 of 3) sorted by relevance
157 vdev->num_ctx = 1; in vfio_intx_enable()235 vdev->num_ctx = 0; in vfio_intx_disable()293 vdev->num_ctx = nvec; in vfio_msi_enable()317 if (vector >= vdev->num_ctx) in vfio_msi_set_vector_signal()382 if (start + count > vdev->num_ctx) in vfio_msi_set_block()403 vfio_msi_set_block(vdev, 0, vdev->num_ctx, NULL, msix); in vfio_msi_disable()405 for (i = 0; i < vdev->num_ctx; i++) { in vfio_msi_disable()417 vdev->num_ctx = 0; in vfio_msi_disable()548 if (!irq_is(vdev, index) || start + count > vdev->num_ctx) in vfio_pci_set_msi_trigger()
46 int num_ctx; member
1056 int num_ctx; in ath10k_mac_monitor_vdev_is_needed() local1061 num_ctx = ath10k_mac_num_chanctxs(ar); in ath10k_mac_monitor_vdev_is_needed()1062 if (num_ctx == 0) in ath10k_mac_monitor_vdev_is_needed()1078 int num_ctx; in ath10k_mac_monitor_vdev_is_allowed() local1080 num_ctx = ath10k_mac_num_chanctxs(ar); in ath10k_mac_monitor_vdev_is_allowed()1086 if (test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags) && num_ctx > 1) in ath10k_mac_monitor_vdev_is_allowed()