OpenOCD
algorithm.h File Reference
Include dependency graph for algorithm.h:

Go to the source code of this file.

Data Structures

struct  mem_param
 
struct  reg_param
 

Enumerations

enum  param_direction { PARAM_IN , PARAM_OUT , PARAM_IN_OUT }
 

Functions

void destroy_mem_param (struct mem_param *param)
 
void destroy_reg_param (struct reg_param *param)
 
void init_mem_param (struct mem_param *param, uint32_t address, uint32_t size, enum param_direction dir)
 
void init_reg_param (struct reg_param *param, char *reg_name, uint32_t size, enum param_direction dir)
 

Enumeration Type Documentation

◆ param_direction

Enumerator
PARAM_IN 
PARAM_OUT 
PARAM_IN_OUT 

Definition at line 14 of file algorithm.h.

Function Documentation

◆ destroy_mem_param()

void destroy_mem_param ( struct mem_param param)

Definition at line 23 of file algorithm.c.

References NULL, and param.

Referenced by bluenrgx_write(), lpc2000_iap_call(), and stm8_blank_check_memory().

◆ destroy_reg_param()

void destroy_reg_param ( struct reg_param param)

Definition at line 37 of file algorithm.c.

References NULL, and param.

Referenced by aduc702x_write_block(), aducm360_write_block_async(), aducm360_write_block_sync(), arm7_9_bulk_write_memory(), arm_blank_check_memory(), arm_checksum_memory(), arm_nandread(), arm_nandwrite(), armv7m_blank_check_memory(), armv7m_checksum_memory(), bluenrgx_write(), cc3220sf_write(), cfi_intel_write_block(), cfi_spansion_write_block(), cfi_spansion_write_block_mips(), efm32x_write_block(), em357_write_block(), fm3_chip_erase(), fm3_erase(), fm3_write_block(), fm4_flash_erase(), fm4_flash_write(), kinetis_disable_wdog_algo(), kinetis_ke_write_words(), kinetis_write_block(), lpc2000_iap_call(), lpc2900_write(), lpcspifi_erase(), lpcspifi_set_hw_mode(), lpcspifi_write(), max32xxx_write_block(), mdr_write_block(), mips32_blank_check_memory(), mips32_checksum_memory(), mrvlqspi_flash_write(), msp432_init(), niietcm4_write_block(), nrf5_ll_flash_write(), numicro_writeblock(), pic32mx_write_block(), psoc4_sysreq(), qspi_read_write_block(), qspi_verify(), riscv_checksum_memory(), rp2040_call_rom_func(), rsl10_ll_flash_erase(), rsl10_ll_flash_write(), rsl10_mass_erase(), sh_qspi_read(), sh_qspi_write(), sim3x_write_block(), sromalgo_prepare(), stellaris_write_block(), stm32l4_write_block(), stm32lx_write_half_pages(), stm32x_write_block(), stm32x_write_block_async(), stm32x_write_block_riscv(), stm8_blank_check_memory(), stmqspi_blank_check(), str7x_write_block(), str9x_write_block(), xmc1xxx_erase(), xmc1xxx_erase_check(), and xmc1xxx_write().

◆ init_mem_param()

void init_mem_param ( struct mem_param param,
uint32_t  address,
uint32_t  size,
enum param_direction  dir 
)

Definition at line 15 of file algorithm.c.

References direction, param, and size.

Referenced by bluenrgx_write(), lpc2000_iap_call(), and stm8_blank_check_memory().

◆ init_reg_param()

void init_reg_param ( struct reg_param param,
char *  reg_name,
uint32_t  size,
enum param_direction  dir 
)

Definition at line 29 of file algorithm.c.

References direction, DIV_ROUND_UP, param, and size.

Referenced by aduc702x_write_block(), aducm360_write_block_async(), aducm360_write_block_sync(), arm7_9_bulk_write_memory(), arm_blank_check_memory(), arm_checksum_memory(), arm_nandread(), arm_nandwrite(), armv7m_blank_check_memory(), armv7m_checksum_memory(), bluenrgx_write(), cc3220sf_write(), cfi_intel_write_block(), cfi_spansion_write_block(), cfi_spansion_write_block_mips(), efm32x_write_block(), em357_write_block(), fespi_write(), fm3_chip_erase(), fm3_erase(), fm3_write_block(), fm4_flash_erase(), fm4_flash_write(), kinetis_disable_wdog_algo(), kinetis_ke_write_words(), kinetis_write_block(), lpc2000_iap_call(), lpc2900_write(), lpcspifi_erase(), lpcspifi_set_hw_mode(), lpcspifi_write(), max32xxx_write_block(), mdr_write_block(), mips32_blank_check_memory(), mips32_checksum_memory(), mrvlqspi_flash_write(), msp432_init(), niietcm4_write_block(), nrf5_ll_flash_write(), numicro_writeblock(), pic32mx_write_block(), psoc4_sysreq(), qspi_read_write_block(), qspi_verify(), riscv_checksum_memory(), rp2040_call_rom_func(), rsl10_ll_flash_erase(), rsl10_ll_flash_write(), rsl10_mass_erase(), sh_qspi_read(), sh_qspi_write(), sim3x_write_block(), sromalgo_prepare(), stellaris_write_block(), stm32l4_write_block(), stm32lx_write_half_pages(), stm32x_write_block(), stm32x_write_block_async(), stm32x_write_block_riscv(), stm8_blank_check_memory(), stmqspi_blank_check(), str7x_write_block(), str9x_write_block(), xmc1xxx_erase(), xmc1xxx_erase_check(), and xmc1xxx_write().