Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hmatrix.c File Reference
#include <linux/clk.h>
#include <linux/io.h>
#include <mach/chip.h>
#include <mach/hmatrix.h>

Go to the source code of this file.

Functions

void hmatrix_write_reg (unsigned long offset, u32 value)
 
u32 hmatrix_read_reg (unsigned long offset)
 
void hmatrix_sfr_set_bits (unsigned int slave_id, u32 mask)
 
void hmatrix_sfr_clear_bits (unsigned int slave_id, u32 mask)
 

Function Documentation

u32 hmatrix_read_reg ( unsigned long  offset)

hmatrix_read_reg - read HMATRIX configuration register : register offset

Returns the value of the register at .

Definition at line 45 of file hmatrix.c.

void hmatrix_sfr_clear_bits ( unsigned int  slave_id,
u32  mask 
)

hmatrix_sfr_set_bits - clear bits in a slave's Special Function Register : operate on the SFR belonging to this slave : mask of bits to be cleared in the SFR

Definition at line 78 of file hmatrix.c.

void hmatrix_sfr_set_bits ( unsigned int  slave_id,
u32  mask 
)

hmatrix_sfr_set_bits - set bits in a slave's Special Function Register : operate on the SFR belonging to this slave : mask of bits to be set in the SFR

Definition at line 61 of file hmatrix.c.

void hmatrix_write_reg ( unsigned long  offset,
u32  value 
)

hmatrix_write_reg - write HMATRIX configuration register : register offset : value to be written to the register at

Definition at line 31 of file hmatrix.c.