Searched refs:num_ctx (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/iommu/ |
D | ipmmu-vmsa.c | 61 unsigned int num_ctx; member 339 ret = find_first_zero_bit(mmu->ctx, mmu->num_ctx); in ipmmu_domain_allocate_context() 340 if (ret != mmu->num_ctx) { in ipmmu_domain_allocate_context() 549 for (i = 0; i < mmu->num_ctx; i++) { in ipmmu_irq() 907 for (i = 0; i < mmu->num_ctx; ++i) in ipmmu_device_reset() 1045 mmu->num_ctx = min(IPMMU_CTX_MAX, mmu->features->number_of_contexts); in ipmmu_probe() 1132 for (i = 0; i < mmu->num_ctx; i++) { in ipmmu_resume_noirq()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | iqs7211.c | 356 int num_ctx; member 400 .num_ctx = IQS7211_MAX_CTX - 1, 435 .num_ctx = IQS7211_MAX_CTX - 1, 472 .num_ctx = IQS7211_MAX_CTX, 1587 dev_desc->num_ctx); in iqs7211_init_device() 1906 } else if (count > dev_desc->num_ctx) { in iqs7211_parse_tp() 1919 if (pins[i] >= dev_desc->num_ctx) { in iqs7211_parse_tp() 1992 } else if (count > dev_desc->num_ctx) { in iqs7211_parse_alp() 2008 reg_field.mask = GENMASK(dev_desc->num_ctx - 1, 0); in iqs7211_parse_alp() 2012 if (pins[i] >= dev_desc->num_ctx) { in iqs7211_parse_alp() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/erdma/ |
D | erdma.h | 213 atomic_t num_ctx; member
|
D | erdma_verbs.c | 1440 if (atomic_inc_return(&dev->num_ctx) > ERDMA_MAX_CONTEXT) { in erdma_alloc_ucontext() 1495 atomic_dec(&dev->num_ctx); in erdma_alloc_ucontext() 1506 atomic_dec(&dev->num_ctx); in erdma_dealloc_ucontext()
|
D | erdma_main.c | 565 atomic_set(&dev->num_ctx, 0); in erdma_ib_device_add()
|
/linux-6.12.1/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 93 if (atomic_inc_return(&sdev->num_ctx) > SIW_MAX_CONTEXT) { in siw_alloc_ucontext() 110 atomic_read(&sdev->num_ctx)); in siw_alloc_ucontext() 115 atomic_dec(&sdev->num_ctx); in siw_alloc_ucontext() 117 atomic_read(&sdev->num_ctx)); in siw_alloc_ucontext() 126 atomic_dec(&uctx->sdev->num_ctx); in siw_dealloc_ucontext()
|
D | siw_main.c | 350 atomic_set(&sdev->num_ctx, 0); in siw_device_create()
|
D | siw.h | 96 atomic_t num_ctx; member
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | i915_vma.c | 155 unsigned long num_obj, num_ctx; in igt_vma_create() local 177 for_each_prime_number(num_ctx, 2 * BITS_PER_LONG) { in igt_vma_create() 178 for (; nc < num_ctx; nc++) { in igt_vma_create()
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 1229 int num_ctx; in ath10k_mac_monitor_vdev_is_needed() local 1234 num_ctx = ath10k_mac_num_chanctxs(ar); in ath10k_mac_monitor_vdev_is_needed() 1235 if (num_ctx == 0) in ath10k_mac_monitor_vdev_is_needed() 1253 int num_ctx; in ath10k_mac_monitor_vdev_is_allowed() local 1255 num_ctx = ath10k_mac_num_chanctxs(ar); in ath10k_mac_monitor_vdev_is_allowed() 1261 if (test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags) && num_ctx > 1) in ath10k_mac_monitor_vdev_is_allowed()
|