Home
last modified time | relevance | path

Searched refs:msi_bitmap (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/arch/powerpc/sysdev/
Dmpic_msi.c21 if (!mpic->msi_bitmap.bitmap) in mpic_msi_reserve_hwirq()
24 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_hwirq()
45 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs()
48 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs()
51 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs()
54 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs()
65 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_u3_hwirqs()
82 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->num_sources, in mpic_msi_init_allocator()
87 rc = msi_bitmap_reserve_dt_hwirqs(&mpic->msi_bitmap); in mpic_msi_init_allocator()
93 msi_bitmap_free(&mpic->msi_bitmap); in mpic_msi_init_allocator()
Dmsi_bitmap.c15 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs()
39 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs()
53 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) in msi_bitmap_reserve_hwirq()
75 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp) in msi_bitmap_reserve_dt_hwirqs()
112 int __ref msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, in msi_bitmap_alloc()
148 void msi_bitmap_free(struct msi_bitmap *bmp) in msi_bitmap_free()
160 struct msi_bitmap bmp; in test_basics()
226 struct msi_bitmap bmp; in test_of_node()
Dmpic_u3msi.c112 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_teardown_msi_irqs()
136 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, 1); in u3msi_setup_msi_irqs()
151 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_setup_msi_irqs()
Dfsl_msi.h41 struct msi_bitmap bitmap;
DMakefile11 obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
/linux-6.12.1/arch/powerpc/include/asm/
Dmsi_bitmap.h12 struct msi_bitmap { struct
20 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num); argument
21 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset,
23 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
25 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp);
27 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
29 void msi_bitmap_free(struct msi_bitmap *bmp);
Dmpic.h324 struct msi_bitmap msi_bitmap; member
/linux-6.12.1/arch/powerpc/platforms/pasemi/
Dmsi.c70 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, ALLOC_CHUNK); in pasemi_msi_teardown_msi_irqs()
95 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, in pasemi_msi_setup_msi_irqs()
106 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, in pasemi_msi_setup_msi_irqs()
/linux-6.12.1/arch/sparc/kernel/
Dpci_msi.c102 if (!test_and_set_bit(i, pbm->msi_bitmap)) in alloc_msi()
112 clear_bit(msi_num, pbm->msi_bitmap); in free_msi()
227 pbm->msi_bitmap = kzalloc(size, GFP_KERNEL); in msi_bitmap_alloc()
228 if (!pbm->msi_bitmap) in msi_bitmap_alloc()
236 kfree(pbm->msi_bitmap); in msi_bitmap_free()
237 pbm->msi_bitmap = NULL; in msi_bitmap_free()
Dpci_impl.h138 unsigned long *msi_bitmap; member
/linux-6.12.1/arch/powerpc/platforms/44x/
Dhsta_msi.c28 struct msi_bitmap bmp;
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dpci.h125 struct msi_bitmap msi_bmp;