Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 8 of 8) sorted by relevance

/nrf_hw_models-latest/src/HW_models/
DNHW_RRAMC.c194 …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 …]
DNHW_NVMC.c451 …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 …]
DNHW_NVM_backend.h87 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; \
Dtrivial_xo.c38 static void arg_xo_drift_found(char * argv, int offset) { in arg_xo_drift_found() argument
40 (void) offset; in arg_xo_drift_found()
DNHW_UART_backend_pty.c228 static void parse_poll_period(char *argv, int offset) { in parse_poll_period() argument
229 (void) offset; in parse_poll_period()
DNHW_GRTC.c486 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()
DNHW_UART_backend_fifo.c545 static void uf_parse_mdt(char *argv, int offset) { in uf_parse_mdt() argument
546 (void) offset; in uf_parse_mdt()
DNHW_UART.c1432 static void uart_list(char *argv, int offset) { in uart_list() argument
1434 (void) offset; in uart_list()