OpenOCD
xlnx-xvc.c File Reference
Include dependency graph for xlnx-xvc.c:

Go to the source code of this file.

Data Structures

struct  xlnx_axi_xvc
 
struct  xlnx_pcie_xvc
 

Macros

#define MASK_ACK(x)   (((x) >> 9) & 0x7)
 
#define MASK_PAR(x)   ((int)((x) & 0x1))
 
#define PCI_CFG_SPACE_EXP_SIZE   4096
 
#define PCIE_EXT_CAP_LST   0x100
 
#define XLNX_AXI_XVC_CTRL_REG   0x10
 
#define XLNX_AXI_XVC_CTRL_REG_ENABLE_MASK   0x01
 
#define XLNX_AXI_XVC_LEN_REG   0x00
 
#define XLNX_AXI_XVC_MAX_REG   0x18
 
#define XLNX_AXI_XVC_TDI_REG   0x08
 
#define XLNX_AXI_XVC_TDO_REG   0x0c
 
#define XLNX_AXI_XVC_TMS_REG   0x04
 
#define XLNX_PCIE_XVC_CAP_SIZE   0x20
 
#define XLNX_PCIE_XVC_EXT_CAP   0x00
 
#define XLNX_PCIE_XVC_LEN_REG   0x0C
 
#define XLNX_PCIE_XVC_TDX_REG   0x14
 
#define XLNX_PCIE_XVC_TMS_REG   0x10
 
#define XLNX_PCIE_XVC_VSEC_HDR   0x04
 
#define XLNX_PCIE_XVC_VSEC_ID   0x8
 
#define XLNX_XVC_MAX_BITS   0x20
 

Enumerations

enum  xlnx_xvc_type_t { PCIE , AXI }
 

Functions

 COMMAND_HANDLER (xlnx_axi_xvc_handle_dev_addr_command)
 
 COMMAND_HANDLER (xlnx_axi_xvc_handle_dev_file_command)
 
 COMMAND_HANDLER (xlnx_pcie_xvc_handle_config_command)
 
static void swd_clear_sticky_errors (enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_axi_xvc_execute_queue (struct jtag_command *cmd_queue)
 
static int xlnx_axi_xvc_init (void)
 
static int xlnx_axi_xvc_quit (void)
 
static int xlnx_axi_xvc_read_reg (const int offset, uint32_t *val)
 
static void xlnx_axi_xvc_swd_read_reg (uint8_t cmd, uint32_t *value, uint32_t ap_delay_clk)
 
static int xlnx_axi_xvc_swd_run_queue (void)
 
static int xlnx_axi_xvc_swd_switch_seq (enum swd_special_seq seq)
 
static void xlnx_axi_xvc_swd_write_reg (uint8_t cmd, uint32_t value, uint32_t ap_delay_clk)
 
static int xlnx_axi_xvc_transact (size_t num_bits, uint32_t tms, uint32_t tdi, uint32_t *tdo)
 
static int xlnx_axi_xvc_write_reg (const int offset, const uint32_t val)
 
static int xlnx_pcie_xvc_execute_queue (struct jtag_command *cmd_queue)
 
static int xlnx_pcie_xvc_init (void)
 
static int xlnx_pcie_xvc_quit (void)
 
static int xlnx_pcie_xvc_read_reg (const int offset, uint32_t *val)
 
static void xlnx_pcie_xvc_swd_read_reg (uint8_t cmd, uint32_t *value, uint32_t ap_delay_clk)
 
static int xlnx_pcie_xvc_swd_run_queue (void)
 
static int xlnx_pcie_xvc_swd_switch_seq (enum swd_special_seq seq)
 
static void xlnx_pcie_xvc_swd_write_reg (uint8_t cmd, uint32_t value, uint32_t ap_delay_clk)
 
static int xlnx_pcie_xvc_transact (size_t num_bits, uint32_t tms, uint32_t tdi, uint32_t *tdo)
 
static int xlnx_pcie_xvc_write_reg (const int offset, const uint32_t val)
 
static int xlnx_xvc_execute_command (struct jtag_command *cmd, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_execute_pathmove (struct jtag_command *cmd, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_execute_queue (struct jtag_command *cmd_queue, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_execute_runtest (struct jtag_command *cmd, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_execute_scan (struct jtag_command *cmd, enum xlnx_xvc_type_t xvc_type)
 
static void xlnx_xvc_execute_sleep (struct jtag_command *cmd)
 
static int xlnx_xvc_execute_stableclocks (struct jtag_command *cmd, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_execute_statemove (size_t skip, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_execute_tms (struct jtag_command *cmd, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_swd_init (void)
 
static void xlnx_xvc_swd_read_reg (uint8_t cmd, uint32_t *value, uint32_t ap_delay_clk, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_swd_run_queue (enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_swd_sequence (const uint8_t *seq, size_t length, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_swd_switch_seq (enum swd_special_seq seq, enum xlnx_xvc_type_t xvc_type)
 
static void xlnx_xvc_swd_write_reg (uint8_t cmd, uint32_t value, uint32_t ap_delay_clk, enum xlnx_xvc_type_t xvc_type)
 
static int xlnx_xvc_transact (size_t num_bits, uint32_t tms, uint32_t tdi, uint32_t *tdo, enum xlnx_xvc_type_t xvc_type)
 

Variables

static int queued_retval
 
static struct xlnx_axi_xvcxlnx_axi_xvc = &xlnx_axi_xvc_state
 
struct adapter_driver xlnx_axi_xvc_adapter_driver
 
static const struct command_registration xlnx_axi_xvc_command_handlers []
 
static struct jtag_interface xlnx_axi_xvc_jtag_ops
 
static struct xlnx_axi_xvc xlnx_axi_xvc_state
 
static const struct command_registration xlnx_axi_xvc_subcommand_handlers []
 
static const struct swd_driver xlnx_axi_xvc_swd_ops
 
static struct xlnx_pcie_xvcxlnx_pcie_xvc = &xlnx_pcie_xvc_state
 
struct adapter_driver xlnx_pcie_xvc_adapter_driver
 
static const struct command_registration xlnx_pcie_xvc_command_handlers []
 
static struct jtag_interface xlnx_pcie_xvc_jtag_ops
 
static struct xlnx_pcie_xvc xlnx_pcie_xvc_state
 
static const struct command_registration xlnx_pcie_xvc_subcommand_handlers []
 
static const struct swd_driver xlnx_pcie_xvc_swd_ops
 

Macro Definition Documentation

◆ MASK_ACK

#define MASK_ACK (   x)    (((x) >> 9) & 0x7)

Definition at line 58 of file xlnx-xvc.c.

◆ MASK_PAR

#define MASK_PAR (   x)    ((int)((x) & 0x1))

Definition at line 59 of file xlnx-xvc.c.

◆ PCI_CFG_SPACE_EXP_SIZE

#define PCI_CFG_SPACE_EXP_SIZE   4096

Definition at line 33 of file xlnx-xvc.c.

◆ PCIE_EXT_CAP_LST

#define PCIE_EXT_CAP_LST   0x100

Definition at line 36 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_CTRL_REG

#define XLNX_AXI_XVC_CTRL_REG   0x10

Definition at line 51 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_CTRL_REG_ENABLE_MASK

#define XLNX_AXI_XVC_CTRL_REG_ENABLE_MASK   0x01

Definition at line 54 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_LEN_REG

#define XLNX_AXI_XVC_LEN_REG   0x00

Definition at line 47 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_MAX_REG

#define XLNX_AXI_XVC_MAX_REG   0x18

Definition at line 52 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_TDI_REG

#define XLNX_AXI_XVC_TDI_REG   0x08

Definition at line 49 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_TDO_REG

#define XLNX_AXI_XVC_TDO_REG   0x0c

Definition at line 50 of file xlnx-xvc.c.

◆ XLNX_AXI_XVC_TMS_REG

#define XLNX_AXI_XVC_TMS_REG   0x04

Definition at line 48 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_CAP_SIZE

#define XLNX_PCIE_XVC_CAP_SIZE   0x20

Definition at line 44 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_EXT_CAP

#define XLNX_PCIE_XVC_EXT_CAP   0x00

Definition at line 38 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_LEN_REG

#define XLNX_PCIE_XVC_LEN_REG   0x0C

Definition at line 40 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_TDX_REG

#define XLNX_PCIE_XVC_TDX_REG   0x14

Definition at line 42 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_TMS_REG

#define XLNX_PCIE_XVC_TMS_REG   0x10

Definition at line 41 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_VSEC_HDR

#define XLNX_PCIE_XVC_VSEC_HDR   0x04

Definition at line 39 of file xlnx-xvc.c.

◆ XLNX_PCIE_XVC_VSEC_ID

#define XLNX_PCIE_XVC_VSEC_ID   0x8

Definition at line 45 of file xlnx-xvc.c.

◆ XLNX_XVC_MAX_BITS

#define XLNX_XVC_MAX_BITS   0x20

Definition at line 56 of file xlnx-xvc.c.

Enumeration Type Documentation

◆ xlnx_xvc_type_t

Enumerator
PCIE 
AXI 

Definition at line 75 of file xlnx-xvc.c.

Function Documentation

◆ COMMAND_HANDLER() [1/3]

COMMAND_HANDLER ( xlnx_axi_xvc_handle_dev_addr_command  )

◆ COMMAND_HANDLER() [2/3]

COMMAND_HANDLER ( xlnx_axi_xvc_handle_dev_file_command  )

◆ COMMAND_HANDLER() [3/3]

COMMAND_HANDLER ( xlnx_pcie_xvc_handle_config_command  )

Definition at line 636 of file xlnx-xvc.c.

References CMD_ARGC, CMD_ARGV, xlnx_pcie_xvc::device, ERROR_COMMAND_SYNTAX_ERROR, and ERROR_OK.

◆ swd_clear_sticky_errors()

static void swd_clear_sticky_errors ( enum xlnx_xvc_type_t  xvc_type)
static

◆ xlnx_axi_xvc_execute_queue()

static int xlnx_axi_xvc_execute_queue ( struct jtag_command cmd_queue)
static

Definition at line 511 of file xlnx-xvc.c.

References AXI, and xlnx_xvc_execute_queue().

◆ xlnx_axi_xvc_init()

static int xlnx_axi_xvc_init ( void  )
static

◆ xlnx_axi_xvc_quit()

static int xlnx_axi_xvc_quit ( void  )
static

◆ xlnx_axi_xvc_read_reg()

static int xlnx_axi_xvc_read_reg ( const int  offset,
uint32_t *  val 
)
static

Definition at line 107 of file xlnx-xvc.c.

References xlnx_axi_xvc::base, ERROR_OK, and offset.

Referenced by xlnx_axi_xvc_transact().

◆ xlnx_axi_xvc_swd_read_reg()

static void xlnx_axi_xvc_swd_read_reg ( uint8_t  cmd,
uint32_t *  value,
uint32_t  ap_delay_clk 
)
static

Definition at line 865 of file xlnx-xvc.c.

References AXI, cmd, and xlnx_xvc_swd_read_reg().

◆ xlnx_axi_xvc_swd_run_queue()

static int xlnx_axi_xvc_swd_run_queue ( void  )
static

Definition at line 963 of file xlnx-xvc.c.

References AXI, and xlnx_xvc_swd_run_queue().

◆ xlnx_axi_xvc_swd_switch_seq()

static int xlnx_axi_xvc_swd_switch_seq ( enum swd_special_seq  seq)
static

Definition at line 778 of file xlnx-xvc.c.

References AXI, and xlnx_xvc_swd_switch_seq().

◆ xlnx_axi_xvc_swd_write_reg()

static void xlnx_axi_xvc_swd_write_reg ( uint8_t  cmd,
uint32_t  value,
uint32_t  ap_delay_clk 
)
static

Definition at line 936 of file xlnx-xvc.c.

References AXI, cmd, and xlnx_xvc_swd_write_reg().

◆ xlnx_axi_xvc_transact()

static int xlnx_axi_xvc_transact ( size_t  num_bits,
uint32_t  tms,
uint32_t  tdi,
uint32_t *  tdo 
)
static

◆ xlnx_axi_xvc_write_reg()

static int xlnx_axi_xvc_write_reg ( const int  offset,
const uint32_t  val 
)
static

Definition at line 139 of file xlnx-xvc.c.

References xlnx_axi_xvc::base, ERROR_OK, and offset.

Referenced by xlnx_axi_xvc_transact().

◆ xlnx_pcie_xvc_execute_queue()

static int xlnx_pcie_xvc_execute_queue ( struct jtag_command cmd_queue)
static

Definition at line 506 of file xlnx-xvc.c.

References PCIE, and xlnx_xvc_execute_queue().

◆ xlnx_pcie_xvc_init()

◆ xlnx_pcie_xvc_quit()

static int xlnx_pcie_xvc_quit ( void  )
static

Definition at line 609 of file xlnx-xvc.c.

References ERROR_OK, and xlnx_pcie_xvc::fd.

◆ xlnx_pcie_xvc_read_reg()

static int xlnx_pcie_xvc_read_reg ( const int  offset,
uint32_t *  val 
)
static

◆ xlnx_pcie_xvc_swd_read_reg()

static void xlnx_pcie_xvc_swd_read_reg ( uint8_t  cmd,
uint32_t *  value,
uint32_t  ap_delay_clk 
)
static

Definition at line 859 of file xlnx-xvc.c.

References cmd, PCIE, and xlnx_xvc_swd_read_reg().

◆ xlnx_pcie_xvc_swd_run_queue()

static int xlnx_pcie_xvc_swd_run_queue ( void  )
static

Definition at line 958 of file xlnx-xvc.c.

References PCIE, and xlnx_xvc_swd_run_queue().

◆ xlnx_pcie_xvc_swd_switch_seq()

static int xlnx_pcie_xvc_swd_switch_seq ( enum swd_special_seq  seq)
static

Definition at line 773 of file xlnx-xvc.c.

References PCIE, and xlnx_xvc_swd_switch_seq().

◆ xlnx_pcie_xvc_swd_write_reg()

static void xlnx_pcie_xvc_swd_write_reg ( uint8_t  cmd,
uint32_t  value,
uint32_t  ap_delay_clk 
)
static

Definition at line 930 of file xlnx-xvc.c.

References cmd, PCIE, and xlnx_xvc_swd_write_reg().

◆ xlnx_pcie_xvc_transact()

static int xlnx_pcie_xvc_transact ( size_t  num_bits,
uint32_t  tms,
uint32_t  tdi,
uint32_t *  tdo 
)
static

◆ xlnx_pcie_xvc_write_reg()

static int xlnx_pcie_xvc_write_reg ( const int  offset,
const uint32_t  val 
)
static

◆ xlnx_xvc_execute_command()

◆ xlnx_xvc_execute_pathmove()

static int xlnx_xvc_execute_pathmove ( struct jtag_command cmd,
enum xlnx_xvc_type_t  xvc_type 
)
static

◆ xlnx_xvc_execute_queue()

static int xlnx_xvc_execute_queue ( struct jtag_command cmd_queue,
enum xlnx_xvc_type_t  xvc_type 
)
static

Definition at line 488 of file xlnx-xvc.c.

References cmd, ERROR_OK, and xlnx_xvc_execute_command().

Referenced by xlnx_axi_xvc_execute_queue(), and xlnx_pcie_xvc_execute_queue().

◆ xlnx_xvc_execute_runtest()

static int xlnx_xvc_execute_runtest ( struct jtag_command cmd,
enum xlnx_xvc_type_t  xvc_type 
)
static

◆ xlnx_xvc_execute_scan()

◆ xlnx_xvc_execute_sleep()

static void xlnx_xvc_execute_sleep ( struct jtag_command cmd)
static

Definition at line 425 of file xlnx-xvc.c.

References cmd, and LOG_DEBUG.

Referenced by xlnx_xvc_execute_command().

◆ xlnx_xvc_execute_stableclocks()

static int xlnx_xvc_execute_stableclocks ( struct jtag_command cmd,
enum xlnx_xvc_type_t  xvc_type 
)
static

◆ xlnx_xvc_execute_statemove()

static int xlnx_xvc_execute_statemove ( size_t  skip,
enum xlnx_xvc_type_t  xvc_type 
)
static

◆ xlnx_xvc_execute_tms()

static int xlnx_xvc_execute_tms ( struct jtag_command cmd,
enum xlnx_xvc_type_t  xvc_type 
)
static

Definition at line 431 of file xlnx-xvc.c.

References bits, buf_get_u32(), cmd, ERROR_OK, LOG_DEBUG, MIN, NULL, XLNX_XVC_MAX_BITS, and xlnx_xvc_transact().

Referenced by xlnx_xvc_execute_command().

◆ xlnx_xvc_swd_init()

static int xlnx_xvc_swd_init ( void  )
static

Definition at line 968 of file xlnx-xvc.c.

◆ xlnx_xvc_swd_read_reg()

static void xlnx_xvc_swd_read_reg ( uint8_t  cmd,
uint32_t *  value,
uint32_t  ap_delay_clk,
enum xlnx_xvc_type_t  xvc_type 
)
static

◆ xlnx_xvc_swd_run_queue()

static int xlnx_xvc_swd_run_queue ( enum xlnx_xvc_type_t  xvc_type)
static

◆ xlnx_xvc_swd_sequence()

static int xlnx_xvc_swd_sequence ( const uint8_t *  seq,
size_t  length,
enum xlnx_xvc_type_t  xvc_type 
)
static

Definition at line 728 of file xlnx-xvc.c.

References buf_get_u32(), ERROR_OK, length, MIN, NULL, XLNX_XVC_MAX_BITS, and xlnx_xvc_transact().

Referenced by xlnx_xvc_swd_switch_seq().

◆ xlnx_xvc_swd_switch_seq()

◆ xlnx_xvc_swd_write_reg()

static void xlnx_xvc_swd_write_reg ( uint8_t  cmd,
uint32_t  value,
uint32_t  ap_delay_clk,
enum xlnx_xvc_type_t  xvc_type 
)
static

◆ xlnx_xvc_transact()

Variable Documentation

◆ queued_retval

int queued_retval
static

◆ xlnx_axi_xvc

Definition at line 83 of file xlnx-xvc.c.

◆ xlnx_axi_xvc_adapter_driver

struct adapter_driver xlnx_axi_xvc_adapter_driver
Initial value:
= {
.name = "xlnx_axi_xvc",
.transport_ids = TRANSPORT_JTAG | TRANSPORT_SWD,
.transport_preferred_id = TRANSPORT_JTAG,
.jtag_ops = &xlnx_axi_xvc_jtag_ops,
.swd_ops = &xlnx_axi_xvc_swd_ops,
}
#define TRANSPORT_SWD
Definition: transport.h:20
#define TRANSPORT_JTAG
Definition: transport.h:19
static const struct swd_driver xlnx_axi_xvc_swd_ops
Definition: xlnx-xvc.c:981
static struct jtag_interface xlnx_axi_xvc_jtag_ops
Definition: xlnx-xvc.c:724
static int xlnx_axi_xvc_quit(void)
Definition: xlnx-xvc.c:620
static int xlnx_axi_xvc_init(void)
Definition: xlnx-xvc.c:571
static const struct command_registration xlnx_axi_xvc_command_handlers[]
Definition: xlnx-xvc.c:709

Definition at line 968 of file xlnx-xvc.c.

◆ xlnx_axi_xvc_command_handlers

const struct command_registration xlnx_axi_xvc_command_handlers[]
static
Initial value:
= {
{
.name = "xlnx_axi_xvc",
.mode = COMMAND_ANY,
.help = "perform xlnx_axi_xvc management",
.usage = "",
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:251
@ COMMAND_ANY
Definition: command.h:42
const char * usage
a string listing the options and arguments, required or optional
Definition: command.h:239
static const struct command_registration xlnx_axi_xvc_subcommand_handlers[]
Definition: xlnx-xvc.c:691

Definition at line 658 of file xlnx-xvc.c.

◆ xlnx_axi_xvc_jtag_ops

struct jtag_interface xlnx_axi_xvc_jtag_ops
static
Initial value:
= {
.execute_queue = &xlnx_axi_xvc_execute_queue,
}
static int xlnx_axi_xvc_execute_queue(struct jtag_command *cmd_queue)
Definition: xlnx-xvc.c:511

Definition at line 658 of file xlnx-xvc.c.

◆ xlnx_axi_xvc_state

struct xlnx_axi_xvc xlnx_axi_xvc_state
static

Definition at line 81 of file xlnx-xvc.c.

◆ xlnx_axi_xvc_subcommand_handlers

const struct command_registration xlnx_axi_xvc_subcommand_handlers[]
static
Initial value:
= {
{
.name = "dev_addr",
.handler = xlnx_axi_xvc_handle_dev_addr_command,
.mode = COMMAND_CONFIG,
.help = "Configure XVC/AXI JTAG device memory address",
.usage = "addr",
},
{
.name = "dev_file",
.handler = xlnx_axi_xvc_handle_dev_file_command,
.mode = COMMAND_CONFIG,
.help = "Configure XVC/AXI JTAG device file location",
.usage = "addr",
},
}
@ COMMAND_CONFIG
Definition: command.h:41

Definition at line 658 of file xlnx-xvc.c.

◆ xlnx_axi_xvc_swd_ops

const struct swd_driver xlnx_axi_xvc_swd_ops
static
Initial value:
= {
}
static void xlnx_axi_xvc_swd_read_reg(uint8_t cmd, uint32_t *value, uint32_t ap_delay_clk)
Definition: xlnx-xvc.c:865
static int xlnx_xvc_swd_init(void)
Definition: xlnx-xvc.c:968
static int xlnx_axi_xvc_swd_run_queue(void)
Definition: xlnx-xvc.c:963
static void xlnx_axi_xvc_swd_write_reg(uint8_t cmd, uint32_t value, uint32_t ap_delay_clk)
Definition: xlnx-xvc.c:936
static int xlnx_axi_xvc_swd_switch_seq(enum swd_special_seq seq)
Definition: xlnx-xvc.c:778

Definition at line 968 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc

Definition at line 81 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc_adapter_driver

struct adapter_driver xlnx_pcie_xvc_adapter_driver
Initial value:
= {
.name = "xlnx_pcie_xvc",
.transport_ids = TRANSPORT_JTAG | TRANSPORT_SWD,
.transport_preferred_id = TRANSPORT_JTAG,
.jtag_ops = &xlnx_pcie_xvc_jtag_ops,
.swd_ops = &xlnx_pcie_xvc_swd_ops,
}
static struct jtag_interface xlnx_pcie_xvc_jtag_ops
Definition: xlnx-xvc.c:720
static int xlnx_pcie_xvc_quit(void)
Definition: xlnx-xvc.c:609
static const struct command_registration xlnx_pcie_xvc_command_handlers[]
Definition: xlnx-xvc.c:680
static const struct swd_driver xlnx_pcie_xvc_swd_ops
Definition: xlnx-xvc.c:973
static int xlnx_pcie_xvc_init(void)
Definition: xlnx-xvc.c:516

Definition at line 968 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc_command_handlers

const struct command_registration xlnx_pcie_xvc_command_handlers[]
static
Initial value:
= {
{
.name = "xlnx_pcie_xvc",
.mode = COMMAND_ANY,
.help = "perform xlnx_pcie_xvc management",
.usage = "",
},
}
static const struct command_registration xlnx_pcie_xvc_subcommand_handlers[]
Definition: xlnx-xvc.c:669

Definition at line 658 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc_jtag_ops

struct jtag_interface xlnx_pcie_xvc_jtag_ops
static
Initial value:
= {
.execute_queue = &xlnx_pcie_xvc_execute_queue,
}
static int xlnx_pcie_xvc_execute_queue(struct jtag_command *cmd_queue)
Definition: xlnx-xvc.c:506

Definition at line 658 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc_state

struct xlnx_pcie_xvc xlnx_pcie_xvc_state
static

Definition at line 1 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc_subcommand_handlers

const struct command_registration xlnx_pcie_xvc_subcommand_handlers[]
static
Initial value:
= {
{
.name = "config",
.handler = xlnx_pcie_xvc_handle_config_command,
.mode = COMMAND_CONFIG,
.help = "Configure XVC/PCIe JTAG adapter",
.usage = "device",
},
}

Definition at line 658 of file xlnx-xvc.c.

◆ xlnx_pcie_xvc_swd_ops

const struct swd_driver xlnx_pcie_xvc_swd_ops
static
Initial value:
= {
}
static void xlnx_pcie_xvc_swd_write_reg(uint8_t cmd, uint32_t value, uint32_t ap_delay_clk)
Definition: xlnx-xvc.c:930
static int xlnx_pcie_xvc_swd_switch_seq(enum swd_special_seq seq)
Definition: xlnx-xvc.c:773
static void xlnx_pcie_xvc_swd_read_reg(uint8_t cmd, uint32_t *value, uint32_t ap_delay_clk)
Definition: xlnx-xvc.c:859
static int xlnx_pcie_xvc_swd_run_queue(void)
Definition: xlnx-xvc.c:958

Definition at line 968 of file xlnx-xvc.c.