Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
timer.h File Reference
#include <linux/timer.h>
#include <linux/jiffies.h>
#include <asm/param.h>
#include <net/irda/irda.h>

Go to the source code of this file.

Macros

#define POLL_TIMEOUT   (450*HZ/1000) /* Must never exceed 500 ms */
 
#define FINAL_TIMEOUT   (500*HZ/1000) /* Must never exceed 500 ms */
 
#define WD_TIMEOUT   (POLL_TIMEOUT*2)
 
#define MEDIABUSY_TIMEOUT   (500*HZ/1000) /* 500 msec */
 
#define SMALLBUSY_TIMEOUT   (100*HZ/1000) /* 100 msec - IrLAP 6.13.4 */
 
#define SLOT_TIMEOUT   (90*HZ/1000)
 
#define XIDEXTRA_TIMEOUT   (34*HZ/1000) /* 34 msec */
 
#define WATCHDOG_TIMEOUT   (20*HZ) /* 20 sec */
 

Typedefs

typedef void(* TIMER_CALLBACK )(void *)
 

Functions

void irlap_start_slot_timer (struct irlap_cb *self, int timeout)
 
void irlap_start_query_timer (struct irlap_cb *self, int S, int s)
 
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 *self, int timeout)
 
void irlap_stop_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)
 
void irlmp_stop_idle_timer (struct lap_cb *self)
 

Macro Definition Documentation

#define FINAL_TIMEOUT   (500*HZ/1000) /* Must never exceed 500 ms */

Definition at line 47 of file timer.h.

#define MEDIABUSY_TIMEOUT   (500*HZ/1000) /* 500 msec */

Definition at line 55 of file timer.h.

#define POLL_TIMEOUT   (450*HZ/1000) /* Must never exceed 500 ms */

Definition at line 46 of file timer.h.

#define SLOT_TIMEOUT   (90*HZ/1000)

Definition at line 64 of file timer.h.

#define SMALLBUSY_TIMEOUT   (100*HZ/1000) /* 100 msec - IrLAP 6.13.4 */

Definition at line 56 of file timer.h.

#define WATCHDOG_TIMEOUT   (20*HZ) /* 20 sec */

Definition at line 73 of file timer.h.

#define WD_TIMEOUT   (POLL_TIMEOUT*2)

Definition at line 53 of file timer.h.

#define XIDEXTRA_TIMEOUT   (34*HZ/1000) /* 34 msec */

Definition at line 71 of file timer.h.

Typedef Documentation

typedef void(* TIMER_CALLBACK)(void *)

Definition at line 75 of file timer.h.

Function Documentation

void irlap_start_backoff_timer ( struct irlap_cb self,
int  timeout 
)

Definition at line 85 of file timer.c.

void irlap_start_final_timer ( struct irlap_cb self,
int  timeout 
)

Definition at line 73 of file timer.c.

void irlap_start_mbusy_timer ( struct irlap_cb self,
int  timeout 
)

Definition at line 91 of file timer.c.

void irlap_start_query_timer ( struct irlap_cb self,
int  S,
int  s 
)

Definition at line 50 of file timer.c.

void irlap_start_slot_timer ( struct irlap_cb self,
int  timeout 
)

Definition at line 44 of file timer.c.

void irlap_start_wd_timer ( struct irlap_cb self,
int  timeout 
)

Definition at line 79 of file timer.c.

void irlap_stop_mbusy_timer ( struct irlap_cb )

Definition at line 97 of file timer.c.

void irlmp_start_discovery_timer ( struct irlmp_cb ,
int  timeout 
)

Definition at line 117 of file timer.c.

void irlmp_start_idle_timer ( struct lap_cb ,
int  timeout 
)

Definition at line 123 of file timer.c.

void irlmp_start_watchdog_timer ( struct lsap_cb ,
int  timeout 
)

Definition at line 111 of file timer.c.

void irlmp_stop_idle_timer ( struct lap_cb self)

Definition at line 129 of file timer.c.