Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | SCN2681 |
struct | mc146818 |
Macros | |
#define | APOLLO_UNKNOWN (0) |
#define | APOLLO_DN3000 (1) |
#define | APOLLO_DN3010 (2) |
#define | APOLLO_DN3500 (3) |
#define | APOLLO_DN4000 (4) |
#define | APOLLO_DN4500 (5) |
#define | DECLARE_2681_FIELD(x) unsigned char x; unsigned char dummy##x |
#define | IO_BASE 0x80000000 |
#define | SAU7_SIO01_PHYSADDR 0x10400 |
#define | SAU7_SIO23_PHYSADDR 0x10500 |
#define | SAU7_RTC_PHYSADDR 0x10900 |
#define | SAU7_PICA 0x11000 |
#define | SAU7_PICB 0x11100 |
#define | SAU7_CPUCTRL 0x10100 |
#define | SAU7_TIMER 0x010800 |
#define | SAU8_SIO01_PHYSADDR 0x8400 |
#define | SAU8_RTC_PHYSADDR 0x8900 |
#define | SAU8_PICA 0x9400 |
#define | SAU8_PICB 0x9500 |
#define | SAU8_CPUCTRL 0x8100 |
#define | SAU8_TIMER 0x8800 |
#define | sio01 ((*(volatile struct SCN2681 *)(IO_BASE + sio01_physaddr))) |
#define | sio23 ((*(volatile struct SCN2681 *)(IO_BASE + sio23_physaddr))) |
#define | rtc (((volatile struct mc146818 *)(IO_BASE + rtc_physaddr))) |
#define | cpuctrl (*(volatile unsigned int *)(IO_BASE + cpuctrl_physaddr)) |
#define | pica (IO_BASE + pica_physaddr) |
#define | picb (IO_BASE + picb_physaddr) |
#define | apollo_timer (IO_BASE + timer_physaddr) |
#define | addr_xlat_map ((unsigned short *)(IO_BASE + 0x17000)) |
#define | isaIO2mem(x) (((((x) & 0x3f8) << 7) | (((x) & 0xfc00) >> 6) | ((x) & 0x7)) + 0x40000 + IO_BASE) |
#define | IRQ_APOLLO IRQ_USER |
Variables | |
u_long | apollo_model |
u_long | sio01_physaddr |
u_long | sio23_physaddr |
u_long | rtc_physaddr |
u_long | pica_physaddr |
u_long | picb_physaddr |
u_long | cpuctrl_physaddr |
u_long | timer_physaddr |
Definition at line 90 of file apollohw.h.
#define APOLLO_DN3000 (1) |
Definition at line 15 of file apollohw.h.
#define APOLLO_DN3010 (2) |
Definition at line 16 of file apollohw.h.
#define APOLLO_DN3500 (3) |
Definition at line 17 of file apollohw.h.
#define APOLLO_DN4000 (4) |
Definition at line 18 of file apollohw.h.
#define APOLLO_DN4500 (5) |
Definition at line 19 of file apollohw.h.
#define apollo_timer (IO_BASE + timer_physaddr) |
Definition at line 89 of file apollohw.h.
#define APOLLO_UNKNOWN (0) |
Definition at line 14 of file apollohw.h.
#define cpuctrl (*(volatile unsigned int *)(IO_BASE + cpuctrl_physaddr)) |
Definition at line 86 of file apollohw.h.
Definition at line 26 of file apollohw.h.
#define IO_BASE 0x80000000 |
Definition at line 58 of file apollohw.h.
#define IRQ_APOLLO IRQ_USER |
Definition at line 94 of file apollohw.h.
#define isaIO2mem | ( | x | ) | (((((x) & 0x3f8) << 7) | (((x) & 0xfc00) >> 6) | ((x) & 0x7)) + 0x40000 + IO_BASE) |
Definition at line 92 of file apollohw.h.
#define pica (IO_BASE + pica_physaddr) |
Definition at line 87 of file apollohw.h.
#define picb (IO_BASE + picb_physaddr) |
Definition at line 88 of file apollohw.h.
u32 rtc (((volatile struct mc146818 *)(IO_BASE + rtc_physaddr))) |
Definition at line 85 of file apollohw.h.
#define SAU7_CPUCTRL 0x10100 |
Definition at line 73 of file apollohw.h.
#define SAU7_PICA 0x11000 |
Definition at line 71 of file apollohw.h.
#define SAU7_PICB 0x11100 |
Definition at line 72 of file apollohw.h.
#define SAU7_RTC_PHYSADDR 0x10900 |
Definition at line 70 of file apollohw.h.
#define SAU7_SIO01_PHYSADDR 0x10400 |
Definition at line 68 of file apollohw.h.
#define SAU7_SIO23_PHYSADDR 0x10500 |
Definition at line 69 of file apollohw.h.
#define SAU7_TIMER 0x010800 |
Definition at line 74 of file apollohw.h.
#define SAU8_CPUCTRL 0x8100 |
Definition at line 80 of file apollohw.h.
#define SAU8_PICA 0x9400 |
Definition at line 78 of file apollohw.h.
#define SAU8_PICB 0x9500 |
Definition at line 79 of file apollohw.h.
#define SAU8_RTC_PHYSADDR 0x8900 |
Definition at line 77 of file apollohw.h.
#define SAU8_SIO01_PHYSADDR 0x8400 |
Definition at line 76 of file apollohw.h.
#define SAU8_TIMER 0x8800 |
Definition at line 81 of file apollohw.h.
#define sio01 ((*(volatile struct SCN2681 *)(IO_BASE + sio01_physaddr))) |
Definition at line 83 of file apollohw.h.
#define sio23 ((*(volatile struct SCN2681 *)(IO_BASE + sio23_physaddr))) |
Definition at line 84 of file apollohw.h.