Lines Matching refs:irnet_events
43 spin_lock_irqsave(&irnet_events.spinlock, flags); in irnet_post_event()
46 index = irnet_events.index; in irnet_post_event()
47 irnet_events.log[index].event = event; in irnet_post_event()
48 irnet_events.log[index].daddr = daddr; in irnet_post_event()
49 irnet_events.log[index].saddr = saddr; in irnet_post_event()
52 strcpy(irnet_events.log[index].name, name); in irnet_post_event()
54 irnet_events.log[index].name[0] = '\0'; in irnet_post_event()
57 irnet_events.log[index].unit = ppp_unit_number(&ap->chan); in irnet_post_event()
59 irnet_events.log[index].unit = -1; in irnet_post_event()
64 irnet_events.index = (index + 1) % IRNET_MAX_EVENTS; in irnet_post_event()
66 DEBUG(CTRL_INFO, "New event index is %d\n", irnet_events.index); in irnet_post_event()
69 spin_unlock_irqrestore(&irnet_events.spinlock, flags); in irnet_post_event()
72 wake_up_interruptible_all(&irnet_events.rwait); in irnet_post_event()
1822 init_waitqueue_head(&irnet_events.rwait); in irda_irnet_init()
1823 irnet_events.index = 0; in irda_irnet_init()
1825 spin_lock_init(&irnet_events.spinlock); in irda_irnet_init()