Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
octeon-model.c File Reference
#include <asm/octeon/octeon.h>

Go to the source code of this file.

Functions

const charocteon_model_get_string (uint32_t chip_id)
 
const charocteon_model_get_string_buffer (uint32_t chip_id, char *buffer)
 

Function Documentation

const char* octeon_model_get_string ( uint32_t  chip_id)

Given the chip processor ID from COP0, this function returns a string representing the chip model number. The string is of the form CNXXXXpX.X-FREQ-SUFFIX.

  • XXXX = The chip model number
  • X.X = Chip pass number
  • FREQ = Current frequency in Mhz
  • SUFFIX = NSP, EXP, SCP, SSP, or CP

: Chip ID

Returns Model string

Definition at line 43 of file octeon-model.c.

const char* octeon_model_get_string_buffer ( uint32_t  chip_id,
char buffer 
)

Definition at line 54 of file octeon-model.c.