Home
last modified time | relevance | path

Searched refs:region_config (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/mm/
Dmm_drv_ti_rat.c41 uint64_t system_addr = addr_translate_config->region_config[region_num].system_addr; in address_trans_set_region()
42 uint32_t local_addr = addr_translate_config->region_config[region_num].local_addr; in address_trans_set_region()
43 uint32_t size = addr_translate_config->region_config[region_num].size; in address_trans_set_region()
73 __ASSERT(translate_config.region_config != NULL, in address_trans_init()
89 void sys_mm_drv_ti_rat_init(void *region_config, uint64_t rat_base_addr, uint8_t translate_regions) in sys_mm_drv_ti_rat_init() argument
93 translate_config.region_config = (struct address_trans_region_config *)region_config; in sys_mm_drv_ti_rat_init()
118 ((uint32_t)((BIT64_MASK(translate_config.region_config[regionId].size)))); in sys_mm_drv_page_phys_get()
120 start_addr = translate_config.region_config[regionId].system_addr; in sys_mm_drv_page_phys_get()
132 pa - translate_config.region_config[regionId].system_addr; in sys_mm_drv_page_phys_get()
134 *va = (translate_config.region_config[regionId].local_addr + offset); in sys_mm_drv_page_phys_get()
/Zephyr-latest/include/zephyr/drivers/mm/
Drat.h78 struct address_trans_region_config *region_config; member
81 void sys_mm_drv_ti_rat_init(void *region_config, uint64_t rat_base_addr, uint8_t translate_regions);