OpenBIC
OpenSource Bridge-IC
shell_arke_power.h File Reference
#include <shell/shell.h>
Include dependency graph for shell_arke_power.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pwr_clock_compnt_mapping
 

Macros

#define CLK_BUF_U85_ADDR   (0xCE >> 1)
 
#define CLK_BUF_U690_ADDR   (0xD8 >> 1)
 
#define CLK_BUF_U88_ADDR   (0xDE >> 1)
 
#define CLK_GEN_100M_U86_ADDR   0x9
 
#define CLK_BUF_100M_WRITE_LOCK_CLEAR_LOS_EVENT_OFFSET   0x27
 
#define CLK_GEN_LOSMON_EVENT_OFFSET   0x5a
 
#define CLK_BUF_100M_BYTE_COUNT   0x7
 

Typedefs

typedef struct pwr_clock_compnt_mapping pwr_clock_compnt_mapping
 

Enumerations

enum  PWR_CLOCK_COMPONENT {
  CLK_BUF_100M_U85 , CLK_BUF_100M_U690 , CLK_BUF_100M_U88 , CLK_GEN_100M_U86 ,
  CLK_COMPONENT_MAX , CLK_BUF_100M_U85 , CLK_BUF_100M_U87 , CLK_BUF_100M_U88 ,
  CLK_GEN_100M_U86 , CLK_COMPONENT_MAX
}
 

Functions

bool check_p3v3_p5v_pwrgd (void)
 
void power_on_p3v3_osfp ()
 
void pwer_gd_get_status (const struct shell *shell)
 
void clear_clock_status (const struct shell *shell, uint8_t clock_index)
 

Macro Definition Documentation

◆ CLK_BUF_100M_BYTE_COUNT

#define CLK_BUF_100M_BYTE_COUNT   0x7

◆ CLK_BUF_100M_WRITE_LOCK_CLEAR_LOS_EVENT_OFFSET

#define CLK_BUF_100M_WRITE_LOCK_CLEAR_LOS_EVENT_OFFSET   0x27

◆ CLK_BUF_U690_ADDR

#define CLK_BUF_U690_ADDR   (0xD8 >> 1)

◆ CLK_BUF_U85_ADDR

#define CLK_BUF_U85_ADDR   (0xCE >> 1)

◆ CLK_BUF_U88_ADDR

#define CLK_BUF_U88_ADDR   (0xDE >> 1)

◆ CLK_GEN_100M_U86_ADDR

#define CLK_GEN_100M_U86_ADDR   0x9

◆ CLK_GEN_LOSMON_EVENT_OFFSET

#define CLK_GEN_LOSMON_EVENT_OFFSET   0x5a

Typedef Documentation

◆ pwr_clock_compnt_mapping

Enumeration Type Documentation

◆ PWR_CLOCK_COMPONENT

Enumerator
CLK_BUF_100M_U85 
CLK_BUF_100M_U690 
CLK_BUF_100M_U88 
CLK_GEN_100M_U86 
CLK_COMPONENT_MAX 
CLK_BUF_100M_U85 
CLK_BUF_100M_U87 
CLK_BUF_100M_U88 
CLK_GEN_100M_U86 
CLK_COMPONENT_MAX 

Function Documentation

◆ check_p3v3_p5v_pwrgd()

bool check_p3v3_p5v_pwrgd ( void  )

◆ clear_clock_status()

void clear_clock_status ( const struct shell *  shell,
uint8_t  clock_index 
)

◆ power_on_p3v3_osfp()

void power_on_p3v3_osfp ( )

◆ pwer_gd_get_status()

void pwer_gd_get_status ( const struct shell *  shell)