Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iwl-io.c File Reference
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/export.h>
#include "iwl-io.h"
#include "iwl-csr.h"
#include "iwl-debug.h"

Go to the source code of this file.

Macros

#define IWL_POLL_INTERVAL   10 /* microseconds */
 

Functions

void iwl_set_bit (struct iwl_trans *trans, u32 reg, u32 mask)
 
 EXPORT_SYMBOL_GPL (iwl_set_bit)
 
void iwl_clear_bit (struct iwl_trans *trans, u32 reg, u32 mask)
 
 EXPORT_SYMBOL_GPL (iwl_clear_bit)
 
void iwl_set_bits_mask (struct iwl_trans *trans, u32 reg, u32 mask, u32 value)
 
 EXPORT_SYMBOL_GPL (iwl_set_bits_mask)
 
int iwl_poll_bit (struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout)
 
 EXPORT_SYMBOL_GPL (iwl_poll_bit)
 
int iwl_grab_nic_access_silent (struct iwl_trans *trans)
 
 EXPORT_SYMBOL_GPL (iwl_grab_nic_access_silent)
 
bool iwl_grab_nic_access (struct iwl_trans *trans)
 
 EXPORT_SYMBOL_GPL (iwl_grab_nic_access)
 
void iwl_release_nic_access (struct iwl_trans *trans)
 
 EXPORT_SYMBOL_GPL (iwl_release_nic_access)
 
u32 iwl_read_direct32 (struct iwl_trans *trans, u32 reg)
 
 EXPORT_SYMBOL_GPL (iwl_read_direct32)
 
void iwl_write_direct32 (struct iwl_trans *trans, u32 reg, u32 value)
 
 EXPORT_SYMBOL_GPL (iwl_write_direct32)
 
int iwl_poll_direct_bit (struct iwl_trans *trans, u32 addr, u32 mask, int timeout)
 
 EXPORT_SYMBOL_GPL (iwl_poll_direct_bit)
 
u32 iwl_read_prph (struct iwl_trans *trans, u32 reg)
 
 EXPORT_SYMBOL_GPL (iwl_read_prph)
 
void iwl_write_prph (struct iwl_trans *trans, u32 addr, u32 val)
 
 EXPORT_SYMBOL_GPL (iwl_write_prph)
 
void iwl_set_bits_prph (struct iwl_trans *trans, u32 reg, u32 mask)
 
 EXPORT_SYMBOL_GPL (iwl_set_bits_prph)
 
void iwl_set_bits_mask_prph (struct iwl_trans *trans, u32 reg, u32 bits, u32 mask)
 
 EXPORT_SYMBOL_GPL (iwl_set_bits_mask_prph)
 
void iwl_clear_bits_prph (struct iwl_trans *trans, u32 reg, u32 mask)
 
 EXPORT_SYMBOL_GPL (iwl_clear_bits_prph)
 
void _iwl_read_targ_mem_dwords (struct iwl_trans *trans, u32 addr, void *buf, int dwords)
 
 EXPORT_SYMBOL_GPL (_iwl_read_targ_mem_dwords)
 
u32 iwl_read_targ_mem (struct iwl_trans *trans, u32 addr)
 
 EXPORT_SYMBOL_GPL (iwl_read_targ_mem)
 
int _iwl_write_targ_mem_dwords (struct iwl_trans *trans, u32 addr, void *buf, int dwords)
 
 EXPORT_SYMBOL_GPL (_iwl_write_targ_mem_dwords)
 
int iwl_write_targ_mem (struct iwl_trans *trans, u32 addr, u32 val)
 
 EXPORT_SYMBOL_GPL (iwl_write_targ_mem)
 

Macro Definition Documentation

#define IWL_POLL_INTERVAL   10 /* microseconds */

Definition at line 36 of file iwl-io.c.

Function Documentation

void _iwl_read_targ_mem_dwords ( struct iwl_trans trans,
u32  addr,
void buf,
int  dwords 
)

Definition at line 301 of file iwl-io.c.

int _iwl_write_targ_mem_dwords ( struct iwl_trans trans,
u32  addr,
void buf,
int  dwords 
)

Definition at line 329 of file iwl-io.c.

EXPORT_SYMBOL_GPL ( iwl_set_bit  )
EXPORT_SYMBOL_GPL ( iwl_clear_bit  )
EXPORT_SYMBOL_GPL ( iwl_set_bits_mask  )
EXPORT_SYMBOL_GPL ( iwl_poll_bit  )
EXPORT_SYMBOL_GPL ( iwl_grab_nic_access_silent  )
EXPORT_SYMBOL_GPL ( iwl_grab_nic_access  )
EXPORT_SYMBOL_GPL ( iwl_release_nic_access  )
EXPORT_SYMBOL_GPL ( iwl_read_direct32  )
EXPORT_SYMBOL_GPL ( iwl_write_direct32  )
EXPORT_SYMBOL_GPL ( iwl_poll_direct_bit  )
EXPORT_SYMBOL_GPL ( iwl_read_prph  )
EXPORT_SYMBOL_GPL ( iwl_write_prph  )
EXPORT_SYMBOL_GPL ( iwl_set_bits_prph  )
EXPORT_SYMBOL_GPL ( iwl_set_bits_mask_prph  )
EXPORT_SYMBOL_GPL ( iwl_clear_bits_prph  )
EXPORT_SYMBOL_GPL ( _iwl_read_targ_mem_dwords  )
EXPORT_SYMBOL_GPL ( iwl_read_targ_mem  )
EXPORT_SYMBOL_GPL ( _iwl_write_targ_mem_dwords  )
EXPORT_SYMBOL_GPL ( iwl_write_targ_mem  )
void iwl_clear_bit ( struct iwl_trans trans,
u32  reg,
u32  mask 
)

Definition at line 58 of file iwl-io.c.

void iwl_clear_bits_prph ( struct iwl_trans trans,
u32  reg,
u32  mask 
)

Definition at line 286 of file iwl-io.c.

bool iwl_grab_nic_access ( struct iwl_trans trans)

Definition at line 144 of file iwl-io.c.

int iwl_grab_nic_access_silent ( struct iwl_trans trans)

Definition at line 102 of file iwl-io.c.

int iwl_poll_bit ( struct iwl_trans trans,
u32  addr,
u32  bits,
u32  mask,
int  timeout 
)

Definition at line 86 of file iwl-io.c.

int iwl_poll_direct_bit ( struct iwl_trans trans,
u32  addr,
u32  mask,
int  timeout 
)

Definition at line 201 of file iwl-io.c.

u32 iwl_read_direct32 ( struct iwl_trans trans,
u32  reg 
)

Definition at line 173 of file iwl-io.c.

u32 iwl_read_prph ( struct iwl_trans trans,
u32  reg 
)

Definition at line 230 of file iwl-io.c.

u32 iwl_read_targ_mem ( struct iwl_trans trans,
u32  addr 
)

Definition at line 319 of file iwl-io.c.

void iwl_release_nic_access ( struct iwl_trans trans)

Definition at line 158 of file iwl-io.c.

void iwl_set_bit ( struct iwl_trans trans,
u32  reg,
u32  mask 
)

Definition at line 48 of file iwl-io.c.

void iwl_set_bits_mask ( struct iwl_trans trans,
u32  reg,
u32  mask,
u32  value 
)

Definition at line 68 of file iwl-io.c.

void iwl_set_bits_mask_prph ( struct iwl_trans trans,
u32  reg,
u32  bits,
u32  mask 
)

Definition at line 271 of file iwl-io.c.

void iwl_set_bits_prph ( struct iwl_trans trans,
u32  reg,
u32  mask 
)

Definition at line 257 of file iwl-io.c.

void iwl_write_direct32 ( struct iwl_trans trans,
u32  reg,
u32  value 
)

Definition at line 188 of file iwl-io.c.

void iwl_write_prph ( struct iwl_trans trans,
u32  addr,
u32  val 
)

Definition at line 244 of file iwl-io.c.

int iwl_write_targ_mem ( struct iwl_trans trans,
u32  addr,
u32  val 
)

Definition at line 350 of file iwl-io.c.