Lines Matching full:plug
31 * @status: 256 bit status bitmap indexed by plug
33 * @mask: 256 bit mask bitmap indexed by plug
36 * The HV maintains per SMT thread mappings of HV outlet to HV plug on
38 * supplied bitmaps indexed by plug number. The addresses of the bitmaps
46 * implementation equates HV plug value to Linux virq value, constrains each
47 * interrupt to have a system wide unique plug number, and limits the range
48 * of the plug values to map into the first dword of the bitmaps. This
49 * gives a usable range of plug values of {NR_IRQS_LEGACY..63}. Note
240 * Sets up virq and connects the irq plug.
283 * Disconnects the irq plug and tears down virq.
443 * ps3_event_receive_port_destroy() destroys the IRQ plug, in ps3_sb_event_receive_port_destroy()
495 * lv1_destruct_io_irq_outlet() will destroy the IRQ plug, in ps3_io_irq_destroy()
706 unsigned int plug; in ps3_get_irq() local
713 asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x)); in ps3_get_irq()
714 plug &= 0x3f; in ps3_get_irq()
716 if (unlikely(!plug)) { in ps3_get_irq()
717 DBG("%s:%d: no plug found: thread_id %llu\n", __func__, in ps3_get_irq()
725 if (unlikely(plug < NR_IRQS_LEGACY || plug > PS3_PLUG_MAX)) { in ps3_get_irq()
734 if (test_bit(63 - plug, &pd->ipi_mask)) in ps3_get_irq()
735 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, plug); in ps3_get_irq()
737 return plug; in ps3_get_irq()