![]() |
TT-System-Firmware APIs 19.10.99
Tenstorrent Firmware
|
#include "axi.h"#include "jtag_priv.h"#include <stdbool.h>#include <string.h>#include <tenstorrent/bitrev.h>#include <zephyr/drivers/gpio.h>#include <zephyr/drivers/gpio/gpio_emul.h>#include <zephyr/kernel.h>#include <zephyr/logging/log.h>#include <zephyr/sys/byteorder.h>
Macros | |
| #define | REG_BITS 32 |
Functions | |
| LOG_MODULE_REGISTER (jtag_emul, CONFIG_JTAG_LOG_LEVEL) | |
| static void | on_tck_falling (struct jtag_data *data, bool tdi) |
| static bool | tck (struct jtag_data *data) |
| static bool | tdi (struct jtag_data *data) |
| static bool | tms (struct jtag_data *data) |
| static bool | trst (struct jtag_data *data) |
| static void | gpio_emul_callback (const struct device *port, struct gpio_callback *cb, gpio_port_pins_t pins) |
| static void | on_update_reg (struct jtag_data *data) |
| void | jtag_emul_setup (const struct device *dev, uint32_t *buf, size_t buf_len) |
| int | jtag_emul_axi_read32 (const struct device *dev, uint32_t addr, uint32_t *value) |
Variables | |
| static enum jtag_state | next_state [2][16] |
| static __maybe_unused const char *const | jtag_state_to_str [] |
| #define REG_BITS 32 |
|
static |
| LOG_MODULE_REGISTER | ( | jtag_emul | , |
| CONFIG_JTAG_LOG_LEVEL | ) |
|
static |
|
static |
|
static |