Home
last modified time | relevance | path

Searched refs:bmp (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/sysdev/
A Dmsi_bitmap.c22 offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0, in msi_bitmap_alloc_hwirqs()
80 if (!bmp->of_node) in msi_bitmap_reserve_dt_hwirqs()
96 bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count)); in msi_bitmap_reserve_dt_hwirqs()
98 spin_lock(&bmp->lock); in msi_bitmap_reserve_dt_hwirqs()
132 if (!bmp->bitmap) { in msi_bitmap_alloc()
148 kfree(bmp->bitmap); in msi_bitmap_free()
150 bmp->bitmap = NULL; in msi_bitmap_free()
157 struct msi_bitmap bmp; in test_basics() local
209 msi_bitmap_free(&bmp); in test_basics()
223 struct msi_bitmap bmp; in test_of_node() local
[all …]
/arch/powerpc/include/asm/
A Dmsi_bitmap.h20 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num);
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);
/arch/powerpc/platforms/44x/
A Dhsta_msi.c28 struct msi_bitmap bmp; member
52 irq = msi_bitmap_alloc_hwirqs(&ppc4xx_hsta_msi.bmp, 1); in hsta_setup_msi_irqs()
83 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_setup_msi_irqs()
115 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_teardown_msi_irqs()
150 ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); in hsta_msi_probe()
182 msi_bitmap_free(&ppc4xx_hsta_msi.bmp); in hsta_msi_probe()
/arch/powerpc/platforms/ps3/
A Dinterrupt.c78 struct ps3_bmp bmp __attribute__ ((aligned (PS3_BMP_MINALIGN))); member
104 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask()
125 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask()
640 _dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line); in _dump_bmp()
641 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_bmp()
652 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_mask()
705 u64 x = (pd->bmp.status & pd->bmp.mask); in ps3_get_irq()
758 ps3_mm_phys_to_lpar(__pa(&pd->bmp))); in ps3_init_IRQ()
761 pd->thread_id, ps3_mm_phys_to_lpar(__pa(&pd->bmp))); in ps3_init_IRQ()
/arch/arm/boot/dts/aspeed/
A Daspeed-bmc-opp-witherspoon.dts195 io-channels = <&bmp 1>;
354 bmp: bmp280@77 { label
A Daspeed-bmc-opp-tacoma.dts102 io-channels = <&bmp 1>;
471 bmp: bmp280@77 { label

Completed in 17 milliseconds