Home
last modified time | relevance | path

Searched refs:irnet_events (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/net/irda/irnet/
Dirnet_ppp.c284 add_wait_queue(&irnet_events.rwait, &wait); in irnet_ctrl_read()
290 if(ap->event_index != irnet_events.index) in irnet_ctrl_read()
302 remove_wait_queue(&irnet_events.rwait, &wait); in irnet_ctrl_read()
313 switch(irnet_events.log[ap->event_index].event) in irnet_ctrl_read()
317 irnet_events.log[ap->event_index].daddr, in irnet_ctrl_read()
318 irnet_events.log[ap->event_index].name, in irnet_ctrl_read()
319 irnet_events.log[ap->event_index].saddr); in irnet_ctrl_read()
323 irnet_events.log[ap->event_index].daddr, in irnet_ctrl_read()
324 irnet_events.log[ap->event_index].name, in irnet_ctrl_read()
325 irnet_events.log[ap->event_index].saddr); in irnet_ctrl_read()
[all …]
Dirnet_irda.c43 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()
[all …]
Dirnet_irda.h178 struct irnet_ctrl_channel irnet_events; variable
Dirnet.h519 extern struct irnet_ctrl_channel irnet_events;