Lines Matching refs:storage
134 NRF_UICR_regs_p[inst] = (NRF_UICR_Type *)this->uicr_st.storage; in nhw_RRAMC_uicr_init()
158 (void)memset(this->uicr_st.storage, 0xFF, this->uicr_st.size); in nhw_RRAMC_erase_uicr()
167 (void)memset(this->rram_st.storage, 0xFF, this->rram_st.size); in nhw_RRAMC_erase_all()
194 static void nhw_RRAMC_address_location(uint32_t address, uint *inst, nvm_storage_state_t **storage,… in nhw_RRAMC_address_location() argument
199 *storage = &hw_rramc_st[i].rram_st; in nhw_RRAMC_address_location()
203 if ((address >= (uint32_t)hw_rramc_st[i].uicr_st.storage) \ in nhw_RRAMC_address_location()
204 && (address < (uint32_t)hw_rramc_st[i].uicr_st.storage + hw_rramc_st[i].uicr_size)) { in nhw_RRAMC_address_location()
205 *storage = &hw_rramc_st[i].uicr_st; in nhw_RRAMC_address_location()
206 *offset = address - (uint32_t)hw_rramc_st[i].uicr_st.storage; in nhw_RRAMC_address_location()
234 *(uint32_t*)&backend->storage[offset] = value; in nhw_RRAMC_write_word()
258 *(uint16_t*)&backend->storage[offset] = value; in nhw_RRAMC_write_halfword()
276 *(uint8_t*)&backend->storage[offset] = value; in nhw_RRAMC_write_byte()
296 return *(uint32_t*)&backend->storage[offset]; in nhw_RRAMC_read_word()
306 return *(uint16_t*)&backend->storage[offset]; in nhw_RRAMC_read_halfword()
316 return *(uint8_t*)&backend->storage[offset]; in nhw_RRAMC_read_byte()
346 (void)memcpy(&backend->storage[offset], src, size); in nhw_RRAMC_write_buffer()
376 (void)memcpy(dest, &backend->storage[offset], size); in nhw_RRAMC_read_buffer()
380 return (void*)hw_rramc_st[inst].rram_st.storage; in nhw_RRAMC_get_RRAM_base_address()