OpenBIC
OpenSource Bridge-IC
plat_cpld.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for plat_cpld.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _cpld_info_
 

Macros

#define CPLD_OFFSET_VR_VENDER_TYPE   0x15
 
#define CPLD_OFFSET_POWER_CLAMP   0x25
 
#define CPLD_OFFSET_USERCODE   0x32
 

Typedefs

typedef struct _cpld_info_ cpld_info
 

Functions

bool plat_read_cpld (uint8_t offset, uint8_t *data, uint8_t len)
 
bool plat_write_cpld (uint8_t offset, uint8_t *data)
 
void init_cpld_polling (void)
 
void check_cpld_polling_alert_status (void)
 

Macro Definition Documentation

◆ CPLD_OFFSET_POWER_CLAMP

#define CPLD_OFFSET_POWER_CLAMP   0x25

◆ CPLD_OFFSET_USERCODE

#define CPLD_OFFSET_USERCODE   0x32

◆ CPLD_OFFSET_VR_VENDER_TYPE

#define CPLD_OFFSET_VR_VENDER_TYPE   0x15

Typedef Documentation

◆ cpld_info

typedef struct _cpld_info_ cpld_info

Function Documentation

◆ check_cpld_polling_alert_status()

void check_cpld_polling_alert_status ( void  )
Here is the call graph for this function:

◆ init_cpld_polling()

void init_cpld_polling ( void  )
Here is the call graph for this function:

◆ plat_read_cpld()

bool plat_read_cpld ( uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ plat_write_cpld()

bool plat_write_cpld ( uint8_t  offset,
uint8_t *  data 
)
Here is the call graph for this function: