OpenOCD
|
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) |
|
static |
Definition at line 44 of file mips32_dmaacc.c.
References mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DSTRT, LOG_ERROR, mips_ejtag_drscan_32(), start, and timeval_ms().
Referenced by ejtag_dma_read(), ejtag_dma_read_b(), ejtag_dma_read_h(), ejtag_dma_write(), ejtag_dma_write_b(), and ejtag_dma_write_h().
|
static |
Definition at line 60 of file mips32_dmaacc.c.
References addr, mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DERR, EJTAG_CTRL_DMA_WORD, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DRWN, EJTAG_CTRL_DSTRT, ejtag_dma_dstrt_poll(), EJTAG_INST_ADDRESS, EJTAG_INST_CONTROL, EJTAG_INST_DATA, ERROR_JTAG_DEVICE_ERROR, ERROR_OK, LOG_ERROR, mips_ejtag_drscan_32(), mips_ejtag_set_instr(), and RETRY_ATTEMPTS.
Referenced by mips32_dmaacc_read_mem32().
|
static |
Definition at line 149 of file mips32_dmaacc.c.
References addr, mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DERR, EJTAG_CTRL_DMA_BYTE, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DRWN, EJTAG_CTRL_DSTRT, ejtag_dma_dstrt_poll(), EJTAG_INST_ADDRESS, EJTAG_INST_CONTROL, EJTAG_INST_DATA, ERROR_JTAG_DEVICE_ERROR, ERROR_OK, LOG_ERROR, mips_ejtag_drscan_32(), mips_ejtag_set_instr(), and RETRY_ATTEMPTS.
Referenced by mips32_dmaacc_read_mem8().
|
static |
Definition at line 101 of file mips32_dmaacc.c.
References addr, mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DERR, EJTAG_CTRL_DMA_HALFWORD, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DRWN, EJTAG_CTRL_DSTRT, ejtag_dma_dstrt_poll(), EJTAG_INST_ADDRESS, EJTAG_INST_CONTROL, EJTAG_INST_DATA, ERROR_JTAG_DEVICE_ERROR, ERROR_OK, LOG_ERROR, mips_ejtag_drscan_32(), mips_ejtag_set_instr(), and RETRY_ATTEMPTS.
Referenced by mips32_dmaacc_read_mem16().
|
static |
Definition at line 206 of file mips32_dmaacc.c.
References addr, mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DERR, EJTAG_CTRL_DMA_WORD, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DSTRT, ejtag_dma_dstrt_poll(), EJTAG_INST_ADDRESS, EJTAG_INST_CONTROL, EJTAG_INST_DATA, ERROR_JTAG_DEVICE_ERROR, ERROR_OK, LOG_ERROR, mips_ejtag_drscan_32(), mips_ejtag_set_instr(), and RETRY_ATTEMPTS.
Referenced by mips32_dmaacc_write_mem32().
|
static |
Definition at line 294 of file mips32_dmaacc.c.
References addr, mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DERR, EJTAG_CTRL_DMA_BYTE, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DSTRT, ejtag_dma_dstrt_poll(), EJTAG_INST_ADDRESS, EJTAG_INST_CONTROL, EJTAG_INST_DATA, ERROR_JTAG_DEVICE_ERROR, ERROR_OK, LOG_ERROR, mips_ejtag_drscan_32(), mips_ejtag_set_instr(), and RETRY_ATTEMPTS.
Referenced by mips32_dmaacc_write_mem8().
|
static |
Definition at line 248 of file mips32_dmaacc.c.
References addr, mips_ejtag::ejtag_ctrl, EJTAG_CTRL_DERR, EJTAG_CTRL_DMA_HALFWORD, EJTAG_CTRL_DMAACC, EJTAG_CTRL_DSTRT, ejtag_dma_dstrt_poll(), EJTAG_INST_ADDRESS, EJTAG_INST_CONTROL, EJTAG_INST_DATA, ERROR_JTAG_DEVICE_ERROR, ERROR_OK, LOG_ERROR, mips_ejtag_drscan_32(), mips_ejtag_set_instr(), and RETRY_ATTEMPTS.
Referenced by mips32_dmaacc_write_mem16().
int mips32_dmaacc_read_mem | ( | struct mips_ejtag * | ejtag_info, |
uint32_t | addr, | ||
int | size, | ||
int | count, | ||
void * | buf | ||
) |
Definition at line 341 of file mips32_dmaacc.c.
References addr, count, ERROR_OK, mips32_dmaacc_read_mem16(), mips32_dmaacc_read_mem32(), mips32_dmaacc_read_mem8(), and size.
Referenced by disable_dcr_mp(), and mips_m4k_read_memory().
|
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().
|
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().
|
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().
int mips32_dmaacc_write_mem | ( | struct mips_ejtag * | ejtag_info, |
uint32_t | addr, | ||
int | size, | ||
int | count, | ||
const void * | buf | ||
) |
Definition at line 397 of file mips32_dmaacc.c.
References addr, count, ERROR_OK, mips32_dmaacc_write_mem16(), mips32_dmaacc_write_mem32(), mips32_dmaacc_write_mem8(), and size.
Referenced by disable_dcr_mp(), and mips_m4k_write_memory().
|
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().
|
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().
|
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().