Searched refs:imap (Results 1 – 8 of 8) sorted by relevance
/arch/sparc/kernel/ |
D | prom_irqtrans.c | 48 unsigned long imap, iclr; in psycho_irq_build() local 62 imap = controller_regs + imap_off; in psycho_irq_build() 70 return build_irq(inofixup, iclr, imap); in psycho_irq_build() 228 unsigned long imap, iclr; in sabre_irq_build() local 243 imap = controller_regs + imap_off; in sabre_irq_build() 251 irq = build_irq(inofixup, iclr, imap); in sabre_irq_build() 384 unsigned long imap, iclr; in schizo_irq_build() local 392 imap = schizo_ino_to_imap(pbm_regs, ino); in schizo_irq_build() 413 irq = build_irq(ign_fixup, iclr, imap); in schizo_irq_build() 516 unsigned long imap, iclr; in fire_irq_build() local [all …]
|
D | starfire.c | 77 unsigned int starfire_translate(unsigned long imap, in starfire_translate() argument 84 bus_hwmid = (((unsigned long)imap) >> 33) & 0x7f; in starfire_translate() 90 ((unsigned long)imap)); in starfire_translate() 94 if (p->imap_slots[i] == imap || in starfire_translate() 102 p->imap_slots[i] = imap; in starfire_translate()
|
D | irq_64.c | 208 unsigned long imap; member 313 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) in sun4u_compute_tid() argument 318 tid = starfire_translate(imap, cpuid); in sun4u_compute_tid() 377 unsigned long cpuid, imap, val; in sun4u_irq_enable() local 382 imap = handler_data->imap; in sun4u_irq_enable() 384 tid = sun4u_compute_tid(imap, cpuid); in sun4u_irq_enable() 386 val = upa_readq(imap); in sun4u_irq_enable() 390 upa_writeq(val, imap); in sun4u_irq_enable() 402 unsigned long cpuid, imap, val; in sun4u_set_affinity() local 406 imap = handler_data->imap; in sun4u_set_affinity() [all …]
|
D | of_device_64.c | 422 const u32 *imap, int imlen, const u32 *imask, in apply_interrupt_map() argument 445 if ((reg[j] & imask[j]) != imap[j]) in apply_interrupt_map() 448 if (imap[na] == irq) { in apply_interrupt_map() 449 handle = imap[na + 1]; in apply_interrupt_map() 450 irq = imap[na + 2]; in apply_interrupt_map() 455 imap += (na + 3); in apply_interrupt_map() 568 const void *imap, *imsk; in build_one_device_irq() local 571 imap = of_get_property(pp, "interrupt-map", &imlen); in build_one_device_irq() 573 if (imap && imsk) { in build_one_device_irq() 578 imap, imlen, imsk, in build_one_device_irq()
|
D | sbus.c | 204 static unsigned long sysio_imap_to_iclr(unsigned long imap) in sysio_imap_to_iclr() argument 207 return imap + diff; in sysio_imap_to_iclr() 214 unsigned long imap, iclr; in sbus_build_irq() local 217 imap = sysio_irq_offsets[ino]; in sbus_build_irq() 218 if (imap == ((unsigned long)-1)) { in sbus_build_irq() 223 imap += reg_base; in sbus_build_irq() 230 iclr = sysio_imap_to_iclr(imap); in sbus_build_irq() 254 return build_irq(sbus_level, iclr, imap); in sbus_build_irq()
|
/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 218 const u32 *imap, *tmp; in spider_find_cascade_and_node() local 237 imap = of_get_property(of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 238 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node() 240 iic = of_find_node_by_phandle(imap[intsize]); in spider_find_cascade_and_node() 243 imap += intsize + 1; in spider_find_cascade_and_node() 251 unit = imap[intsize - 1]; in spider_find_cascade_and_node()
|
/arch/sparc/include/asm/ |
D | starfire.h | 17 unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
|
D | irq_64.h | 47 unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap);
|