Home
last modified time | relevance | path

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

/linux-5.19.10/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.c111 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_teardown_msi_irqs()
135 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, 1); in u3msi_setup_msi_irqs()
150 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_setup_msi_irqs()
Dfsl_msi.h41 struct msi_bitmap bitmap;
DMakefile13 obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
/linux-5.19.10/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-5.19.10/arch/powerpc/platforms/pasemi/
Dmsi.c69 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, ALLOC_CHUNK); in pasemi_msi_teardown_msi_irqs()
94 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, in pasemi_msi_setup_msi_irqs()
105 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, in pasemi_msi_setup_msi_irqs()
/linux-5.19.10/arch/sparc/kernel/
Dpci_msi.c100 if (!test_and_set_bit(i, pbm->msi_bitmap)) in alloc_msi()
110 clear_bit(msi_num, pbm->msi_bitmap); in free_msi()
225 pbm->msi_bitmap = kzalloc(size, GFP_KERNEL); in msi_bitmap_alloc()
226 if (!pbm->msi_bitmap) in msi_bitmap_alloc()
234 kfree(pbm->msi_bitmap); in msi_bitmap_free()
235 pbm->msi_bitmap = NULL; in msi_bitmap_free()
Dpci_impl.h139 unsigned long *msi_bitmap; member
/linux-5.19.10/arch/powerpc/platforms/4xx/
Dhsta_msi.c28 struct msi_bitmap bmp;
/linux-5.19.10/arch/powerpc/platforms/powernv/
Dpci.h126 struct msi_bitmap msi_bmp;