OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <stdio.h>
#include <stdlib.h>
#include <logging/log.h>
#include "plat_i2c_target.h"
#include "plat_mctp.h"
#include "plat_class.h"
#include <drivers/flash.h>
Functions | |
LOG_MODULE_REGISTER (plat_i2c_target) | |
void | set_slot_handle (struct k_work *work) |
void | plat_set_slot_init (int slot_id) |
K_WORK_DELAYABLE_DEFINE (set_slot_work, set_slot_handle) | |
Variables | |
const bool | I2C_TARGET_ENABLE_TABLE [MAX_TARGET_NUM] |
const struct _i2c_target_config | I2C_TARGET_CONFIG_TABLE [MAX_TARGET_NUM] |
K_WORK_DELAYABLE_DEFINE | ( | set_slot_work | , |
set_slot_handle | |||
) |
LOG_MODULE_REGISTER | ( | plat_i2c_target | ) |
void plat_set_slot_init | ( | int | slot_id | ) |
void set_slot_handle | ( | struct k_work * | work | ) |
const struct _i2c_target_config I2C_TARGET_CONFIG_TABLE[MAX_TARGET_NUM] |
const bool I2C_TARGET_ENABLE_TABLE[MAX_TARGET_NUM] |