Lines Matching refs:csr_map

149 	const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map;	\
151 return show_root_entry_hash(dev, csr_map->_name##_magic, \
152 csr_map->_name##_prog_addr, \
153 csr_map->_name##_reh_addr, \
195 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; \
198 csr_map->_name##_prog_addr + CSK_VEC_OFFSET, \
215 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in flash_count_show() local
226 ret = m10bmc_sec_read(sec, flash_buf, csr_map->rsu_update_counter, in flash_count_show()
264 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in log_error_regs() local
269 if (!m10bmc_sys_read(sec->m10bmc, csr_map->auth_result, &auth_result)) in log_error_regs()
275 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in m10bmc_sec_n3000_rsu_status() local
279 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in m10bmc_sec_n3000_rsu_status()
288 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in m10bmc_sec_n6000_rsu_status() local
292 ret = m10bmc_sys_read(sec->m10bmc, csr_map->auth_result, &auth_result); in m10bmc_sec_n6000_rsu_status()
324 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in m10bmc_sec_progress_status() local
327 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, doorbell_reg); in m10bmc_sec_progress_status()
343 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in rsu_check_idle() local
347 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_check_idle()
375 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in rsu_update_init() local
380 csr_map->base + csr_map->doorbell, in rsu_update_init()
415 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in rsu_prog_ready() local
420 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_prog_ready()
430 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_prog_ready()
449 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in rsu_send_data() local
454 csr_map->base + csr_map->doorbell, in rsu_send_data()
462 csr_map->base + csr_map->doorbell, in rsu_send_data()
509 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in rsu_cancel() local
513 ret = m10bmc_sys_read(sec->m10bmc, csr_map->doorbell, &doorbell); in rsu_cancel()
521 csr_map->base + csr_map->doorbell, in rsu_cancel()
577 const struct m10bmc_csr_map *csr_map = sec->m10bmc->info->csr_map; in m10bmc_sec_fw_write() local
585 ret = m10bmc_sys_read(m10bmc, csr_map->doorbell, &doorbell); in m10bmc_sec_fw_write()