Searched refs:reg_ptr (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.4.0/components/espcoredump/src/port/xtensa/ |
D | core_dump_port.c | 33 #define COREDUMP_GET_REG_PAIR(reg_idx, reg_ptr) { *(uint32_t*)(reg_ptr++) = (uint32_t)reg_idx; \ argument 34 RSR(reg_idx, *(uint32_t*)(reg_ptr++)); \ 158 uint32_t* reg_ptr = (uint32_t*)src; in esp_core_dump_get_epc_regs() local 160 COREDUMP_GET_EPC(EPC_1, reg_ptr); in esp_core_dump_get_epc_regs() 161 COREDUMP_GET_EPC(EPC_2, reg_ptr); in esp_core_dump_get_epc_regs() 162 COREDUMP_GET_EPC(EPC_3, reg_ptr); in esp_core_dump_get_epc_regs() 163 COREDUMP_GET_EPC(EPC_4, reg_ptr); in esp_core_dump_get_epc_regs() 164 COREDUMP_GET_EPC(EPC_5, reg_ptr); in esp_core_dump_get_epc_regs() 165 COREDUMP_GET_EPC(EPC_6, reg_ptr); in esp_core_dump_get_epc_regs() 166 COREDUMP_GET_EPC(EPC_7, reg_ptr); in esp_core_dump_get_epc_regs() [all …]
|
/hal_espressif-3.4.0/components/freemodbus/tcp_master/modbus_controller/ |
D | mbc_tcp_master.c | 234 const mb_parameter_descriptor_t *reg_ptr = descriptor; in mbc_tcp_master_set_descriptor() local 239 for (int idx = 0; idx < (num_elements); idx++, reg_ptr++) in mbc_tcp_master_set_descriptor() 242 …MB_MASTER_CHECK((reg_ptr->cid == idx), ESP_ERR_INVALID_ARG, "mb descriptor cid field is incorrect.… in mbc_tcp_master_set_descriptor() 243 …MB_MASTER_CHECK((reg_ptr->param_key != NULL), ESP_ERR_INVALID_ARG, "mb descriptor param key is inc… in mbc_tcp_master_set_descriptor() 244 …MB_MASTER_CHECK((reg_ptr->mb_size > 0), ESP_ERR_INVALID_ARG, "mb descriptor param size is incorrec… in mbc_tcp_master_set_descriptor() 246 p_slave = mbc_tcp_master_find_slave_addr(reg_ptr->mb_slave_addr); in mbc_tcp_master_set_descriptor() 250 …m_ip_table[slave_cnt]), ESP_ERR_INVALID_STATE, "mb missing IP address for cid #%d.", reg_ptr->cid); in mbc_tcp_master_set_descriptor() 252 …MB_MASTER_ASSERT(mbc_tcp_master_add_slave(idx, reg_ptr->mb_slave_addr, comm_ip_table[slave_cnt++])… in mbc_tcp_master_set_descriptor() 454 const mb_parameter_descriptor_t* reg_ptr = mbm_opts->mbm_param_descriptor_table; in mbc_tcp_master_set_request() local 455 … for (uint16_t counter = 0; counter < (mbm_opts->mbm_param_descriptor_size); counter++, reg_ptr++) in mbc_tcp_master_set_request() [all …]
|
/hal_espressif-3.4.0/components/freemodbus/serial_master/modbus_controller/ |
D | mbc_serial_master.c | 157 const mb_parameter_descriptor_t *reg_ptr = descriptor; in mbc_serial_master_set_descriptor() local 159 for (uint16_t counter = 0; counter < (num_elements); counter++, reg_ptr++) in mbc_serial_master_set_descriptor() 162 MB_MASTER_CHECK((reg_ptr->cid == counter), in mbc_serial_master_set_descriptor() 164 MB_MASTER_CHECK((reg_ptr->param_key != NULL), in mbc_serial_master_set_descriptor() 166 MB_MASTER_CHECK((reg_ptr->mb_size > 0), in mbc_serial_master_set_descriptor() 358 const mb_parameter_descriptor_t* reg_ptr = mbm_opts->mbm_param_descriptor_table; in mbc_serial_master_set_request() local 359 … for (uint16_t counter = 0; counter < (mbm_opts->mbm_param_descriptor_size); counter++, reg_ptr++) in mbc_serial_master_set_request() 363 size_t param_key_len = strlen((const char*)reg_ptr->param_key); in mbc_serial_master_set_request() 368 …int comp_result = memcmp((const void*)name, (const void*)reg_ptr->param_key, (size_t)param_key_len… in mbc_serial_master_set_request() 371 request->slave_addr = reg_ptr->mb_slave_addr; in mbc_serial_master_set_request() [all …]
|