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

Go to the source code of this file.

Data Structures

struct  lpphy_tx_gain_table_entry
 

Macros

#define B43_LPTAB_TYPEMASK   0xF0000000
 
#define B43_LPTAB_8BIT   0x10000000
 
#define B43_LPTAB_16BIT   0x20000000
 
#define B43_LPTAB_32BIT   0x30000000
 
#define B43_LPTAB8(table, offset)   (((table) << 10) | (offset) | B43_LPTAB_8BIT)
 
#define B43_LPTAB16(table, offset)   (((table) << 10) | (offset) | B43_LPTAB_16BIT)
 
#define B43_LPTAB32(table, offset)   (((table) << 10) | (offset) | B43_LPTAB_32BIT)
 
#define B43_LPTAB_TXPWR_R2PLUS   B43_LPTAB32(0x07, 0) /* TX power lookup table (rev >= 2) */
 
#define B43_LPTAB_TXPWR_R0_1   B43_LPTAB32(0xA0, 0) /* TX power lookup table (rev < 2) */
 

Functions

u32 b43_lptab_read (struct b43_wldev *dev, u32 offset)
 
void b43_lptab_write (struct b43_wldev *dev, u32 offset, u32 value)
 
void b43_lptab_read_bulk (struct b43_wldev *dev, u32 offset, unsigned int nr_elements, void *data)
 
void b43_lptab_write_bulk (struct b43_wldev *dev, u32 offset, unsigned int nr_elements, const void *data)
 
void b2062_upload_init_table (struct b43_wldev *dev)
 
void b2063_upload_init_table (struct b43_wldev *dev)
 
void lpphy_write_gain_table (struct b43_wldev *dev, int offset, struct lpphy_tx_gain_table_entry data)
 
void lpphy_write_gain_table_bulk (struct b43_wldev *dev, int offset, int count, struct lpphy_tx_gain_table_entry *table)
 
void lpphy_rev0_1_table_init (struct b43_wldev *dev)
 
void lpphy_rev2plus_table_init (struct b43_wldev *dev)
 
void lpphy_init_tx_gain_table (struct b43_wldev *dev)
 

Macro Definition Documentation

#define B43_LPTAB16 (   table,
  offset 
)    (((table) << 10) | (offset) | B43_LPTAB_16BIT)

Definition at line 10 of file tables_lpphy.h.

#define B43_LPTAB32 (   table,
  offset 
)    (((table) << 10) | (offset) | B43_LPTAB_32BIT)

Definition at line 11 of file tables_lpphy.h.

#define B43_LPTAB8 (   table,
  offset 
)    (((table) << 10) | (offset) | B43_LPTAB_8BIT)

Definition at line 9 of file tables_lpphy.h.

#define B43_LPTAB_16BIT   0x20000000

Definition at line 7 of file tables_lpphy.h.

#define B43_LPTAB_32BIT   0x30000000

Definition at line 8 of file tables_lpphy.h.

#define B43_LPTAB_8BIT   0x10000000

Definition at line 6 of file tables_lpphy.h.

#define B43_LPTAB_TXPWR_R0_1   B43_LPTAB32(0xA0, 0) /* TX power lookup table (rev < 2) */

Definition at line 15 of file tables_lpphy.h.

#define B43_LPTAB_TXPWR_R2PLUS   B43_LPTAB32(0x07, 0) /* TX power lookup table (rev >= 2) */

Definition at line 14 of file tables_lpphy.h.

#define B43_LPTAB_TYPEMASK   0xF0000000

Definition at line 5 of file tables_lpphy.h.

Function Documentation

void b2062_upload_init_table ( struct b43_wldev dev)

Definition at line 556 of file tables_lpphy.c.

void b2063_upload_init_table ( struct b43_wldev dev)

Definition at line 575 of file tables_lpphy.c.

u32 b43_lptab_read ( struct b43_wldev dev,
u32  offset 
)

Definition at line 594 of file tables_lpphy.c.

void b43_lptab_read_bulk ( struct b43_wldev dev,
u32  offset,
unsigned int  nr_elements,
void data 
)

Definition at line 625 of file tables_lpphy.c.

void b43_lptab_write ( struct b43_wldev dev,
u32  offset,
u32  value 
)

Definition at line 660 of file tables_lpphy.c.

void b43_lptab_write_bulk ( struct b43_wldev dev,
u32  offset,
unsigned int  nr_elements,
const void data 
)

Definition at line 689 of file tables_lpphy.c.

void lpphy_init_tx_gain_table ( struct b43_wldev dev)

Definition at line 2416 of file tables_lpphy.c.

void lpphy_rev0_1_table_init ( struct b43_wldev dev)

Definition at line 2270 of file tables_lpphy.c.

void lpphy_rev2plus_table_init ( struct b43_wldev dev)

Definition at line 2305 of file tables_lpphy.c.

void lpphy_write_gain_table ( struct b43_wldev dev,
int  offset,
struct lpphy_tx_gain_table_entry  data 
)

Definition at line 2398 of file tables_lpphy.c.

void lpphy_write_gain_table_bulk ( struct b43_wldev dev,
int  offset,
int  count,
struct lpphy_tx_gain_table_entry table 
)

Definition at line 2407 of file tables_lpphy.c.