Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
zd_rf_uw2453.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include "zd_rf.h"
#include "zd_usb.h"
#include "zd_chip.h"

Go to the source code of this file.

Data Structures

struct  uw2453_priv
 

Macros

#define UW2453_REGWRITE(reg, val)   ((((reg) & 0xf) << 20) | ((val) & 0xfffff))
 
#define CHAN_TO_PAIRIDX(a)   ((a - 1) / 2)
 
#define RF_CHANPAIR(a, b)   [CHAN_TO_PAIRIDX(a)]
 
#define UW2453_PRIV(rf)   ((struct uw2453_priv *) (rf)->priv)
 

Functions

int zd_rf_init_uw2453 (struct zd_rf *rf)
 

Macro Definition Documentation

#define CHAN_TO_PAIRIDX (   a)    ((a - 1) / 2)

Definition at line 96 of file zd_rf_uw2453.c.

#define RF_CHANPAIR (   a,
  b 
)    [CHAN_TO_PAIRIDX(a)]

Definition at line 97 of file zd_rf_uw2453.c.

#define UW2453_PRIV (   rf)    ((struct uw2453_priv *) (rf)->priv)

Definition at line 253 of file zd_rf_uw2453.c.

#define UW2453_REGWRITE (   reg,
  val 
)    ((((reg) & 0xf) << 20) | ((val) & 0xfffff))

Definition at line 35 of file zd_rf_uw2453.c.

Function Documentation

int zd_rf_init_uw2453 ( struct zd_rf rf)

Definition at line 523 of file zd_rf_uw2453.c.