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

Go to the source code of this file.

Functions

static int ejtag_dma_dstrt_poll (struct mips_ejtag *ejtag_info)
 
static int ejtag_dma_read (struct mips_ejtag *ejtag_info, uint32_t addr, uint32_t *data)
 
static int ejtag_dma_read_b (struct mips_ejtag *ejtag_info, uint32_t addr, uint8_t *data)
 
static int ejtag_dma_read_h (struct mips_ejtag *ejtag_info, uint32_t addr, uint16_t *data)
 
static int ejtag_dma_write (struct mips_ejtag *ejtag_info, uint32_t addr, uint32_t data)
 
static int ejtag_dma_write_b (struct mips_ejtag *ejtag_info, uint32_t addr, uint32_t data)
 
static int ejtag_dma_write_h (struct mips_ejtag *ejtag_info, uint32_t addr, uint32_t data)
 
int mips32_dmaacc_read_mem (struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, void *buf)
 
static int mips32_dmaacc_read_mem16 (struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint16_t *buf)
 
static int mips32_dmaacc_read_mem32 (struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint32_t *buf)
 
static int mips32_dmaacc_read_mem8 (struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint8_t *buf)
 
int mips32_dmaacc_write_mem (struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, const void *buf)
 
static int mips32_dmaacc_write_mem16 (struct mips_ejtag *ejtag_info, uint32_t addr, int count, const uint16_t *buf)
 
static int mips32_dmaacc_write_mem32 (struct mips_ejtag *ejtag_info, uint32_t addr, int count, const uint32_t *buf)
 
static int mips32_dmaacc_write_mem8 (struct mips_ejtag *ejtag_info, uint32_t addr, int count, const uint8_t *buf)
 

Function Documentation

◆ ejtag_dma_dstrt_poll()

◆ ejtag_dma_read()

◆ ejtag_dma_read_b()

◆ ejtag_dma_read_h()

◆ ejtag_dma_write()

◆ ejtag_dma_write_b()

◆ ejtag_dma_write_h()

◆ mips32_dmaacc_read_mem()

int mips32_dmaacc_read_mem ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  size,
int  count,
void *  buf 
)

◆ mips32_dmaacc_read_mem16()

static int mips32_dmaacc_read_mem16 ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  count,
uint16_t *  buf 
)
static

Definition at line 369 of file mips32_dmaacc.c.

References addr, count, ejtag_dma_read_h(), and ERROR_OK.

Referenced by mips32_dmaacc_read_mem().

◆ mips32_dmaacc_read_mem32()

static int mips32_dmaacc_read_mem32 ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  count,
uint32_t *  buf 
)
static

Definition at line 355 of file mips32_dmaacc.c.

References addr, count, ejtag_dma_read(), and ERROR_OK.

Referenced by mips32_dmaacc_read_mem().

◆ mips32_dmaacc_read_mem8()

static int mips32_dmaacc_read_mem8 ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  count,
uint8_t *  buf 
)
static

Definition at line 383 of file mips32_dmaacc.c.

References addr, count, ejtag_dma_read_b(), and ERROR_OK.

Referenced by mips32_dmaacc_read_mem().

◆ mips32_dmaacc_write_mem()

int mips32_dmaacc_write_mem ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  size,
int  count,
const void *  buf 
)

◆ mips32_dmaacc_write_mem16()

static int mips32_dmaacc_write_mem16 ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  count,
const uint16_t *  buf 
)
static

Definition at line 425 of file mips32_dmaacc.c.

References addr, count, ejtag_dma_write_h(), and ERROR_OK.

Referenced by mips32_dmaacc_write_mem().

◆ mips32_dmaacc_write_mem32()

static int mips32_dmaacc_write_mem32 ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  count,
const uint32_t *  buf 
)
static

Definition at line 411 of file mips32_dmaacc.c.

References addr, count, ejtag_dma_write(), and ERROR_OK.

Referenced by mips32_dmaacc_write_mem().

◆ mips32_dmaacc_write_mem8()

static int mips32_dmaacc_write_mem8 ( struct mips_ejtag ejtag_info,
uint32_t  addr,
int  count,
const uint8_t *  buf 
)
static

Definition at line 439 of file mips32_dmaacc.c.

References addr, count, ejtag_dma_write_b(), and ERROR_OK.

Referenced by mips32_dmaacc_write_mem().