7#ifndef ZEPHYR_INCLUDE_DRIVERS_MISC_BH_EFUSE_H_
8#define ZEPHYR_INCLUDE_DRIVERS_MISC_BH_EFUSE_H_
53 return api->
read(dev, acc_type, box_id, offset, value);
#define NULL
Definition avs.c:45
tt_bh_efuse_access_type
Definition bh_efuse.h:26
@ TT_BH_EFUSE_ACCESS_INDIRECT
Definition bh_efuse.h:27
@ TT_BH_EFUSE_ACCESS_DIRECT
Definition bh_efuse.h:28
tt_bh_efuse_box_id
Definition bh_efuse.h:19
@ TT_BH_EFUSE_BOX_ID_NUM
Definition bh_efuse.h:23
@ TT_BH_EFUSE_BOX_DFT0
Definition bh_efuse.h:20
@ TT_BH_EFUSE_BOX_FUNC
Definition bh_efuse.h:22
@ TT_BH_EFUSE_BOX_DFT1
Definition bh_efuse.h:21
static int tt_bh_efuse_read(const struct device *dev, enum tt_bh_efuse_access_type acc_type, enum tt_bh_efuse_box_id box_id, uint32_t offset, uint32_t *value)
Definition bh_efuse.h:36
#define DEVICE_API_GET(_class, _dev)
bool device_is_ready(const struct device *dev)
int(* read)(const struct device *dev, enum tt_bh_efuse_access_type acc_type, enum tt_bh_efuse_box_id box_id, uint32_t offset, uint32_t *value)
Definition bh_efuse.h:32