Home
last modified time | relevance | path

Searched refs:imap (Results 1 – 8 of 8) sorted by relevance

/arch/sparc/kernel/
Dprom_irqtrans.c47 unsigned long imap, iclr; in psycho_irq_build() local
61 imap = controller_regs + imap_off; in psycho_irq_build()
69 return build_irq(inofixup, iclr, imap); in psycho_irq_build()
227 unsigned long imap, iclr; in sabre_irq_build() local
242 imap = controller_regs + imap_off; in sabre_irq_build()
250 irq = build_irq(inofixup, iclr, imap); in sabre_irq_build()
383 unsigned long imap, iclr; in schizo_irq_build() local
391 imap = schizo_ino_to_imap(pbm_regs, ino); in schizo_irq_build()
412 irq = build_irq(ign_fixup, iclr, imap); in schizo_irq_build()
515 unsigned long imap, iclr; in fire_irq_build() local
[all …]
Dstarfire.c81 unsigned int starfire_translate(unsigned long imap, in starfire_translate() argument
88 bus_hwmid = (((unsigned long)imap) >> 33) & 0x7f; in starfire_translate()
94 ((unsigned long)imap)); in starfire_translate()
98 if (p->imap_slots[i] == imap || in starfire_translate()
106 p->imap_slots[i] = imap; in starfire_translate()
Dirq_64.c174 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) in sun4u_compute_tid() argument
179 tid = starfire_translate(imap, cpuid); in sun4u_compute_tid()
211 unsigned long imap; member
246 unsigned long cpuid, imap, val; in sun4u_irq_enable() local
250 imap = handler_data->imap; in sun4u_irq_enable()
252 tid = sun4u_compute_tid(imap, cpuid); in sun4u_irq_enable()
254 val = upa_readq(imap); in sun4u_irq_enable()
258 upa_writeq(val, imap); in sun4u_irq_enable()
269 unsigned long cpuid, imap, val; in sun4u_set_affinity() local
273 imap = handler_data->imap; in sun4u_set_affinity()
[all …]
Dof_device_64.c420 const u32 *imap, int imlen, const u32 *imask, in apply_interrupt_map() argument
443 if ((reg[j] & imask[j]) != imap[j]) in apply_interrupt_map()
446 if (imap[na] == irq) { in apply_interrupt_map()
447 handle = imap[na + 1]; in apply_interrupt_map()
448 irq = imap[na + 2]; in apply_interrupt_map()
453 imap += (na + 3); in apply_interrupt_map()
566 const void *imap, *imsk; in build_one_device_irq() local
569 imap = of_get_property(pp, "interrupt-map", &imlen); in build_one_device_irq()
571 if (imap && imsk) { in build_one_device_irq()
576 imap, imlen, imsk, in build_one_device_irq()
Dsbus.c202 static unsigned long sysio_imap_to_iclr(unsigned long imap) in sysio_imap_to_iclr() argument
205 return imap + diff; in sysio_imap_to_iclr()
212 unsigned long imap, iclr; in sbus_build_irq() local
215 imap = sysio_irq_offsets[ino]; in sbus_build_irq()
216 if (imap == ((unsigned long)-1)) { in sbus_build_irq()
221 imap += reg_base; in sbus_build_irq()
228 iclr = sysio_imap_to_iclr(imap); in sbus_build_irq()
252 return build_irq(sbus_level, iclr, imap); in sbus_build_irq()
/arch/powerpc/platforms/cell/
Dspider-pic.c231 const u32 *imap, *tmp; in spider_find_cascade_and_node() local
250 imap = of_get_property(pic->host->of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node()
251 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node()
253 iic = of_find_node_by_phandle(imap[intsize]); in spider_find_cascade_and_node()
256 imap += intsize + 1; in spider_find_cascade_and_node()
264 unit = imap[intsize - 1]; in spider_find_cascade_and_node()
/arch/sparc/include/asm/
Dstarfire.h17 extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
Dirq_64.h46 extern unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap);