Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
csrc-powertv.c File Reference
#include <linux/clocksource.h>
#include <linux/init.h>
#include <asm/time.h>
#include <asm/mach-powertv/asic_regs.h>
#include "powertv-clock.h"

Go to the source code of this file.

Data Structures

struct  tim_c
 

Macros

#define PLL_GET_M(x)   (((x) >> 8) & 0x000000FF)
 
#define PLL_GET_N(x)   (((x) >> 16) & 0x000000FF)
 
#define PLL_GET_P(x)   (((x) >> 24) & 0x00000007)
 
#define TIM_C_SIZE   48 /* # bits in the timer */
 

Functions

unsigned int __init mips_get_pll_freq (void)
 
void __init powertv_clocksource_init (void)
 

Macro Definition Documentation

#define PLL_GET_M (   x)    (((x) >> 8) & 0x000000FF)

Definition at line 30 of file csrc-powertv.c.

#define PLL_GET_N (   x)    (((x) >> 16) & 0x000000FF)

Definition at line 31 of file csrc-powertv.c.

#define PLL_GET_P (   x)    (((x) >> 24) & 0x00000007)

Definition at line 32 of file csrc-powertv.c.

#define TIM_C_SIZE   48 /* # bits in the timer */

Definition at line 119 of file csrc-powertv.c.

Function Documentation

unsigned int __init mips_get_pll_freq ( void  )

Definition at line 37 of file csrc-powertv.c.

void __init powertv_clocksource_init ( void  )

powertv_clocksource_init - initialize all clocksources

Definition at line 147 of file csrc-powertv.c.