Lines Matching refs:storage
164 NRF_UICR_regs_p[inst] = (NRF_UICR_Type *)this->uicr_st.storage; in nhw_nvmc_uicr_init()
172 if (*(uint32_t*)(this->flash_st.storage + i) != 0) { in nhw_nvmc_uicr_init()
213 memset(&this->flash_st.storage[base_address], 0xFF, this->flash_page_size); in nhw_nvmc_complete_erase()
234 (void)memset(this->uicr_st.storage, 0xFF, this->uicr_st.size); in nhw_nvmc_complete_erase_uicr()
243 (void)memset(this->flash_st.storage, 0xFF, this->flash_st.size); in nhw_nvmc_complete_erase_all()
451 static void nhw_nvmc_address_location(uint32_t address, uint *inst, nvm_storage_state_t **storage, … in nhw_nvmc_address_location() argument
456 *storage = &hw_nvmc_st[i].flash_st; in nhw_nvmc_address_location()
460 if ((address >= (uint32_t)hw_nvmc_st[i].uicr_st.storage) \ in nhw_nvmc_address_location()
461 && (address < (uint32_t)hw_nvmc_st[i].uicr_st.storage + hw_nvmc_st[i].uicr_size)) { in nhw_nvmc_address_location()
462 *storage = &hw_nvmc_st[i].uicr_st; in nhw_nvmc_address_location()
463 *offset = address - (uint32_t)hw_nvmc_st[i].uicr_st.storage; in nhw_nvmc_address_location()
528 *(uint32_t*)&backend->storage[offset] &= value; in nhw_nmvc_write_word()
564 return *(uint32_t*)&backend->storage[offset]; in nhw_nmvc_read_word()
580 return *(uint16_t*)&backend->storage[offset]; in nhw_nmvc_read_halfword()
596 return *(uint8_t*)&backend->storage[offset]; in nhw_nmvc_read_byte()
634 (void)memcpy(dest, &backend->storage[offset], size); in nhw_nmvc_read_buffer()
638 return (void*)&hw_nvmc_st[inst].flash_st.storage; in nrfhw_nmvc_flash_get_base_address()