OpenBIC
OpenSource Bridge-IC
plat_hwmon.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include "plat_m2.h"
#include "plat_gpio.h"
#include "plat_power_seq.h"
#include "plat_class.h"
#include "plat_util.h"
#include "plat_i2c.h"
#include "plat_sensor_table.h"
#include "plat_hwmon.h"
#include <logging/log.h>
Include dependency graph for plat_hwmon.c:

Macros

#define MB_CPLD_PRSNT_REG_1OU   0x05
 

Functions

 LOG_MODULE_REGISTER (plat_hwmon)
 
void BICup1secTickHandler (struct k_work *work)
 
int8_t mb_cpld_dev_prsnt_set (uint32_t idx, uint32_t val)
 
void set_exp_pwrgd_pin (void)
 
void plat_nvme_bus_reset (uint8_t bus)
 

Macro Definition Documentation

◆ MB_CPLD_PRSNT_REG_1OU

#define MB_CPLD_PRSNT_REG_1OU   0x05

Function Documentation

◆ BICup1secTickHandler()

void BICup1secTickHandler ( struct k_work *  work)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_hwmon  )

◆ mb_cpld_dev_prsnt_set()

int8_t mb_cpld_dev_prsnt_set ( uint32_t  idx,
uint32_t  val 
)
Here is the call graph for this function:

◆ plat_nvme_bus_reset()

void plat_nvme_bus_reset ( uint8_t  bus)
Here is the call graph for this function:

◆ set_exp_pwrgd_pin()

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