Lines Matching refs:p

202 static void show_msi_interrupt(struct seq_file *p, int irq)  in show_msi_interrupt()  argument
214 seq_printf(p, "%3d: ", irq); in show_msi_interrupt()
216 seq_printf(p, "%10u ", irq_desc_kstat_cpu(desc, cpu)); in show_msi_interrupt()
219 seq_printf(p, " %8s", desc->irq_data.chip->name); in show_msi_interrupt()
222 seq_printf(p, " %s", desc->action->name); in show_msi_interrupt()
224 seq_putc(p, '\n'); in show_msi_interrupt()
233 int show_interrupts(struct seq_file *p, void *v) in show_interrupts() argument
240 seq_puts(p, " "); in show_interrupts()
242 seq_printf(p, "CPU%-8d", cpu); in show_interrupts()
243 seq_putc(p, '\n'); in show_interrupts()
246 seq_printf(p, "%s: ", irqclass_main_desc[index].name); in show_interrupts()
249 seq_printf(p, "%10u ", kstat_irqs_cpu(irq, cpu)); in show_interrupts()
250 seq_putc(p, '\n'); in show_interrupts()
254 show_msi_interrupt(p, index); in show_interrupts()
258 seq_printf(p, "%s: ", irqclass_sub_desc[index].name); in show_interrupts()
261 seq_printf(p, "%10u ", in show_interrupts()
264 seq_printf(p, " %s", irqclass_sub_desc[index].desc); in show_interrupts()
265 seq_putc(p, '\n'); in show_interrupts()
302 struct ext_int_info *p; in register_external_irq() local
306 p = kmalloc(sizeof(*p), GFP_ATOMIC); in register_external_irq()
307 if (!p) in register_external_irq()
309 p->code = code; in register_external_irq()
310 p->handler = handler; in register_external_irq()
314 hlist_add_head_rcu(&p->entry, &ext_int_hash[index]); in register_external_irq()
322 struct ext_int_info *p; in unregister_external_irq() local
327 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in unregister_external_irq()
328 if (p->code == code && p->handler == handler) { in unregister_external_irq()
329 hlist_del_rcu(&p->entry); in unregister_external_irq()
330 kfree_rcu(p, rcu); in unregister_external_irq()
342 struct ext_int_info *p; in do_ext_interrupt() local
351 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in do_ext_interrupt()
352 if (unlikely(p->code != ext_code.code)) in do_ext_interrupt()
354 p->handler(ext_code, regs->int_parm, regs->int_parm_long); in do_ext_interrupt()