Home
last modified time | relevance | path

Searched refs:irq_bitmap (Results 1 – 7 of 7) sorted by relevance

/drivers/thermal/
Dsun8i_thermal.c152 unsigned long irq_bitmap = 0; in sun8i_h3_irq_ack() local
161 bitmap_set(&irq_bitmap, i, 1); in sun8i_h3_irq_ack()
165 return irq_bitmap; in sun8i_h3_irq_ack()
170 unsigned long irq_bitmap = 0; in sun50i_h6_irq_ack() local
179 bitmap_set(&irq_bitmap, i, 1); in sun50i_h6_irq_ack()
183 return irq_bitmap; in sun50i_h6_irq_ack()
189 unsigned long irq_bitmap = tmdev->chip->irq_ack(tmdev); in sun8i_irq_thread() local
192 for_each_set_bit(i, &irq_bitmap, tmdev->chip->sensor_num) { in sun8i_irq_thread()
/drivers/misc/cxl/
Dirq.c209 if (unlikely(!ctx->irq_bitmap)) { in cxl_irq_afu()
214 set_bit(afu_irq - 1, ctx->irq_bitmap); in cxl_irq_afu()
321 ctx->irq_bitmap = kcalloc(BITS_TO_LONGS(count), in afu_allocate_irqs()
322 sizeof(*ctx->irq_bitmap), GFP_KERNEL); in afu_allocate_irqs()
323 if (!ctx->irq_bitmap) in afu_allocate_irqs()
352 bitmap_free(ctx->irq_bitmap); in afu_allocate_irqs()
Dcontext.c67 ctx->irq_bitmap = NULL; in cxl_context_init()
334 kfree(ctx->irq_bitmap); in reclaim_ctx()
Dfile.c483 event.irq.irq = find_first_bit(ctx->irq_bitmap, ctx->irq_count) + 1; in afu_read()
484 clear_bit(event.irq.irq - 1, ctx->irq_bitmap); in afu_read()
485 if (bitmap_empty(ctx->irq_bitmap, ctx->irq_count)) in afu_read()
Dcxl.h567 unsigned long *irq_bitmap; /* Accessed from IRQ context */ member
/drivers/scsi/cxlflash/
Docxl_hw.h67 ulong irq_bitmap; /* Bits indicating pending irq num */ member
Docxl_hw.c514 ctx->irq_bitmap = 0; in ocxlflash_dev_context_init()
1068 bit = find_first_bit(&ctx->irq_bitmap, ctx->num_irqs); in afu_read()
1069 clear_bit(bit, &ctx->irq_bitmap); in afu_read()
1071 if (bitmap_empty(&ctx->irq_bitmap, ctx->num_irqs)) in afu_read()
1290 set_bit(i - 1, &ctx->irq_bitmap); in ocxlflash_afu_irq()