Go to the source code of this file.
|
int | jtag_bootrom_reset_sequence (struct bh_chip *chip, bool force_reset) |
void | bh_chip_cancel_bus_transfer_set (struct bh_chip *chip) |
void | bh_chip_cancel_bus_transfer_clear (struct bh_chip *chip) |
cm2dmMessageRet | bh_chip_get_cm2dm_message (struct bh_chip *chip) |
int | bh_chip_set_static_info (struct bh_chip *chip, dmStaticInfo *info) |
int | bh_chip_set_input_power (struct bh_chip *chip, uint16_t power) |
int | bh_chip_set_input_power_lim (struct bh_chip *chip, uint16_t max_power) |
int | bh_chip_set_fan_rpm (struct bh_chip *chip, uint16_t rpm) |
int | bh_chip_set_therm_trip_count (struct bh_chip *chip, uint16_t therm_trip_count) |
int | bh_chip_write_logs (struct bh_chip *chip, char *log_data, size_t log_size) |
void | bh_chip_auto_reset (struct k_timer *timer) |
void | bh_chip_assert_asic_reset (const struct bh_chip *chip) |
void | bh_chip_deassert_asic_reset (const struct bh_chip *chip) |
void | bh_chip_set_straps (struct bh_chip *chip) |
void | bh_chip_unset_straps (struct bh_chip *chip) |
void | bh_chip_assert_spi_reset (const struct bh_chip *chip) |
void | bh_chip_deassert_spi_reset (const struct bh_chip *chip) |
int | bh_chip_reset_chip (struct bh_chip *chip, bool force_reset) |
int | therm_trip_gpio_setup (struct bh_chip *chip) |
int | pgood_gpio_setup (struct bh_chip *chip) |
void | handle_pgood_event (struct bh_chip *chip, struct gpio_dt_spec board_fault_led) |
◆ BH_CHIP_COUNT
◆ BH_CHIP_PRIMARY_INDEX
◆ DT_PHANDLE_OR_CHILD
#define DT_PHANDLE_OR_CHILD |
( |
| node_id, |
|
|
| name ) |
Value:
#define DT_NODE_HAS_PROP(node_id, prop)
#define DT_CHILD(node_id, child)
#define DT_PHANDLE(node_id, prop)
#define COND_CODE_1(_flag, _if_1_code, _else_code)
◆ HAS_DT_PHANDLE_OR_CHILD
#define HAS_DT_PHANDLE_OR_CHILD |
( |
| node_id, |
|
|
| name ) |
Value:
#define DT_PHANDLE_OR_CHILD(node_id, name)
Definition bh_chip.h:100
#define DT_NODE_EXISTS(node_id)
◆ INIT_CHIP
#define INIT_CHIP |
( |
| n, |
|
|
| prop, |
|
|
| idx ) |
◆ INIT_STRAP
Value:
GPIO_DT_SPEC_GET(n, gpios),
#define MAKE_STRUCT_FIELD(n)
Definition bh_chip.h:108
#define DT_NODE_FULL_NAME_TOKEN(node_id)
◆ MAKE_STRUCT_FIELD
#define MAKE_STRUCT_FIELD |
( |
| n | ) |
|
◆ bh_chip_assert_asic_reset()
void bh_chip_assert_asic_reset |
( |
const struct bh_chip * | chip | ) |
|
◆ bh_chip_assert_spi_reset()
void bh_chip_assert_spi_reset |
( |
const struct bh_chip * | chip | ) |
|
◆ bh_chip_auto_reset()
void bh_chip_auto_reset |
( |
struct k_timer * | timer | ) |
|
◆ bh_chip_cancel_bus_transfer_clear()
void bh_chip_cancel_bus_transfer_clear |
( |
struct bh_chip * | chip | ) |
|
◆ bh_chip_cancel_bus_transfer_set()
void bh_chip_cancel_bus_transfer_set |
( |
struct bh_chip * | chip | ) |
|
◆ bh_chip_deassert_asic_reset()
void bh_chip_deassert_asic_reset |
( |
const struct bh_chip * | chip | ) |
|
◆ bh_chip_deassert_spi_reset()
void bh_chip_deassert_spi_reset |
( |
const struct bh_chip * | chip | ) |
|
◆ bh_chip_get_cm2dm_message()
◆ bh_chip_reset_chip()
int bh_chip_reset_chip |
( |
struct bh_chip * | chip, |
|
|
bool | force_reset ) |
◆ bh_chip_set_fan_rpm()
◆ bh_chip_set_input_power()
◆ bh_chip_set_input_power_lim()
int bh_chip_set_input_power_lim |
( |
struct bh_chip * | chip, |
|
|
uint16_t | max_power ) |
◆ bh_chip_set_static_info()
◆ bh_chip_set_straps()
void bh_chip_set_straps |
( |
struct bh_chip * | chip | ) |
|
◆ bh_chip_set_therm_trip_count()
int bh_chip_set_therm_trip_count |
( |
struct bh_chip * | chip, |
|
|
uint16_t | therm_trip_count ) |
◆ bh_chip_unset_straps()
void bh_chip_unset_straps |
( |
struct bh_chip * | chip | ) |
|
◆ bh_chip_write_logs()
int bh_chip_write_logs |
( |
struct bh_chip * | chip, |
|
|
char * | log_data, |
|
|
size_t | log_size ) |
◆ handle_pgood_event()
◆ jtag_bootrom_reset_sequence()
int jtag_bootrom_reset_sequence |
( |
struct bh_chip * | chip, |
|
|
bool | force_reset ) |
◆ pgood_gpio_setup()
int pgood_gpio_setup |
( |
struct bh_chip * | chip | ) |
|
◆ therm_trip_gpio_setup()
int therm_trip_gpio_setup |
( |
struct bh_chip * | chip | ) |
|
◆ BH_CHIPS