Lines Matching refs:num_irqs
188 if (num < 0 || num >= ctx->num_irqs) { in afu_map_irq()
257 if (num < 0 || num >= ctx->num_irqs) { in afu_unmap_irq()
294 if (irq < 0 || irq >= ctx->num_irqs) in ocxlflash_get_irq_objhndl()
600 for (i = ctx->num_irqs; i >= 0; i--) in free_afu_irqs()
654 ctx->num_irqs = num; in alloc_afu_irqs()
1068 bit = find_first_bit(&ctx->irq_bitmap, ctx->num_irqs); in afu_read()
1071 if (bitmap_empty(&ctx->irq_bitmap, ctx->num_irqs)) in afu_read()
1111 for (i = ctx->num_irqs; i >= 0; i--) in afu_release()
1280 for (i = 0; i < ctx->num_irqs; i++) { in ocxlflash_afu_irq()
1284 if (unlikely(i >= ctx->num_irqs)) { in ocxlflash_afu_irq()
1306 static int ocxlflash_start_work(void *ctx_cookie, u64 num_irqs) in ocxlflash_start_work() argument
1315 rc = alloc_afu_irqs(ctx, num_irqs); in ocxlflash_start_work()
1321 for (i = 0; i < num_irqs; i++) { in ocxlflash_start_work()