Searched refs:bmp (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 17 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() argument 22 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs() 27 offset = bitmap_find_free_region(bmp->bitmap, bmp->irq_count, order); in msi_bitmap_alloc_hwirqs() 28 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs() 36 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() argument 45 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_free_hwirqs() 46 bitmap_release_region(bmp->bitmap, offset, order); in msi_bitmap_free_hwirqs() 47 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_free_hwirqs() 50 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq) in msi_bitmap_reserve_hwirq() argument 56 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_reserve_hwirq() [all …]
|
/arch/powerpc/include/asm/ |
D | msi_bitmap.h | 24 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num); 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);
|
/arch/powerpc/platforms/ps3/ |
D | interrupt.c | 89 struct ps3_bmp bmp __attribute__ ((aligned (PS3_BMP_MINALIGN))); member 115 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask() 136 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask() 651 _dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line); in _dump_bmp() 652 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_bmp() 663 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_mask() 715 u64 x = (pd->bmp.status & pd->bmp.mask); in ps3_get_irq() 768 ps3_mm_phys_to_lpar(__pa(&pd->bmp))); in ps3_init_IRQ() 771 pd->thread_id, ps3_mm_phys_to_lpar(__pa(&pd->bmp))); in ps3_init_IRQ()
|