|
Linux Kernel
3.7.1
|
#include <mm/mmu_decl.h>#include <asm/io.h>#include <asm/prom.h>#include <asm/udbg.h>#include <asm/fixmap.h>#include "usbgecko_udbg.h"Go to the source code of this file.
Macros | |
| #define | EXI_CLK_32MHZ 5 |
| #define | EXI_CSR 0x00 |
| #define | EXI_CSR_CLKMASK (0x7<<4) |
| #define | EXI_CSR_CLK_32MHZ (EXI_CLK_32MHZ<<4) |
| #define | EXI_CSR_CSMASK (0x7<<7) |
| #define | EXI_CSR_CS_0 (0x1<<7) /* Chip Select 001 */ |
| #define | EXI_CR 0x0c |
| #define | EXI_CR_TSTART (1<<0) |
| #define | EXI_CR_WRITE (1<<2) |
| #define | EXI_CR_READ_WRITE (2<<2) |
| #define | EXI_CR_TLEN(len) (((len)-1)<<4) |
| #define | EXI_DATA 0x10 |
| #define | UG_READ_ATTEMPTS 100 |
| #define | UG_WRITE_ATTEMPTS 100 |
Functions | |
| void | ug_udbg_putc (char ch) |
| void __init | ug_udbg_init (void) |
| #define EXI_CLK_32MHZ 5 |
Definition at line 25 of file usbgecko_udbg.c.
| #define EXI_CR 0x0c |
Definition at line 33 of file usbgecko_udbg.c.
| #define EXI_CR_READ_WRITE (2<<2) |
Definition at line 36 of file usbgecko_udbg.c.
Definition at line 37 of file usbgecko_udbg.c.
| #define EXI_CR_TSTART (1<<0) |
Definition at line 34 of file usbgecko_udbg.c.
| #define EXI_CR_WRITE (1<<2) |
Definition at line 35 of file usbgecko_udbg.c.
| #define EXI_CSR 0x00 |
Definition at line 27 of file usbgecko_udbg.c.
| #define EXI_CSR_CLK_32MHZ (EXI_CLK_32MHZ<<4) |
Definition at line 29 of file usbgecko_udbg.c.
| #define EXI_CSR_CLKMASK (0x7<<4) |
Definition at line 28 of file usbgecko_udbg.c.
| #define EXI_CSR_CS_0 (0x1<<7) /* Chip Select 001 */ |
Definition at line 31 of file usbgecko_udbg.c.
| #define EXI_CSR_CSMASK (0x7<<7) |
Definition at line 30 of file usbgecko_udbg.c.
| #define EXI_DATA 0x10 |
Definition at line 39 of file usbgecko_udbg.c.
| #define UG_READ_ATTEMPTS 100 |
Definition at line 41 of file usbgecko_udbg.c.
| #define UG_WRITE_ATTEMPTS 100 |
Definition at line 42 of file usbgecko_udbg.c.
Definition at line 239 of file usbgecko_udbg.c.
Definition at line 172 of file usbgecko_udbg.c.
1.8.2