Lines Matching refs:address

181     __func__, address)
194 static void nhw_RRAMC_address_location(uint32_t address, uint *inst, nvm_storage_state_t **storage,… in nhw_RRAMC_address_location() argument
197 if ((address >= hw_rramc_st[i].rram_start_addr) \ in nhw_RRAMC_address_location()
198 && (address < hw_rramc_st[i].rram_start_addr + hw_rramc_st[i].rram_size)) { in nhw_RRAMC_address_location()
200 *offset = address - hw_rramc_st[i].rram_start_addr; 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()
206 *offset = address - (uint32_t)hw_rramc_st[i].uicr_st.storage; in nhw_RRAMC_address_location()
210 OUT_OF_RRAM_ERROR(address); in nhw_RRAMC_address_location()
221 void nhw_RRAMC_write_word(uint32_t address, uint32_t value){ in nhw_RRAMC_write_word() argument
222 if ((address & 3) != 0){ in nhw_RRAMC_write_word()
225 __func__, address); in nhw_RRAMC_write_word()
232 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_write_word()
247 uint32_t nhw_RRAMC_read_word(uint32_t address) { in nhw_RRAMC_read_word() argument
252 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_read_word()
257 uint16_t nhw_RRAMC_read_halfword(uint32_t address) { in nhw_RRAMC_read_halfword() argument
262 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_read_halfword()
267 uint8_t nhw_RRAMC_read_byte(uint32_t address) { in nhw_RRAMC_read_byte() argument
272 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_read_byte()
293 void nhw_RRAMC_read_buffer(void *dest, uint32_t address, size_t size) { in nhw_RRAMC_read_buffer() argument
298 nhw_RRAMC_address_location(address, &inst, &backend, &offset); in nhw_RRAMC_read_buffer()
301 OUT_OF_RRAM_ERROR(address + size); in nhw_RRAMC_read_buffer()