Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

include/net/irda/timer.h File Reference

#include <linux/netdevice.h>
#include <asm/param.h>
#include <net/irda/irda.h>
#include <net/irda/irmod.h>
#include <net/irda/irlap.h>
#include <net/irda/irlmp.h>
#include <net/irda/irda_device.h>

Include dependency graph for include/net/irda/timer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define POLL_TIMEOUT   (450*HZ/1000)
#define FINAL_TIMEOUT   (500*HZ/1000)
#define WD_TIMEOUT   (POLL_TIMEOUT*2)
#define MEDIABUSY_TIMEOUT   (500*HZ/1000)
#define SLOT_TIMEOUT   (90*HZ/1000)
#define QUERY_TIMEOUT   (HZ/10)
#define WATCHDOG_TIMEOUT   (20*HZ)

Typedefs

typedef void(* TIMER_CALLBACK )(void *)

Functions

void irda_start_timer (struct timer_list *ptimer, int timeout, void *data, TIMER_CALLBACK callback)
void irlap_start_slot_timer (struct irlap_cb *self, int timeout)
void irlap_start_query_timer (struct irlap_cb *self, int timeout)
void irlap_start_final_timer (struct irlap_cb *self, int timeout)
void irlap_start_wd_timer (struct irlap_cb *self, int timeout)
void irlap_start_backoff_timer (struct irlap_cb *self, int timeout)
void irlap_start_mbusy_timer (struct irlap_cb *)
void irlmp_start_watchdog_timer (struct lsap_cb *, int timeout)
void irlmp_start_discovery_timer (struct irlmp_cb *, int timeout)
void irlmp_start_idle_timer (struct lap_cb *, int timeout)


Define Documentation

#define FINAL_TIMEOUT   (500*HZ/1000)
 

Definition at line 43 of file include/net/irda/timer.h.

Referenced by irlap_apply_default_connection_parameters().

#define MEDIABUSY_TIMEOUT   (500*HZ/1000)
 

Definition at line 50 of file include/net/irda/timer.h.

Referenced by irlap_start_mbusy_timer().

#define POLL_TIMEOUT   (450*HZ/1000)
 

Definition at line 42 of file include/net/irda/timer.h.

#define QUERY_TIMEOUT   (HZ/10)
 

Definition at line 63 of file include/net/irda/timer.h.

Referenced by irlap_state_ndm().

#define SLOT_TIMEOUT   (90*HZ/1000)
 

Definition at line 57 of file include/net/irda/timer.h.

#define WATCHDOG_TIMEOUT   (20*HZ)
 

Definition at line 65 of file include/net/irda/timer.h.

#define WD_TIMEOUT   (POLL_TIMEOUT*2)
 

Definition at line 49 of file include/net/irda/timer.h.


Typedef Documentation

typedef void(* TIMER_CALLBACK)(void *)
 

Definition at line 67 of file include/net/irda/timer.h.


Function Documentation

void irda_start_timer struct timer_list ptimer,
int  timeout,
void *  data,
TIMER_CALLBACK  callback
 

Definition at line 48 of file net/irda/timer.c.

References add_timer(), timer_list::data, del_timer(), timer_list::expires, timer_list::function, jiffies, and long.

Referenced by ircomm_tty_start_watchdog_timer(), irda_task_kick(), iriap_start_watchdog_timer(), irlan_client_start_kick_timer(), irlap_start_backoff_timer(), irlap_start_final_timer(), irlap_start_mbusy_timer(), irlap_start_poll_timer(), irlap_start_query_timer(), irlap_start_slot_timer(), irlap_start_wd_timer(), irlap_state_nrm_s(), irlmp_start_discovery_timer(), irlmp_start_idle_timer(), and irlmp_start_watchdog_timer().

Here is the call graph for this function:

void irlap_start_backoff_timer struct irlap_cb self,
int  timeout
[inline]
 

Definition at line 90 of file net/irda/timer.c.

References irlap_cb::backoff_timer, irda_start_timer(), and irlap_backoff_timer_expired().

Referenced by irlap_state_setup().

Here is the call graph for this function:

void irlap_start_final_timer struct irlap_cb self,
int  timeout
[inline]
 

Definition at line 78 of file net/irda/timer.c.

References irlap_cb::final_timer, irda_start_timer(), and irlap_final_timer_expired().

Referenced by irlap_send_data_primary_poll(), irlap_state_ndm(), irlap_state_nrm_p(), irlap_state_pclose(), irlap_state_reset(), irlap_state_reset_wait(), irlap_state_setup(), and irlap_state_xmit_p().

Here is the call graph for this function:

void irlap_start_mbusy_timer struct irlap_cb  ) 
 

Definition at line 96 of file net/irda/timer.c.

References irda_start_timer(), irlap_media_busy_expired(), irlap_cb::media_busy_timer, and MEDIABUSY_TIMEOUT.

Referenced by irda_device_set_media_busy().

Here is the call graph for this function:

void irlap_start_query_timer struct irlap_cb self,
int  timeout
[inline]
 

Definition at line 72 of file net/irda/timer.c.

References irda_start_timer(), irlap_query_timer_expired(), and irlap_cb::query_timer.

Referenced by irlap_state_ndm().

Here is the call graph for this function:

void irlap_start_slot_timer struct irlap_cb self,
int  timeout
[inline]
 

Definition at line 66 of file net/irda/timer.c.

References irda_start_timer(), irlap_slot_timer_expired(), and irlap_cb::slot_timer.

Referenced by irlap_state_ndm(), and irlap_state_query().

Here is the call graph for this function:

void irlap_start_wd_timer struct irlap_cb self,
int  timeout
[inline]
 

Definition at line 84 of file net/irda/timer.c.

References irda_start_timer(), irlap_wd_timer_expired(), and irlap_cb::wd_timer.

Referenced by irlap_send_data_secondary_final(), irlap_state_conn(), irlap_state_nrm_s(), irlap_state_reset(), irlap_state_reset_check(), irlap_state_setup(), and irlap_state_xmit_s().

Here is the call graph for this function:

void irlmp_start_discovery_timer struct irlmp_cb ,
int  timeout
[inline]
 

Definition at line 108 of file net/irda/timer.c.

References irlmp_cb::discovery_timer, irda_start_timer(), and irlmp_discovery_timer_expired().

Referenced by irlmp_discovery_timer_expired(), and irlmp_init().

Here is the call graph for this function:

void irlmp_start_idle_timer struct lap_cb ,
int  timeout
[inline]
 

Definition at line 114 of file net/irda/timer.c.

References lap_cb::idle_timer, irda_start_timer(), and irlmp_idle_timer_expired().

Referenced by irlmp_state_active().

Here is the call graph for this function:

void irlmp_start_watchdog_timer struct lsap_cb ,
int  timeout
[inline]
 

Definition at line 102 of file net/irda/timer.c.

References irda_start_timer(), irlmp_watchdog_timer_expired(), and lsap_cb::watchdog_timer.

Referenced by irlmp_state_disconnected().

Here is the call graph for this function: