Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/sysdev/
Dmpic_msi.c25 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()
Dmsi_bitmap.c17 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()
Dmpic_pasemi_msi.c85 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()
Dmpic_u3msi.c133 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()
Dfsl_msi.h38 struct msi_bitmap bitmap;
DMakefile11 obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
Dppc4xx_msi.c53 struct msi_bitmap bitmap;
/linux-3.4.99/arch/powerpc/include/asm/
Dmsi_bitmap.h17 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);
Dmpic.h313 struct msi_bitmap msi_bitmap; member
/linux-3.4.99/arch/sparc/kernel/
Dpci_msi.c99 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()
Dpci_impl.h132 unsigned long *msi_bitmap; member