Lines Matching refs:irnet_events
68 spin_lock_bh(&irnet_events.spinlock); in irnet_post_event()
71 index = irnet_events.index; in irnet_post_event()
72 irnet_events.log[index].event = event; in irnet_post_event()
73 irnet_events.log[index].daddr = daddr; in irnet_post_event()
74 irnet_events.log[index].saddr = saddr; in irnet_post_event()
77 strcpy(irnet_events.log[index].name, name); in irnet_post_event()
79 irnet_events.log[index].name[0] = '\0'; in irnet_post_event()
81 irnet_events.log[index].hints.word = hints; in irnet_post_event()
84 irnet_events.log[index].unit = ppp_unit_number(&ap->chan); in irnet_post_event()
86 irnet_events.log[index].unit = -1; in irnet_post_event()
91 irnet_events.index = (index + 1) % IRNET_MAX_EVENTS; in irnet_post_event()
93 DEBUG(CTRL_INFO, "New event index is %d\n", irnet_events.index); in irnet_post_event()
96 spin_unlock_bh(&irnet_events.spinlock); in irnet_post_event()
99 wake_up_interruptible_all(&irnet_events.rwait); in irnet_post_event()
1840 init_waitqueue_head(&irnet_events.rwait); in irda_irnet_init()
1841 irnet_events.index = 0; in irda_irnet_init()
1843 spin_lock_init(&irnet_events.spinlock); in irda_irnet_init()