Home
last modified time | relevance | path

Searched refs:cache_mem (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/cxl/
H A Dcxl-host.c101 static bool cxl_hdm_find_target(uint32_t *cache_mem, hwaddr addr, in cxl_hdm_find_target() argument
110 cap = ldl_le_p(cache_mem + R_CXL_HDM_DECODER_CAPABILITY); in cxl_hdm_find_target()
119 low = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_BASE_LO + i * hdm_inc); in cxl_hdm_find_target()
120 high = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_BASE_HI + i * hdm_inc); in cxl_hdm_find_target()
122 low = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_SIZE_LO + i * hdm_inc); in cxl_hdm_find_target()
123 high = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_SIZE_HI + i * hdm_inc); in cxl_hdm_find_target()
129 ctrl = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + i * hdm_inc); in cxl_hdm_find_target()
139 uint32_t val = ldl_le_p(cache_mem + in cxl_hdm_find_target()
144 uint32_t val = ldl_le_p(cache_mem + in cxl_hdm_find_target()
161 uint32_t *cache_mem; in cxl_cfmws_find_device() local
[all …]
H A Dcxl-component-utils.c95 uint32_t *cache_mem = cregs->cache_mem_registers; in dumb_hdm_handler() local
118 stl_le_p((uint8_t *)cache_mem + offset, value); in dumb_hdm_handler()
202 memory_region_init_io(&cregs->cache_mem, obj, &cache_mem_ops, cxl_cstate, in cxl_component_register_block_init()
208 &cregs->cache_mem); in cxl_component_register_block_init()
/openbmc/qemu/hw/mem/
H A Dcxl_type3.c406 uint32_t *cache_mem = cregs->cache_mem_registers; in hdm_decoder_commit() local
409 ctrl = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + which * hdm_inc); in hdm_decoder_commit()
414 stl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + which * hdm_inc, ctrl); in hdm_decoder_commit()
421 uint32_t *cache_mem = cregs->cache_mem_registers; in hdm_decoder_uncommit() local
424 ctrl = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + which * hdm_inc); in hdm_decoder_uncommit()
429 stl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + which * hdm_inc, ctrl); in hdm_decoder_uncommit()
498 uint32_t *cache_mem = cregs->cache_mem_registers; in ct3d_reg_write() local
529 uint32_t capctrl = ldl_le_p(cache_mem + R_CXL_RAS_ERR_CAP_CTRL); in ct3d_reg_write()
569 uint32_t *header_log = &cache_mem[R_CXL_RAS_ERR_HEADER0]; in ct3d_reg_write()
588 stl_le_p((uint8_t *)cache_mem + A_CXL_RAS_ERR_CAP_CTRL, capctrl); in ct3d_reg_write()
[all …]
/openbmc/linux/fs/f2fs/
H A Ddebug.c286 si->cache_mem = 0; in update_mem_info()
290 si->cache_mem += sizeof(struct f2fs_gc_kthread); in update_mem_info()
294 si->cache_mem += sizeof(struct flush_cmd_control); in update_mem_info()
296 si->cache_mem += sizeof(struct discard_cmd_control); in update_mem_info()
297 si->cache_mem += sizeof(struct discard_cmd) * in update_mem_info()
302 si->cache_mem += (NM_I(sbi)->nid_cnt[FREE_NID] + in update_mem_info()
305 si->cache_mem += NM_I(sbi)->nat_cnt[TOTAL_NAT] * in update_mem_info()
307 si->cache_mem += NM_I(sbi)->nat_cnt[DIRTY_NAT] * in update_mem_info()
310 si->cache_mem += sbi->im[i].ino_num * sizeof(struct ino_entry); in update_mem_info()
319 si->cache_mem += si->ext_mem[i]; in update_mem_info()
[all …]
H A Df2fs.h3953 unsigned long long base_mem, cache_mem, page_mem; member
/openbmc/qemu/include/hw/cxl/
H A Dcxl_component.h226 MemoryRegion cache_mem; member