Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
main.h File Reference
#include "b43.h"

Go to the source code of this file.

Macros

#define P4D_BYT3S(magic, nr_bytes)   u8 __p4dding##magic[nr_bytes]
 
#define P4D_BYTES(line, nr_bytes)   P4D_BYT3S(line, nr_bytes)
 
#define PAD_BYTES(nr_bytes)   P4D_BYTES( __LINE__ , (nr_bytes))
 
#define B43_PS_ENABLED   (1 << 0) /* Force enable hardware power saving */
 
#define B43_PS_DISABLED   (1 << 1) /* Force disable hardware power saving */
 
#define B43_PS_AWAKE   (1 << 2) /* Force device awake */
 
#define B43_PS_ASLEEP   (1 << 3) /* Force device asleep */
 

Enumerations

enum  b43_verbosity {
  B43_VERBOSITY_ERROR, B43_VERBOSITY_WARN, B43_VERBOSITY_INFO, B43_VERBOSITY_DEBUG,
  __B43_VERBOSITY_AFTERLAST, B43_VERBOSITY_MAX = __B43_VERBOSITY_AFTERLAST - 1, B43_VERBOSITY_DEFAULT = B43_VERBOSITY_INFO
}
 

Functions

u8 b43_ieee80211_antenna_sanitize (struct b43_wldev *dev, u8 antenna_nr)
 
void b43_tsf_read (struct b43_wldev *dev, u64 *tsf)
 
void b43_tsf_write (struct b43_wldev *dev, u64 tsf)
 
u32 b43_shm_read32 (struct b43_wldev *dev, u16 routing, u16 offset)
 
u16 b43_shm_read16 (struct b43_wldev *dev, u16 routing, u16 offset)
 
void b43_shm_write32 (struct b43_wldev *dev, u16 routing, u16 offset, u32 value)
 
void b43_shm_write16 (struct b43_wldev *dev, u16 routing, u16 offset, u16 value)
 
u64 b43_hf_read (struct b43_wldev *dev)
 
void b43_hf_write (struct b43_wldev *dev, u64 value)
 
void b43_dummy_transmission (struct b43_wldev *dev, bool ofdm, bool pa_on)
 
void b43_wireless_core_reset (struct b43_wldev *dev, bool gmode)
 
void b43_controller_restart (struct b43_wldev *dev, const char *reason)
 
void b43_power_saving_ctl_bits (struct b43_wldev *dev, unsigned int ps_flags)
 
void b43_mac_suspend (struct b43_wldev *dev)
 
void b43_mac_enable (struct b43_wldev *dev)
 
void b43_mac_phy_clock_set (struct b43_wldev *dev, bool on)
 
int b43_do_request_fw (struct b43_request_fw_context *ctx, const char *name, struct b43_firmware_file *fw)
 
void b43_do_release_fw (struct b43_firmware_file *fw)
 

Variables

int b43_modparam_verbose
 

Macro Definition Documentation

#define B43_PS_ASLEEP   (1 << 3) /* Force device asleep */

Definition at line 131 of file main.h.

#define B43_PS_AWAKE   (1 << 2) /* Force device awake */

Definition at line 130 of file main.h.

#define B43_PS_DISABLED   (1 << 1) /* Force disable hardware power saving */

Definition at line 129 of file main.h.

#define B43_PS_ENABLED   (1 << 0) /* Force enable hardware power saving */

Definition at line 128 of file main.h.

#define P4D_BYT3S (   magic,
  nr_bytes 
)    u8 __p4dding##magic[nr_bytes]

Definition at line 36 of file main.h.

#define P4D_BYTES (   line,
  nr_bytes 
)    P4D_BYT3S(line, nr_bytes)

Definition at line 37 of file main.h.

#define PAD_BYTES (   nr_bytes)    P4D_BYTES( __LINE__ , (nr_bytes))

Definition at line 39 of file main.h.

Enumeration Type Documentation

Enumerator:
B43_VERBOSITY_ERROR 
B43_VERBOSITY_WARN 
B43_VERBOSITY_INFO 
B43_VERBOSITY_DEBUG 
__B43_VERBOSITY_AFTERLAST 
B43_VERBOSITY_MAX 
B43_VERBOSITY_DEFAULT 

Definition at line 46 of file main.h.

Function Documentation

void b43_controller_restart ( struct b43_wldev dev,
const char reason 
)

Definition at line 5510 of file main.c.

void b43_do_release_fw ( struct b43_firmware_file fw)

Definition at line 2062 of file main.c.

int b43_do_request_fw ( struct b43_request_fw_context ctx,
const char name,
struct b43_firmware_file fw 
)

Definition at line 2091 of file main.c.

void b43_dummy_transmission ( struct b43_wldev dev,
bool  ofdm,
bool  pa_on 
)

Definition at line 702 of file main.c.

u64 b43_hf_read ( struct b43_wldev dev)

Definition at line 532 of file main.c.

void b43_hf_write ( struct b43_wldev dev,
u64  value 
)

Definition at line 546 of file main.c.

u8 b43_ieee80211_antenna_sanitize ( struct b43_wldev dev,
u8  antenna_nr 
)

Definition at line 1485 of file main.c.

void b43_mac_enable ( struct b43_wldev dev)

Definition at line 2792 of file main.c.

void b43_mac_phy_clock_set ( struct b43_wldev dev,
bool  on 
)

Definition at line 2854 of file main.c.

void b43_mac_suspend ( struct b43_wldev dev)

Definition at line 2821 of file main.c.

void b43_power_saving_ctl_bits ( struct b43_wldev dev,
unsigned int  ps_flags 
)

Definition at line 1106 of file main.c.

u16 b43_shm_read16 ( struct b43_wldev dev,
u16  routing,
u16  offset 
)

Definition at line 474 of file main.c.

u32 b43_shm_read32 ( struct b43_wldev dev,
u16  routing,
u16  offset 
)

Definition at line 451 of file main.c.

void b43_shm_write16 ( struct b43_wldev dev,
u16  routing,
u16  offset,
u16  value 
)

Definition at line 515 of file main.c.

void b43_shm_write32 ( struct b43_wldev dev,
u16  routing,
u16  offset,
u32  value 
)

Definition at line 495 of file main.c.

void b43_tsf_read ( struct b43_wldev dev,
u64 tsf 
)

Definition at line 565 of file main.c.

void b43_tsf_write ( struct b43_wldev dev,
u64  tsf 
)

Definition at line 611 of file main.c.

void b43_wireless_core_reset ( struct b43_wldev dev,
bool  gmode 
)

Definition at line 1227 of file main.c.

Variable Documentation

int b43_modparam_verbose

Definition at line 108 of file main.c.