Searched refs:offset (Results 1 – 8 of 8) sorted by relevance
/nrf_hw_models-latest/src/HW_models/ |
D | NHW_RRAMC.c | 194 …w_RRAMC_address_location(uint32_t address, uint *inst, nvm_storage_state_t **storage, int *offset){ in nhw_RRAMC_address_location() argument 200 *offset = address - hw_rramc_st[i].rram_start_addr; in nhw_RRAMC_address_location() 206 *offset = address - (uint32_t)hw_rramc_st[i].uicr_st.storage; in nhw_RRAMC_address_location() 228 int offset; in nhw_RRAMC_write_word() local 232 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_write_word() 234 *(uint32_t*)&backend->storage[offset] = value; in nhw_RRAMC_write_word() 252 int offset; in nhw_RRAMC_write_halfword() local 256 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_write_halfword() 258 *(uint16_t*)&backend->storage[offset] = value; in nhw_RRAMC_write_halfword() 270 int offset; in nhw_RRAMC_write_byte() local [all …]
|
D | NHW_NVMC.c | 451 …hw_nvmc_address_location(uint32_t address, uint *inst, nvm_storage_state_t **storage, int *offset){ in nhw_nvmc_address_location() argument 457 *offset = address - hw_nvmc_st[i].flash_start_addr; in nhw_nvmc_address_location() 463 *offset = address - (uint32_t)hw_nvmc_st[i].uicr_st.storage; in nhw_nvmc_address_location() 485 int offset; in nhw_nmvc_write_word() local 489 nhw_nvmc_address_location(address, &inst, &backend, &offset); in nhw_nmvc_write_word() 498 if ((value == 0xFFFFFFFF) && (offset % this->flash_page_size == 0)) { in nhw_nmvc_write_word() 504 if ((value == 0xFFFFFFFF) && (offset % this->flash_page_size == 0)) { in nhw_nmvc_write_word() 520 CHECK_PARTIAL_ERASE(inst, offset, "write"); in nhw_nmvc_write_word() 521 this->page_erased[offset/this->flash_page_size] = false; in nhw_nmvc_write_word() 528 *(uint32_t*)&backend->storage[offset] &= value; in nhw_nmvc_write_word() [all …]
|
D | NHW_NVM_backend.h | 87 static void arg_##x##_file_found(char *argv, int offset){ \ 89 (void) offset; \ 92 static void arg_##x##_in_ram_found(char *argv, int offset){ \ 94 (void) offset; \
|
D | trivial_xo.c | 38 static void arg_xo_drift_found(char * argv, int offset) { in arg_xo_drift_found() argument 40 (void) offset; in arg_xo_drift_found()
|
D | NHW_UART_backend_pty.c | 228 static void parse_poll_period(char *argv, int offset) { in parse_poll_period() argument 229 (void) offset; in parse_poll_period()
|
D | NHW_GRTC.c | 486 uint32_t offset = NRF_GRTC_regs.CC[cc].CCADD & GRTC_CC_CCADD_VALUE_Msk; in nhw_GRTC_regw_sideeffects_CC_CCADD() local 494 value += offset; in nhw_GRTC_regw_sideeffects_CC_CCADD()
|
D | NHW_UART_backend_fifo.c | 545 static void uf_parse_mdt(char *argv, int offset) { in uf_parse_mdt() argument 546 (void) offset; in uf_parse_mdt()
|
D | NHW_UART.c | 1432 static void uart_list(char *argv, int offset) { in uart_list() argument 1434 (void) offset; in uart_list()
|