ppc4xx_hsta_msi 35 arch/powerpc/platforms/4xx/hsta_msi.c static struct ppc4xx_hsta_msi ppc4xx_hsta_msi; ppc4xx_hsta_msi 51 arch/powerpc/platforms/4xx/hsta_msi.c irq = msi_bitmap_alloc_hwirqs(&ppc4xx_hsta_msi.bmp, 1); ppc4xx_hsta_msi 58 arch/powerpc/platforms/4xx/hsta_msi.c hwirq = ppc4xx_hsta_msi.irq_map[irq]; ppc4xx_hsta_msi 68 arch/powerpc/platforms/4xx/hsta_msi.c addr = ppc4xx_hsta_msi.address + irq*0x10; ppc4xx_hsta_msi 82 arch/powerpc/platforms/4xx/hsta_msi.c msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); ppc4xx_hsta_msi 96 arch/powerpc/platforms/4xx/hsta_msi.c for (irq = 0; irq < ppc4xx_hsta_msi.irq_count; irq++) ppc4xx_hsta_msi 97 arch/powerpc/platforms/4xx/hsta_msi.c if (ppc4xx_hsta_msi.irq_map[irq] == hwirq) ppc4xx_hsta_msi 117 arch/powerpc/platforms/4xx/hsta_msi.c msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); ppc4xx_hsta_msi 142 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.dev = dev; ppc4xx_hsta_msi 143 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.address = mem->start; ppc4xx_hsta_msi 144 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.data = ioremap(mem->start, resource_size(mem)); ppc4xx_hsta_msi 145 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.irq_count = irq_count; ppc4xx_hsta_msi 146 arch/powerpc/platforms/4xx/hsta_msi.c if (!ppc4xx_hsta_msi.data) { ppc4xx_hsta_msi 151 arch/powerpc/platforms/4xx/hsta_msi.c ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); ppc4xx_hsta_msi 155 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.irq_map = kmalloc_array(irq_count, sizeof(int), ppc4xx_hsta_msi 157 arch/powerpc/platforms/4xx/hsta_msi.c if (!ppc4xx_hsta_msi.irq_map) { ppc4xx_hsta_msi 164 arch/powerpc/platforms/4xx/hsta_msi.c ppc4xx_hsta_msi.irq_map[irq] = ppc4xx_hsta_msi 166 arch/powerpc/platforms/4xx/hsta_msi.c if (!ppc4xx_hsta_msi.irq_map[irq]) { ppc4xx_hsta_msi 180 arch/powerpc/platforms/4xx/hsta_msi.c kfree(ppc4xx_hsta_msi.irq_map); ppc4xx_hsta_msi 183 arch/powerpc/platforms/4xx/hsta_msi.c msi_bitmap_free(&ppc4xx_hsta_msi.bmp); ppc4xx_hsta_msi 186 arch/powerpc/platforms/4xx/hsta_msi.c iounmap(ppc4xx_hsta_msi.data);