Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
initvals.c File Reference
#include "ath5k.h"
#include "reg.h"
#include "debug.h"

Go to the source code of this file.

Data Structures

struct  ath5k_ini
 
struct  ath5k_ini_mode
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int ath5k_hw_write_initvals (struct ath5k_hw *ah, u8 mode, bool skip_pcu)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 22 of file initvals.c.

Function Documentation

int ath5k_hw_write_initvals ( struct ath5k_hw ah,
u8  mode,
bool  skip_pcu 
)

ath5k_hw_write_initvals() - Write initial chip-specific register dump : The &struct ath5k_hw : One of enum ath5k_driver_mode : Skip PCU registers

Write initial chip-specific register dump, to get the chipset on a clean and ready-to-work state after warm reset.

Definition at line 1440 of file initvals.c.