Lines Matching full:hp
29 int notifier_add_irq(struct hvc_struct *hp, int irq) in notifier_add_irq() argument
34 hp->irq_requested = 0; in notifier_add_irq()
37 rc = request_irq(irq, hvc_handle_interrupt, hp->flags, in notifier_add_irq()
38 "hvc_console", hp); in notifier_add_irq()
40 hp->irq_requested = 1; in notifier_add_irq()
44 void notifier_del_irq(struct hvc_struct *hp, int irq) in notifier_del_irq() argument
46 if (!hp->irq_requested) in notifier_del_irq()
48 free_irq(irq, hp); in notifier_del_irq()
49 hp->irq_requested = 0; in notifier_del_irq()
52 void notifier_hangup_irq(struct hvc_struct *hp, int irq) in notifier_hangup_irq() argument
54 notifier_del_irq(hp, irq); in notifier_hangup_irq()