Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
irmod.h File Reference

Go to the source code of this file.

Data Structures

struct  notify_t
 

Macros

#define LM_UNKNOWN   0xff /* Unspecified disconnect reason */
 
#define NOTIFY_MAX_NAME   16
 
#define irda_lock(lock)   (! test_and_set_bit(0, (void *) (lock)))
 
#define irda_unlock(lock)   (test_and_clear_bit(0, (void *) (lock)))
 

Enumerations

enum  LINK_STATUS {
  STATUS_OK, STATUS_ABORTED, STATUS_NO_ACTIVITY, STATUS_NOISY,
  STATUS_REMOTE
}
 
enum  LOCK_STATUS { LOCK_NO_CHANGE, LOCK_LOCKED, LOCK_UNLOCKED }
 
enum  LOCAL_FLOW { FLOW_STOP, FLOW_START }
 
enum  LM_REASON {
  LM_USER_REQUEST = 1, LM_LAP_DISCONNECT, LM_CONNECT_FAILURE, LM_LAP_RESET,
  LM_INIT_DISCONNECT, LM_LSAP_NOTCONN, LM_NON_RESP_CLIENT, LM_NO_AVAIL_CLIENT,
  LM_CONN_HALF_OPEN, LM_BAD_SOURCE_ADDR
}
 

Functions

void irda_notify_init (notify_t *notify)
 

Macro Definition Documentation

#define irda_lock (   lock)    (! test_and_set_bit(0, (void *) (lock)))

Definition at line 97 of file irmod.h.

#define irda_unlock (   lock)    (test_and_clear_bit(0, (void *) (lock)))

Definition at line 98 of file irmod.h.

#define LM_UNKNOWN   0xff /* Unspecified disconnect reason */

Definition at line 63 of file irmod.h.

#define NOTIFY_MAX_NAME   16

Definition at line 89 of file irmod.h.

Enumeration Type Documentation

Enumerator:
STATUS_OK 
STATUS_ABORTED 
STATUS_NO_ACTIVITY 
STATUS_NOISY 
STATUS_REMOTE 

Definition at line 30 of file irmod.h.

enum LM_REASON
Enumerator:
LM_USER_REQUEST 
LM_LAP_DISCONNECT 
LM_CONNECT_FAILURE 
LM_LAP_RESET 
LM_INIT_DISCONNECT 
LM_LSAP_NOTCONN 
LM_NON_RESP_CLIENT 
LM_NO_AVAIL_CLIENT 
LM_CONN_HALF_OPEN 
LM_BAD_SOURCE_ADDR 

Definition at line 51 of file irmod.h.

enum LOCAL_FLOW
Enumerator:
FLOW_STOP 
FLOW_START 

Definition at line 44 of file irmod.h.

Enumerator:
LOCK_NO_CHANGE 
LOCK_LOCKED 
LOCK_UNLOCKED 

Definition at line 38 of file irmod.h.

Function Documentation

void irda_notify_init ( notify_t notify)

Definition at line 69 of file irmod.c.