OpenOCD
hla_layout.c File Reference
Include dependency graph for hla_layout.c:

Go to the source code of this file.

Functions

static int hl_layout_close (struct hl_interface_s *adapter)
 
const struct hl_layouthl_layout_get_list (void)
 
int hl_layout_init (struct hl_interface_s *adapter)
 
static int hl_layout_open (struct hl_interface_s *adapter)
 

Variables

static const struct hl_layout hl_layouts []
 

Function Documentation

◆ hl_layout_close()

static int hl_layout_close ( struct hl_interface_s adapter)
static

Definition at line 43 of file hla_layout.c.

References ERROR_OK.

◆ hl_layout_get_list()

const struct hl_layout* hl_layout_get_list ( void  )

Definition at line 77 of file hla_layout.c.

References hl_layouts.

Referenced by COMMAND_HANDLER().

◆ hl_layout_init()

int hl_layout_init ( struct hl_interface_s adapter)

Definition at line 82 of file hla_layout.c.

References adapter, ERROR_FAIL, ERROR_OK, LOG_DEBUG, and LOG_ERROR.

Referenced by hl_interface_init().

◆ hl_layout_open()

static int hl_layout_open ( struct hl_interface_s adapter)
static

Definition at line 25 of file hla_layout.c.

References adapter, ERROR_OK, LOG_DEBUG, and NULL.

Variable Documentation

◆ hl_layouts

const struct hl_layout hl_layouts[]
static
Initial value:
= {
{.name = NULL, },
}
#define NULL
Definition: usb.h:16

Definition at line 43 of file hla_layout.c.

Referenced by hl_layout_get_list().