Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cmd.c File Reference
#include <asm/div64.h>
#include "carl9170.h"
#include "cmd.h"

Go to the source code of this file.

Functions

int carl9170_write_reg (struct ar9170 *ar, const u32 reg, const u32 val)
 
int carl9170_read_mreg (struct ar9170 *ar, const int nregs, const u32 *regs, u32 *out)
 
int carl9170_read_reg (struct ar9170 *ar, u32 reg, u32 *val)
 
int carl9170_echo_test (struct ar9170 *ar, const u32 v)
 
struct carl9170_cmdcarl9170_cmd_buf (struct ar9170 *ar, const enum carl9170_cmd_oids cmd, const unsigned int len)
 
int carl9170_reboot (struct ar9170 *ar)
 
int carl9170_mac_reset (struct ar9170 *ar)
 
int carl9170_bcn_ctrl (struct ar9170 *ar, const unsigned int vif_id, const u32 mode, const u32 addr, const u32 len)
 
int carl9170_collect_tally (struct ar9170 *ar)
 
int carl9170_powersave (struct ar9170 *ar, const bool ps)
 

Function Documentation

int carl9170_bcn_ctrl ( struct ar9170 ar,
const unsigned int  vif_id,
const u32  mode,
const u32  addr,
const u32  len 
)

Definition at line 151 of file cmd.c.

struct carl9170_cmd* carl9170_cmd_buf ( struct ar9170 ar,
const enum carl9170_cmd_oids  cmd,
const unsigned int  len 
)
read

Definition at line 118 of file cmd.c.

int carl9170_collect_tally ( struct ar9170 ar)

Definition at line 169 of file cmd.c.

int carl9170_echo_test ( struct ar9170 ar,
const u32  v 
)

Definition at line 99 of file cmd.c.

int carl9170_mac_reset ( struct ar9170 ar)

Definition at line 145 of file cmd.c.

int carl9170_powersave ( struct ar9170 ar,
const bool  ps 
)

Definition at line 202 of file cmd.c.

int carl9170_read_mreg ( struct ar9170 ar,
const int  nregs,
const u32 regs,
u32 out 
)

Definition at line 62 of file cmd.c.

int carl9170_read_reg ( struct ar9170 ar,
u32  reg,
u32 val 
)

Definition at line 94 of file cmd.c.

int carl9170_reboot ( struct ar9170 ar)

Definition at line 132 of file cmd.c.

int carl9170_write_reg ( struct ar9170 ar,
const u32  reg,
const u32  val 
)

Definition at line 43 of file cmd.c.