Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
clk Struct Reference

#include <clock.h>

Data Fields

struct list_head node
 
const charname
 
struct clk_lookup cl
 
unsigned long rate_hz
 
struct clkparent
 
u32 pmc_mask
 
void(* mode )(struct clk *, int)
 
unsigned id:3
 
unsigned type
 
u16 users
 
struct moduleowner
 
unsigned long rate
 
unsigned long maxrate
 
u8 usecount
 
u8 lpsc
 
u8 gpsc
 
u8 domain
 
u32 flags
 
struct list_head children
 
struct list_head childnode
 
struct pll_datapll_data
 
u32 div_reg
 
unsigned long(* recalc )(struct clk *)
 
int(* set_rate )(struct clk *clk, unsigned long rate)
 
int(* round_rate )(struct clk *clk, unsigned long rate)
 
int users
 
int sw_locked
 
void __iomemenable_reg
 
u32 enable_mask
 
unsigned long(* get_rate )(struct clk *clk)
 
u32 rate
 
u32 usecount
 
unsigned long(* round_rate )(struct clk *, unsigned long)
 
int(* enable )(struct clk *, int)
 
struct clkopsops
 
void __iomemclk_rst
 
int fnclksel
 
uint32_t enable_val
 
int enabled
 
uint32_t id
 
uint32_t remote_id
 
uint32_t count
 
uint32_t flags
 
struct clk_opsops
 
const chardbg_name
 
struct list_head list
 
unsigned int cken
 
unsigned int delay
 
unsigned int enabled
 
struct icst_paramsparams
 
void __iomemvcoreg
 
unsigned long cken
 
void(* enable )(struct clk *, int enable)
 
struct list_head sibling
 
long(* round_rate )(struct clk *, unsigned long)
 
void(* init )(struct clk *)
 
u8 enable_bit
 
s8 usecount
 
u8 fixed_div
 
u8 flags
 
u8 rate_offset
 
u8 src_offset
 
const chardevname
 
int id
 
int usage
 
unsigned long ctrlbit
 
struct clk_lookup lookup
 
struct devicedev
 
long(* set_rate )(struct clk *clk, unsigned long rate, int apply)
 
int(* set_parent )(struct clk *clk, struct clk *parent)
 
u16 index
 
spinlock_t lock
 
void __iomemreg
 
u32 mask
 
u32 shift
 
struct paramsparams
 
int usecount
 
u32 div
 
struct kref kref
 
unsigned long flags
 
unsigned int rate
 
void(* set )(struct clk *, int)
 
unsigned int usage
 
uint32_t gate_bit
 
unsigned longrates
 
unsigned int module
 
unsigned int bits
 
void(* disable )(struct clk *clk)
 
int(* activate )(struct clk *clk)
 
void(* deactivate )(struct clk *clk)
 
void(* reboot )(struct clk *clk)
 
char name [32]
 
int flags
 
void(* calc )(struct clk *)
 
int reg
 
int bit
 
int div_shift
 
struct clk ** parent_table
 
unsigned short parent_num
 
unsigned char src_shift
 
unsigned char src_width
 
struct sh_clk_opsops
 
unsigned int enable_bit
 
void __iomemmapped_reg
 
unsigned int div_mask
 
unsigned long arch_flags
 
voidpriv
 
struct clk_mappingmapping
 
struct cpufreq_frequency_tablefreq_table
 
unsigned int nr_freqs
 

Detailed Description

Definition at line 18 of file clock.h.

Field Documentation

int(* activate)(struct clk *clk)

Definition at line 61 of file clk.h.

unsigned long arch_flags

Definition at line 59 of file sh_clk.h.

int bit

Definition at line 47 of file clock.c.

unsigned int bits

Definition at line 57 of file clk.h.

void(* calc)(struct clk *)

Definition at line 45 of file clock.c.

struct list_head childnode

Definition at line 100 of file clock.h.

struct list_head children

Definition at line 99 of file clock.h.

unsigned int cken

Definition at line 14 of file clock.h.

unsigned long cken

Definition at line 19 of file clock.h.

Definition at line 21 of file clock.h.

void __iomem* clk_rst

Definition at line 21 of file clock.h.

uint32_t count

Definition at line 52 of file clock.h.

unsigned long ctrlbit

Definition at line 51 of file clock.h.

const char* dbg_name

Definition at line 55 of file clock.h.

void(* deactivate)(struct clk *clk)

Definition at line 62 of file clk.h.

unsigned int delay

Definition at line 15 of file clock.h.

struct device * dev

Definition at line 23 of file clock.h.

const char* devname

Definition at line 47 of file clock.h.

void(* disable)(struct clk *clk)

Definition at line 60 of file clk.h.

u32 div

Definition at line 93 of file clock.h.

unsigned int div_mask

Definition at line 58 of file sh_clk.h.

u32 div_reg

Definition at line 102 of file clock.h.

int div_shift

Definition at line 48 of file clock.c.

u8 domain

Definition at line 96 of file clock.h.

void(* enable)(struct clk *, int enable)

Definition at line 21 of file clock.h.

int(* enable)(struct clk *clk)

Definition at line 31 of file clock.h.

unsigned int enable_bit

Definition at line 55 of file sh_clk.h.

u8 enable_bit

Definition at line 258 of file clock.h.

u32 enable_mask

Definition at line 36 of file clock.c.

void __iomem * enable_reg

Definition at line 35 of file clock.c.

uint32_t enable_val

Definition at line 23 of file clock.h.

unsigned int enabled

Definition at line 16 of file clock.h.

unsigned int enabled

Definition at line 25 of file clock.h.

u8 fixed_div

Definition at line 260 of file clock.h.

unsigned long flags

Definition at line 34 of file clock.h.

int flags

Definition at line 41 of file clock.c.

uint32_t flags

Definition at line 53 of file clock.h.

unsigned long flags

Definition at line 97 of file clock.h.

u8 flags

Definition at line 261 of file clock.h.

int fnclksel

Definition at line 22 of file clock.h.

Definition at line 62 of file sh_clk.h.

uint32_t gate_bit

Definition at line 49 of file clock.h.

unsigned long(* get_rate)(void)

Definition at line 38 of file clock.c.

u8 gpsc

Definition at line 95 of file clock.h.

Definition at line 26 of file clock.h.

Definition at line 48 of file clock.h.

Definition at line 50 of file clock.h.

u16 index

Definition at line 31 of file clock.h.

void(* init)(struct clk *)

Definition at line 257 of file clock.h.

Definition at line 31 of file clock.h.

Definition at line 56 of file clock.h.

spinlock_t lock

Definition at line 65 of file clocks.h.

Definition at line 55 of file clock.h.

u8 lpsc

Definition at line 94 of file clock.h.

void __iomem* mapped_reg

Definition at line 56 of file sh_clk.h.

struct clk_mapping* mapping

Definition at line 61 of file sh_clk.h.

u32 mask

Definition at line 69 of file clocks.h.

unsigned long maxrate

Definition at line 92 of file clock.h.

void(* mode)(struct clk *clk, int enabled)

Definition at line 25 of file clock.h.

unsigned int module

Definition at line 56 of file clk.h.

const char * name

Definition at line 20 of file clock.h.

char name[32]

Definition at line 40 of file clock.c.

Definition at line 19 of file clock.h.

unsigned int nr_freqs

Definition at line 63 of file sh_clk.h.

struct clk_ops * ops

Definition at line 19 of file clock.h.

Definition at line 44 of file sh_clk.h.

Definition at line 54 of file clock.h.

struct module * owner

Definition at line 89 of file clock.h.

Definition at line 9 of file clkdev.h.

Definition at line 20 of file clock.h.

struct clk * parent

Definition at line 23 of file clock.h.

unsigned short parent_num

Definition at line 41 of file sh_clk.h.

struct clk** parent_table

Definition at line 40 of file sh_clk.h.

Definition at line 101 of file clock.h.

u32 pmc_mask

Definition at line 24 of file clock.h.

Definition at line 60 of file sh_clk.h.

u32 rate

Definition at line 25 of file clock.h.

unsigned long rate

Definition at line 91 of file clock.h.

unsigned int rate

Definition at line 148 of file ar7.h.

unsigned long rate_hz

Definition at line 22 of file clock.h.

u8 rate_offset

Definition at line 270 of file clock.h.

unsigned long* rates

Definition at line 55 of file clk.h.

void(* reboot)(struct clk *clk)

Definition at line 63 of file clk.h.

unsigned long(* recalc)(struct clk *)

Definition at line 103 of file clock.h.

Definition at line 47 of file clock.c.

Definition at line 68 of file clocks.h.

uint32_t remote_id

Definition at line 51 of file clock.h.

unsigned long(* round_rate)(struct clk *, unsigned long)

Definition at line 29 of file clock.h.

int(* round_rate)(struct clk *clk, unsigned long rate)

Definition at line 105 of file clock.h.

long(* round_rate)(struct clk *, unsigned long)

Definition at line 256 of file clock.h.

void(* set)(struct clk *, int)

Definition at line 5 of file bcm63xx_clk.h.

int(* set_parent)(struct clk *clk, struct clk *parent)

Definition at line 29 of file clock.h.

long(* set_rate)(struct clk *clk, unsigned long rate, int apply)

Definition at line 27 of file clock.h.

int(* set_rate)(struct clk *clk, unsigned long rate)

Definition at line 104 of file clock.h.

u32 shift

Definition at line 70 of file clocks.h.

struct list_head sibling

Definition at line 251 of file clock.h.

u8 src_offset

Definition at line 271 of file clock.h.

unsigned char src_shift

Definition at line 42 of file sh_clk.h.

unsigned char src_width

Definition at line 43 of file sh_clk.h.

int sw_locked

Definition at line 34 of file clock.c.

unsigned type

Definition at line 27 of file clock.h.

unsigned int usage

Definition at line 7 of file bcm63xx_clk.h.

int usage

Definition at line 49 of file clock.h.

u32 usecount

Definition at line 26 of file clock.h.

int usecount

Definition at line 87 of file clock.h.

int usecount

Definition at line 93 of file clock.h.

s8 usecount

Definition at line 259 of file clock.h.

u16 users

Definition at line 28 of file clock.h.

int users

Definition at line 33 of file clock.c.

void __iomem * vcoreg

Definition at line 10 of file clkdev.h.


The documentation for this struct was generated from the following files: