![]() |
TT-System-Firmware APIs 19.10.99
Tenstorrent Firmware
|
#include <zephyr/device.h>#include <zephyr/devicetree.h>#include <zephyr/drivers/gpio.h>#include <zephyr/drivers/gpio/gpio_utils.h>#include <zephyr/kernel.h>#include <zephyr/sys/sys_io.h>#include <errno.h>#include <zephyr/logging/log.h>
Data Structures | |
| struct | gpio_tt_bh_config |
| struct | gpio_tt_bh_data |
Macros | |
| #define | DT_DRV_COMPAT tenstorrent_bh_gpio |
| #define | LOG_LEVEL CONFIG_GPIO_LOG_LEVEL |
| #define | DEFINE_GPIO_TT_BH(_num) |
Functions | |
| LOG_MODULE_REGISTER (gpio_tt_bh) | |
| static int | gpio_tt_bh_pin_configure (const struct device *port, gpio_pin_t pin, gpio_flags_t flags) |
| static int | gpio_tt_bh_port_get_raw (const struct device *port, gpio_port_value_t *value) |
| static int | gpio_tt_bh_port_set_masked_raw (const struct device *port, gpio_port_pins_t mask, gpio_port_value_t value) |
| static int | gpio_tt_bh_port_set_bits_raw (const struct device *port, gpio_port_pins_t pins) |
| static int | gpio_tt_bh_port_clear_bits_raw (const struct device *port, gpio_port_pins_t pins) |
| static int | gpio_tt_bh_port_toggle_bits (const struct device *port, gpio_port_pins_t pins) |
| static int | gpio_tt_bh_pin_interrupt_configure (const struct device *port, gpio_pin_t pin, enum gpio_int_mode mode, enum gpio_int_trig trig) |
| static int | gpio_tt_bh_manage_callback (const struct device *port, struct gpio_callback *cb, bool set) |
| static uint32_t | gpio_tt_bh_get_pending_int (const struct device *dev) |
| static | DEVICE_API (gpio, gpio_tt_bh_driver) |
| static int | gpio_tt_bh_init (const struct device *dev) |
| #define DEFINE_GPIO_TT_BH | ( | _num | ) |
| #define DT_DRV_COMPAT tenstorrent_bh_gpio |
| #define LOG_LEVEL CONFIG_GPIO_LOG_LEVEL |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| LOG_MODULE_REGISTER | ( | gpio_tt_bh | ) |