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

Go to the source code of this file.

Data Structures

struct  zd_rf
 

Macros

#define UW2451_RF   0x2
 
#define UCHIP_RF   0x3
 
#define AL2230_RF   0x4
 
#define AL7230B_RF   0x5 /* a,b,g */
 
#define THETA_RF   0x6
 
#define AL2210_RF   0x7
 
#define MAXIM_NEW_RF   0x8
 
#define UW2453_RF   0x9
 
#define AL2230S_RF   0xa
 
#define RALINK_RF   0xb
 
#define INTERSIL_RF   0xc
 
#define RF2959_RF   0xd
 
#define MAXIM_NEW2_RF   0xe
 
#define PHILIPS_RF   0xf
 
#define RF_CHANNEL(ch)   [(ch)-1]
 

Enumerations

enum  { RF_REG_BITS = 6, RF_VALUE_BITS = 18, RF_RV_BITS = RF_REG_BITS + RF_VALUE_BITS }
 

Functions

const charzd_rf_name (u8 type)
 
void zd_rf_init (struct zd_rf *rf)
 
void zd_rf_clear (struct zd_rf *rf)
 
int zd_rf_init_hw (struct zd_rf *rf, u8 type)
 
int zd_rf_scnprint_id (struct zd_rf *rf, char *buffer, size_t size)
 
int zd_rf_set_channel (struct zd_rf *rf, u8 channel)
 
int zd_switch_radio_on (struct zd_rf *rf)
 
int zd_switch_radio_off (struct zd_rf *rf)
 
int zd_rf_patch_6m_band_edge (struct zd_rf *rf, u8 channel)
 
int zd_rf_generic_patch_6m (struct zd_rf *rf, u8 channel)
 
int zd_rf_init_rf2959 (struct zd_rf *rf)
 
int zd_rf_init_al2230 (struct zd_rf *rf)
 
int zd_rf_init_al7230b (struct zd_rf *rf)
 
int zd_rf_init_uw2453 (struct zd_rf *rf)
 

Macro Definition Documentation

#define AL2210_RF   0x7

Definition at line 29 of file zd_rf.h.

#define AL2230_RF   0x4

Definition at line 26 of file zd_rf.h.

#define AL2230S_RF   0xa

Definition at line 32 of file zd_rf.h.

#define AL7230B_RF   0x5 /* a,b,g */

Definition at line 27 of file zd_rf.h.

#define INTERSIL_RF   0xc

Definition at line 34 of file zd_rf.h.

#define MAXIM_NEW2_RF   0xe

Definition at line 36 of file zd_rf.h.

#define MAXIM_NEW_RF   0x8

Definition at line 30 of file zd_rf.h.

#define PHILIPS_RF   0xf

Definition at line 37 of file zd_rf.h.

#define RALINK_RF   0xb

Definition at line 33 of file zd_rf.h.

#define RF2959_RF   0xd

Definition at line 35 of file zd_rf.h.

#define RF_CHANNEL (   ch)    [(ch)-1]

Definition at line 39 of file zd_rf.h.

#define THETA_RF   0x6

Definition at line 28 of file zd_rf.h.

#define UCHIP_RF   0x3

Definition at line 25 of file zd_rf.h.

#define UW2451_RF   0x2

Definition at line 24 of file zd_rf.h.

#define UW2453_RF   0x9

Definition at line 31 of file zd_rf.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
RF_REG_BITS 
RF_VALUE_BITS 
RF_RV_BITS 

Definition at line 43 of file zd_rf.h.

Function Documentation

void zd_rf_clear ( struct zd_rf rf)

Definition at line 64 of file zd_rf.c.

int zd_rf_generic_patch_6m ( struct zd_rf rf,
u8  channel 
)

Definition at line 178 of file zd_rf.c.

void zd_rf_init ( struct zd_rf rf)

Definition at line 55 of file zd_rf.c.

int zd_rf_init_al2230 ( struct zd_rf rf)

Definition at line 427 of file zd_rf_al2230.c.

int zd_rf_init_al7230b ( struct zd_rf rf)

Definition at line 475 of file zd_rf_al7230b.c.

int zd_rf_init_hw ( struct zd_rf rf,
u8  type 
)

Definition at line 71 of file zd_rf.c.

int zd_rf_init_rf2959 ( struct zd_rf rf)

Definition at line 267 of file zd_rf_rf2959.c.

int zd_rf_init_uw2453 ( struct zd_rf rf)

Definition at line 523 of file zd_rf_uw2453.c.

const char* zd_rf_name ( u8  type)

Definition at line 48 of file zd_rf.c.

int zd_rf_patch_6m_band_edge ( struct zd_rf rf,
u8  channel 
)

Definition at line 170 of file zd_rf.c.

int zd_rf_scnprint_id ( struct zd_rf rf,
char buffer,
size_t  size 
)

Definition at line 115 of file zd_rf.c.

int zd_rf_set_channel ( struct zd_rf rf,
u8  channel 
)

Definition at line 120 of file zd_rf.c.

int zd_switch_radio_off ( struct zd_rf rf)

Definition at line 153 of file zd_rf.c.

int zd_switch_radio_on ( struct zd_rf rf)

Definition at line 137 of file zd_rf.c.