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

if_ath_ioctl.c File Reference

#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/utsname.h>
#include <linux/if_arp.h>
#include <net/iw_handler.h>
#include <asm/uaccess.h>
#include "if_athvar.h"

Include dependency graph for if_ath_ioctl.c:

Go to the source code of this file.

Defines

#define _OS_REG_WRITE(_ah, _reg, _val)
#define _OS_REG_READ(_ah, _reg)
#define OS_REG_WRITE(_ah, _reg, _val)   _OS_REG_WRITE(_ah, _reg, _val)
#define OS_REG_READ(_ah, _reg)   _OS_REG_READ(_ah, _reg)


Define Documentation

#define _OS_REG_READ _ah,
_reg  ) 
 

Value:

(((_reg) >= 0x4000 && (_reg) < 0x5000) ? \
__bswap32(*((volatile u_int32_t *)((_ah)->ah_sh + (_reg)))) : \
                *((volatile u_int32_t *)((_ah)->ah_sh + (_reg))))

Definition at line 71 of file if_ath_ioctl.c.

#define _OS_REG_WRITE _ah,
_reg,
_val  ) 
 

Value:

do {                                \
if ( (_reg) >= 0x4000 && (_reg) < 0x5000)                           \
                *((volatile u_int32_t *)((_ah)->ah_sh + (_reg))) =          \
__bswap32((_val));                                  \
else                                                                \
                *((volatile u_int32_t *)((_ah)->ah_sh + (_reg))) = (_val);  \
} while (0)

Definition at line 64 of file if_ath_ioctl.c.

#define OS_REG_READ _ah,
_reg  )    _OS_REG_READ(_ah, _reg)
 

Definition at line 94 of file if_ath_ioctl.c.

#define OS_REG_WRITE _ah,
_reg,
_val  )    _OS_REG_WRITE(_ah, _reg, _val)
 

Definition at line 93 of file if_ath_ioctl.c.


Generated on Mon Nov 21 16:02:19 2005 for openwifi by  doxygen 1.4.1