Lines Matching refs: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,
495 * lv1_destruct_io_irq_outlet() will destroy the IRQ plug,
706 unsigned int plug;
713 asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x));
714 plug &= 0x3f;
716 if (unlikely(!plug)) {
717 DBG("%s:%d: no plug found: thread_id %llu\n", __func__,
725 if (unlikely(plug < NR_IRQS_LEGACY || plug > PS3_PLUG_MAX)) {
734 if (test_bit(63 - plug, &pd->ipi_mask))
735 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, plug);
737 return plug;