7#ifndef ZEPHYR_INCLUDE_DRIVERS_RESET_RESET_TT_BH_H_
8#define ZEPHYR_INCLUDE_DRIVERS_RESET_RESET_TT_BH_H_
21#define TT_BH_RESET_BANK_STRIDE 4U
29#define TT_BH_RESET_NUM_BANKS(node_id) \
30 COND_CODE_1(DT_NODE_HAS_PROP(node_id, n_banks), (DT_PROP(node_id, n_banks)), \
31 (DT_REG_SIZE(node_id) / TT_BH_RESET_BANK_STRIDE))
int reset_tt_bh_lines_deassert(const struct device *dev, uint32_t offset, uint32_t mask)
Deassert lines in mask at offset with a single RMW.
Definition reset_tt_bh.c:157
int reset_tt_bh_lines_assert(const struct device *dev, uint32_t offset, uint32_t mask)
Assert lines in mask at offset with a single RMW.
Definition reset_tt_bh.c:134
int reset_tt_bh_write(const struct device *dev, uint32_t value)
Absolute write to a BH reset-unit bank register.
Definition reset_tt_bh.c:122