Lines Matching refs:plug
30 * @status: 256 bit status bitmap indexed by plug
32 * @mask: 256 bit mask bitmap indexed by plug
35 * The HV maintains per SMT thread mappings of HV outlet to HV plug on
37 * supplied bitmaps indexed by plug number. The addresses of the bitmaps
45 * implementation equates HV plug value to Linux virq value, constrains each
46 * interrupt to have a system wide unique plug number, and limits the range
47 * of the plug values to map into the first dword of the bitmaps. This
48 * gives a usable range of plug values of {NUM_ISA_INTERRUPTS..63}. Note
239 * Sets up virq and connects the irq plug.
282 * Disconnects the irq plug and tears down virq.
442 * ps3_event_receive_port_destroy() destroys the IRQ plug,
494 * lv1_destruct_io_irq_outlet() will destroy the IRQ plug,
705 unsigned int plug;
712 asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x));
713 plug &= 0x3f;
715 if (unlikely(!plug)) {
716 DBG("%s:%d: no plug found: thread_id %llu\n", __func__,
724 if (unlikely(plug < NUM_ISA_INTERRUPTS || plug > PS3_PLUG_MAX)) {
733 if (test_bit(63 - plug, &pd->ipi_mask))
734 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, plug);
736 return plug;