#include <stdint.h>
#include "sensor.h"
#include "cci.h"
Go to the source code of this file.
|
bool | cxl_single_ioexp_alert_reset (uint8_t ioexp_name, bool is_mutex) |
|
int | cxl_ioexp_init (uint8_t cxl_channel) |
|
void | cxl_mb_status_init (uint8_t cxl_id) |
|
bool | pal_init_pm8702_info (uint8_t cxl_id) |
|
bool | pal_pm8702_command_handler (uint8_t cxl_id, uint16_t opcode, uint8_t *data_buf, int data_len, uint8_t *response, uint8_t *response_len) |
|
bool | pal_get_pm8702_hbo_status (uint8_t cxl_id, uint8_t *resp_buf, uint8_t *resp_len) |
|
bool | pal_pm8702_transfer_fw (uint8_t cxl_id, uint8_t *req_buf, int req_len) |
|
bool | pal_set_pm8702_active_slot (uint8_t cxl_id, uint8_t *req_buf, int req_len) |
|
void | init_cxl_card_ioexp (uint8_t cxl_id) |
|
void | clear_cxl_card_cache_value (uint8_t cxl_id) |
|
void | init_ssd_power_fault_work () |
|
void | clear_ssd_power_fault_flag () |
|
◆ CXL_IOEXP_INIT_RETRY_COUNT
#define CXL_IOEXP_INIT_RETRY_COUNT 5 |
◆ cxl_vr_fw_info
◆ pm8702_dev_info
◆ clear_cxl_card_cache_value()
void clear_cxl_card_cache_value |
( |
uint8_t |
cxl_id | ) |
|
◆ clear_ssd_power_fault_flag()
void clear_ssd_power_fault_flag |
( |
| ) |
|
◆ cxl_ioexp_init()
int cxl_ioexp_init |
( |
uint8_t |
cxl_channel | ) |
|
MEB mux for cxl channels
CXL mux for sensor channels
Mutex lock bus
Enable mux channel
ALL ioexp config register initial
ALL ioexp initial
mutex unlock bus
◆ cxl_mb_status_init()
void cxl_mb_status_init |
( |
uint8_t |
cxl_id | ) |
|
Initial mb reset pin status by checking the IO expander on CXL module
MEB mux for cxl channels
CXL mux for sensor channels
Mutex lock bus
Enable mux channel
Read cxl U15 ioexp input port0 status
CXL mux for cxl channels
◆ cxl_single_ioexp_alert_reset()
bool cxl_single_ioexp_alert_reset |
( |
uint8_t |
ioexp_name, |
|
|
bool |
is_mutex |
|
) |
| |
Read cxl ioexp input port 0 status
Read cxl ioexp input port 1 status
◆ init_cxl_card_ioexp()
void init_cxl_card_ioexp |
( |
uint8_t |
cxl_id | ) |
|
◆ init_ssd_power_fault_work()
void init_ssd_power_fault_work |
( |
| ) |
|
◆ pal_get_pm8702_hbo_status()
bool pal_get_pm8702_hbo_status |
( |
uint8_t |
cxl_id, |
|
|
uint8_t * |
resp_buf, |
|
|
uint8_t * |
resp_len |
|
) |
| |
◆ pal_init_pm8702_info()
bool pal_init_pm8702_info |
( |
uint8_t |
cxl_id | ) |
|
◆ pal_pm8702_command_handler()
bool pal_pm8702_command_handler |
( |
uint8_t |
cxl_id, |
|
|
uint16_t |
opcode, |
|
|
uint8_t * |
data_buf, |
|
|
int |
data_len, |
|
|
uint8_t * |
response, |
|
|
uint8_t * |
response_len |
|
) |
| |
◆ pal_pm8702_transfer_fw()
bool pal_pm8702_transfer_fw |
( |
uint8_t |
cxl_id, |
|
|
uint8_t * |
req_buf, |
|
|
int |
req_len |
|
) |
| |
◆ pal_set_pm8702_active_slot()
bool pal_set_pm8702_active_slot |
( |
uint8_t |
cxl_id, |
|
|
uint8_t * |
req_buf, |
|
|
int |
req_len |
|
) |
| |
◆ cxl_vr_info_table
◆ pm8702_table