Go to the source code of this file.
|
uint64_t | octeon_bootmem_alloc_range_phys (uint64_t size, uint64_t alignment, uint64_t min_addr, uint64_t max_addr, int do_locking) |
|
void * | octeon_bootmem_alloc (uint64_t size, uint64_t alignment, int do_locking) |
|
void * | octeon_bootmem_alloc_range (uint64_t size, uint64_t alignment, uint64_t min_addr, uint64_t max_addr, int do_locking) |
|
void * | octeon_bootmem_alloc_named (uint64_t size, uint64_t alignment, char *name) |
|
void * | octeon_bootmem_alloc_named_range (uint64_t size, uint64_t min_addr, uint64_t max_addr, uint64_t align, char *name) |
|
void * | octeon_bootmem_alloc_named_address (uint64_t size, uint64_t address, char *name) |
|
int | octeon_bootmem_free_named (char *name) |
|
void | octeon_bootmem_lock (void) |
|
void | octeon_bootmem_unlock (void) |
|
int | octeon_is_simulation (void) |
|
int | octeon_is_pci_host (void) |
|
int | octeon_usb_is_ref_clk (void) |
|
uint64_t | octeon_get_clock_rate (void) |
|
u64 | octeon_get_io_clock_rate (void) |
|
const char * | octeon_board_type_string (void) |
|
const char * | octeon_get_pci_interrupts (void) |
|
int | octeon_get_southbridge_interrupt (void) |
|
int | octeon_get_boot_coremask (void) |
|
int | octeon_get_boot_num_arguments (void) |
|
const char * | octeon_get_boot_argument (int arg) |
|
void | octeon_hal_setup_reserved32 (void) |
|
void | octeon_user_io_init (void) |
|
unsigned long | octeon_crypto_enable (struct octeon_cop2_state *state) |
|
void | octeon_crypto_disable (struct octeon_cop2_state *state, unsigned long flags) |
|
asmlinkage void | octeon_cop2_restore (struct octeon_cop2_state *task) |
|
void | octeon_init_cvmcount (void) |
|
void | octeon_setup_delays (void) |
|
void | octeon_io_clk_delay (unsigned long) |
|
void | octeon_write_lcd (const char *s) |
|
void | octeon_check_cpu_bist (void) |
|
int | octeon_get_boot_debug_flag (void) |
|
int | octeon_get_boot_uart (void) |
|
unsigned int | octeon_serial_in (struct uart_port *, int) |
|
void | octeon_serial_out (struct uart_port *, int, int) |
|
void | octeon_irq_set_ip4_handler (octeon_irq_ip4_handler_t) |
|
#define BOOT_FLAG_INIT_CORE (1 << 0) |
#define OCTEON_ARGV_MAX_ARGS 64 |
#define OCTEON_BL_FLAG_BREAK (1 << 5) |
#define OCTEON_BL_FLAG_CONSOLE_PCI (1 << 4) |
#define OCTEON_BL_FLAG_CONSOLE_UART1 (1 << 3) |
#define OCTEON_BL_FLAG_DEBUG (1 << 1) |
#define OCTEON_BL_FLAG_NO_MAGIC (1 << 2) |
#define OCTOEN_SERIAL_LEN 20 |
typedef void(* octeon_irq_ip4_handler_t)(void) |
Handle all the error condition interrupts that might occur. Return a string representing the system type
Returns
Definition at line 276 of file setup.c.
int octeon_bootmem_free_named |
( |
char * |
name | ) |
|
Check the hardware BIST results for a CPU
Definition at line 171 of file setup.c.
void octeon_crypto_disable |
( |
struct octeon_cop2_state * |
state, |
|
|
unsigned long |
flags |
|
) |
| |
unsigned long octeon_crypto_enable |
( |
struct octeon_cop2_state * |
state | ) |
|
int octeon_get_boot_coremask |
( |
void |
| ) |
|
Get the coremask Linux was booted on.
Returns Core mask
Definition at line 163 of file setup.c.
int octeon_get_boot_debug_flag |
( |
void |
| ) |
|
int octeon_get_boot_num_arguments |
( |
void |
| ) |
|
Return the console uart passed by the bootloader
Returns uart (0 or 1)
Definition at line 146 of file setup.c.
Get the clock rate of Octeon
Returns Clock rate in HZ
Definition at line 100 of file setup.c.
u64 octeon_get_io_clock_rate |
( |
void |
| ) |
|
Return the mapping of PCI device number to IRQ line. Each character in the return string represents the interrupt line for the device at that position. Device 1 maps to the first character, etc. The characters A-D are used for PCI interrupts.
Returns PCI interrupt mapping
Definition at line 183 of file pci-octeon.c.
int octeon_get_southbridge_interrupt |
( |
void |
| ) |
|
void octeon_hal_setup_reserved32 |
( |
void |
| ) |
|
void octeon_io_clk_delay |
( |
unsigned long |
count | ) |
|
octeon_io_clk_delay - wait for a given number of io clock cycles to pass.
We scale the wait by the clock ratio, and then wait for the corresponding number of core clocks.
: The number of clocks to wait.
Definition at line 177 of file csrc-octeon.c.
Return true if Octeon is in PCI Host mode. This means Linux can control the PCI bus.
Returns Non zero if Octeon in host mode.
Definition at line 86 of file setup.c.
Return non zero if we are currently running in the Octeon simulator
Returns
Definition at line 74 of file setup.c.
Write to the LCD display connected to the bootbus. This display exists on most Cavium evaluation boards. If it doesn't exist, then this function doesn't do anything.
: String to write
Definition at line 124 of file setup.c.
void(* octeon_irq_setup_secondary)(void) |