Lines Matching refs:imap
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()
408 tid = sun4u_compute_tid(imap, cpuid); in sun4u_set_affinity()
410 val = upa_readq(imap); in sun4u_set_affinity()
414 upa_writeq(val, imap); in sun4u_set_affinity()
612 unsigned int build_irq(int inofixup, unsigned long iclr, unsigned long imap) in build_irq() argument
621 ino = (upa_readq(imap) & (IMAP_IGN | IMAP_INO)) + inofixup; in build_irq()
642 handler_data->imap = imap; in build_irq()
672 data->imap = ~0UL; in sun4v_build_common()