Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
timer16.c File Reference
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/timex.h>
#include <asm/segment.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/regs306x.h>

Go to the source code of this file.

Macros

#define _16BASE   0xffff78
 
#define _16IRQ   24
 
#define TCR   0
 
#define TIOR   1
 
#define TCNT   2
 
#define GRA   4
 
#define GRB   6
 
#define H8300_TIMER_FREQ   CONFIG_CPU_CLOCK*10000 /* Timer input freq. */
 

Functions

void __init h8300_timer_setup (void)
 

Macro Definition Documentation

#define _16BASE   0xffff78

Definition at line 27 of file timer16.c.

#define _16IRQ   24

Definition at line 28 of file timer16.c.

#define GRA   4

Definition at line 42 of file timer16.c.

#define GRB   6

Definition at line 43 of file timer16.c.

#define H8300_TIMER_FREQ   CONFIG_CPU_CLOCK*10000 /* Timer input freq. */

Definition at line 45 of file timer16.c.

#define TCNT   2

Definition at line 41 of file timer16.c.

#define TCR   0

Definition at line 39 of file timer16.c.

#define TIOR   1

Definition at line 40 of file timer16.c.

Function Documentation

void __init h8300_timer_setup ( void  )

Definition at line 62 of file timer16.c.