Searched refs:msi_bitmap (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/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() 49 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 52 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 55 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 58 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 69 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_u3_hwirqs() 86 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->num_sources, in mpic_msi_init_allocator() 91 rc = msi_bitmap_reserve_dt_hwirqs(&mpic->msi_bitmap); in mpic_msi_init_allocator() 97 msi_bitmap_free(&mpic->msi_bitmap); in mpic_msi_init_allocator()
|
D | msi_bitmap.c | 17 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() 36 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() 50 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) in msi_bitmap_reserve_hwirq() 72 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp) in msi_bitmap_reserve_dt_hwirqs() 109 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, in msi_bitmap_alloc() 134 void msi_bitmap_free(struct msi_bitmap *bmp) in msi_bitmap_free() 148 struct msi_bitmap bmp; in test_basics() 199 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 | 133 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, in u3msi_teardown_msi_irqs() 150 hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, 1); in u3msi_setup_msi_irqs() 165 msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1); in u3msi_setup_msi_irqs()
|
D | fsl_msi.h | 38 struct msi_bitmap bitmap;
|
D | Makefile | 11 obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
|
D | ppc4xx_msi.c | 53 struct msi_bitmap bitmap;
|
/linux-3.4.99/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 | 313 struct msi_bitmap msi_bitmap; member
|
/linux-3.4.99/arch/sparc/kernel/ |
D | pci_msi.c | 99 if (!test_and_set_bit(i, pbm->msi_bitmap)) in alloc_msi() 109 clear_bit(msi_num, pbm->msi_bitmap); in free_msi() 224 pbm->msi_bitmap = kzalloc(size, GFP_KERNEL); in msi_bitmap_alloc() 225 if (!pbm->msi_bitmap) in msi_bitmap_alloc() 233 kfree(pbm->msi_bitmap); in msi_bitmap_free() 234 pbm->msi_bitmap = NULL; in msi_bitmap_free()
|
D | pci_impl.h | 132 unsigned long *msi_bitmap; member
|