Searched refs:msi_bitmap (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/arch/powerpc/sysdev/ |
D | mpic_msi.c | 20 if (!mpic->msi_bitmap.bitmap) in mpic_msi_reserve_hwirq() 23 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_hwirq() 44 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 47 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 50 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 53 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 64 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_u3_hwirqs() 81 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->num_sources, in mpic_msi_init_allocator() 86 rc = msi_bitmap_reserve_dt_hwirqs(&mpic->msi_bitmap); in mpic_msi_init_allocator() 92 msi_bitmap_free(&mpic->msi_bitmap); in mpic_msi_init_allocator()
|
D | msi_bitmap.c | 14 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() 38 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() 52 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) in msi_bitmap_reserve_hwirq() 74 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp) in msi_bitmap_reserve_dt_hwirqs() 111 int __ref msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, in msi_bitmap_alloc() 147 void msi_bitmap_free(struct msi_bitmap *bmp) in msi_bitmap_free() 159 struct msi_bitmap bmp; in test_basics() 225 struct msi_bitmap bmp; in test_of_node()
|
D | mpic_u3msi.c | 114 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_teardown_msi_irqs() 140 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, 1); in u3msi_setup_msi_irqs() 155 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_setup_msi_irqs()
|
D | fsl_msi.h | 41 struct msi_bitmap bitmap;
|
D | Makefile | 13 obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | msi_bitmap.h | 12 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);
|
D | mpic.h | 324 struct msi_bitmap msi_bitmap; member
|
/Linux-v5.4/arch/powerpc/platforms/pasemi/ |
D | msi.c | 72 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, ALLOC_CHUNK); in pasemi_msi_teardown_msi_irqs() 99 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, in pasemi_msi_setup_msi_irqs() 110 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, in pasemi_msi_setup_msi_irqs()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | pci_msi.c | 100 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()
|
D | pci_impl.h | 139 unsigned long *msi_bitmap; member
|
/Linux-v5.4/arch/powerpc/platforms/4xx/ |
D | hsta_msi.c | 27 struct msi_bitmap bmp;
|
D | msi.c | 40 struct msi_bitmap bitmap;
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | pci.h | 107 struct msi_bitmap msi_bmp;
|