Home
last modified time | relevance | path

Searched refs:num_ctx (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/iommu/
Dipmmu-vmsa.c61 unsigned int num_ctx; member
328 ret = find_first_zero_bit(mmu->ctx, mmu->num_ctx); in ipmmu_domain_allocate_context()
329 if (ret != mmu->num_ctx) { in ipmmu_domain_allocate_context()
538 for (i = 0; i < mmu->num_ctx; i++) { in ipmmu_irq()
880 for (i = 0; i < mmu->num_ctx; ++i) in ipmmu_device_reset()
1020 mmu->num_ctx = min(IPMMU_CTX_MAX, mmu->features->number_of_contexts); in ipmmu_probe()
1108 for (i = 0; i < mmu->num_ctx; i++) { in ipmmu_resume_noirq()
/linux-6.6.21/drivers/input/touchscreen/
Diqs7211.c356 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.6.21/drivers/infiniband/hw/erdma/
Derdma.h213 atomic_t num_ctx; member
Derdma_main.c531 atomic_set(&dev->num_ctx, 0); in erdma_ib_device_add()
Derdma_verbs.c1436 if (atomic_inc_return(&dev->num_ctx) > ERDMA_MAX_CONTEXT) { in erdma_alloc_ucontext()
1491 atomic_dec(&dev->num_ctx); in erdma_alloc_ucontext()
1502 atomic_dec(&dev->num_ctx); in erdma_dealloc_ucontext()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_verbs.c87 if (atomic_inc_return(&sdev->num_ctx) > SIW_MAX_CONTEXT) { in siw_alloc_ucontext()
104 atomic_read(&sdev->num_ctx)); in siw_alloc_ucontext()
109 atomic_dec(&sdev->num_ctx); in siw_alloc_ucontext()
111 atomic_read(&sdev->num_ctx)); in siw_alloc_ucontext()
120 atomic_dec(&uctx->sdev->num_ctx); in siw_dealloc_ucontext()
Dsiw_main.c352 atomic_set(&sdev->num_ctx, 0); in siw_device_create()
Dsiw.h96 atomic_t num_ctx; member
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_vma.c155 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.6.21/drivers/net/wireless/ath/ath10k/
Dmac.c1234 int num_ctx; in ath10k_mac_monitor_vdev_is_needed() local
1239 num_ctx = ath10k_mac_num_chanctxs(ar); in ath10k_mac_monitor_vdev_is_needed()
1240 if (num_ctx == 0) in ath10k_mac_monitor_vdev_is_needed()
1258 int num_ctx; in ath10k_mac_monitor_vdev_is_allowed() local
1260 num_ctx = ath10k_mac_num_chanctxs(ar); in ath10k_mac_monitor_vdev_is_allowed()
1266 if (test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags) && num_ctx > 1) in ath10k_mac_monitor_vdev_is_allowed()