Searched refs:msi_bitmap (Results 1 – 10 of 10) sorted by relevance
/arch/powerpc/include/asm/ |
D | msi_bitmap.h | 17 struct msi_bitmap { struct 24 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num); argument 25 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, 27 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq); 29 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp); 31 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, 33 void msi_bitmap_free(struct msi_bitmap *bmp);
|
D | mpic.h | 305 struct msi_bitmap msi_bitmap; member
|
/arch/powerpc/sysdev/ |
D | mpic_msi.c | 25 if (!mpic->msi_bitmap.bitmap) in mpic_msi_reserve_hwirq() 28 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() 60 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_u3_hwirqs() 77 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->irq_count, in mpic_msi_init_allocator() 82 rc = msi_bitmap_reserve_dt_hwirqs(&mpic->msi_bitmap); in mpic_msi_init_allocator() 88 msi_bitmap_free(&mpic->msi_bitmap); in mpic_msi_init_allocator()
|
D | msi_bitmap.c | 15 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() 34 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() 48 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) in msi_bitmap_reserve_hwirq() 70 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp) in msi_bitmap_reserve_dt_hwirqs() 107 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, in msi_bitmap_alloc() 132 void msi_bitmap_free(struct msi_bitmap *bmp) in msi_bitmap_free() 146 struct msi_bitmap bmp; in test_basics() 197 struct msi_bitmap bmp; in test_of_node()
|
D | mpic_pasemi_msi.c | 85 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, in pasemi_msi_teardown_msi_irqs() 112 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, in pasemi_msi_setup_msi_irqs() 123 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, in pasemi_msi_setup_msi_irqs()
|
D | mpic_u3msi.c | 105 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, in u3msi_teardown_msi_irqs() 126 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, 1); in u3msi_setup_msi_irqs() 135 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_setup_msi_irqs()
|
D | fsl_msi.h | 36 struct msi_bitmap bitmap;
|
D | Makefile | 8 obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
|
/arch/sparc/kernel/ |
D | pci_msi.c | 101 if (!test_and_set_bit(i, pbm->msi_bitmap)) in alloc_msi() 111 clear_bit(msi_num, pbm->msi_bitmap); in free_msi() 226 pbm->msi_bitmap = kzalloc(size, GFP_KERNEL); in msi_bitmap_alloc() 227 if (!pbm->msi_bitmap) in msi_bitmap_alloc() 235 kfree(pbm->msi_bitmap); in msi_bitmap_free() 236 pbm->msi_bitmap = NULL; in msi_bitmap_free()
|
D | pci_impl.h | 132 unsigned long *msi_bitmap; member
|