Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sch56xx-common.h File Reference
#include <linux/mutex.h>

Go to the source code of this file.

Functions

int sch56xx_read_virtual_reg (u16 addr, u16 reg)
 
int sch56xx_write_virtual_reg (u16 addr, u16 reg, u8 val)
 
int sch56xx_read_virtual_reg16 (u16 addr, u16 reg)
 
int sch56xx_read_virtual_reg12 (u16 addr, u16 msb_reg, u16 lsn_reg, int high_nibble)
 
struct sch56xx_watchdog_datasch56xx_watchdog_register (struct device *parent, u16 addr, u32 revision, struct mutex *io_lock, int check_enabled)
 
void sch56xx_watchdog_unregister (struct sch56xx_watchdog_data *data)
 

Function Documentation

int sch56xx_read_virtual_reg ( u16  addr,
u16  reg 
)

Definition at line 207 of file sch56xx-common.c.

int sch56xx_read_virtual_reg12 ( u16  addr,
u16  msb_reg,
u16  lsn_reg,
int  high_nibble 
)

Definition at line 236 of file sch56xx-common.c.

int sch56xx_read_virtual_reg16 ( u16  addr,
u16  reg 
)

Definition at line 219 of file sch56xx-common.c.

struct sch56xx_watchdog_data* sch56xx_watchdog_register ( struct device parent,
u16  addr,
u32  revision,
struct mutex io_lock,
int  check_enabled 
)
read

Definition at line 422 of file sch56xx-common.c.

void sch56xx_watchdog_unregister ( struct sch56xx_watchdog_data data)

Definition at line 494 of file sch56xx-common.c.

int sch56xx_write_virtual_reg ( u16  addr,
u16  reg,
u8  val 
)

Definition at line 213 of file sch56xx-common.c.