| /bsp/samd21/sam_d2x_asflib/common/drivers/nvm/sam/ |
| A D | sam_nvm.c | 51 status_code_t nvm_init(mem_type_t mem) in nvm_init() argument 53 switch (mem) { in nvm_init() 80 switch (mem) { in nvm_read_char() 122 switch (mem) { in nvm_write_char() 168 switch (mem) { in nvm_read() 230 switch (mem) { in nvm_write() 288 switch (mem) { in nvm_page_erase() 329 status_code_t nvm_get_size(mem_type_t mem, uint32_t *size) in nvm_get_size() argument 331 switch (mem) { in nvm_get_size() 357 switch (mem) { in nvm_get_page_size() [all …]
|
| /bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/ |
| A D | power_manage.c | 68 CSI_PARAM_CHK(mem, CSI_ERROR); in csi_pm_set_reten_mem() 74 pm_dev_reten_mem = mem; in csi_pm_set_reten_mem() 76 node = (reten_mem_node_t *)mem; in csi_pm_set_reten_mem() 89 uint32_t *mem = NULL; in pm_alloc_reten_mem() local 127 return mem; in pm_alloc_reten_mem() 138 if (addr == (uint32_t)mem) { in pm_free_reten_mem() 152 uint32_t *mem = NULL; in csi_pm_dev_register() local 160 dev->pm_dev.reten_mem = mem; in csi_pm_dev_register() 162 if (mem == NULL) { in csi_pm_dev_register() 183 mem[i] = addr[i]; in csi_pm_dev_save_regs() [all …]
|
| /bsp/samd21/sam_d2x_asflib/common/drivers/nvm/ |
| A D | common_nvm.h | 108 status_code_t nvm_init(mem_type_t mem); 117 status_code_t nvm_read_char(mem_type_t mem, uint32_t address, uint8_t *data); 130 status_code_t nvm_write_char(mem_type_t mem, uint32_t address, uint8_t data); 141 status_code_t nvm_read(mem_type_t mem, uint32_t address, void *buffer, 156 status_code_t nvm_write(mem_type_t mem, uint32_t address, void *buffer, 169 status_code_t nvm_page_erase(mem_type_t mem, uint32_t page_number); 177 status_code_t nvm_get_size(mem_type_t mem, uint32_t *size); 185 status_code_t nvm_get_page_size(mem_type_t mem, uint32_t *size); 194 status_code_t nvm_get_pagenumber(mem_type_t mem, uint32_t address,
|
| /bsp/synwit/swm320-mini/board/linker_scripts/ |
| A D | link.icf | 33 define memory mem with size = 4G; 34 define region IROM_region = mem:[from __ICFEDIT_region_IROM1_start__ to __ICFEDIT_region_IROM1_… 35 … | mem:[from __ICFEDIT_region_IROM2_start__ to __ICFEDIT_region_IROM2_end__]; 36 define region EROM_region = mem:[from __ICFEDIT_region_EROM1_start__ to __ICFEDIT_region_EROM1_… 37 … | mem:[from __ICFEDIT_region_EROM2_start__ to __ICFEDIT_region_EROM2_end__] 38 … | mem:[from __ICFEDIT_region_EROM3_start__ to __ICFEDIT_region_EROM3_end__]; 39 define region IRAM_region = mem:[from __ICFEDIT_region_IRAM1_start__ to __ICFEDIT_region_IRAM1_… 40 … | mem:[from __ICFEDIT_region_IRAM2_start__ to __ICFEDIT_region_IRAM2_end__]; 41 define region ERAM_region = mem:[from __ICFEDIT_region_ERAM1_start__ to __ICFEDIT_region_ERAM1_… 42 … | mem:[from __ICFEDIT_region_ERAM2_start__ to __ICFEDIT_region_ERAM2_end__] [all …]
|
| /bsp/synwit/swm341-mini/board/linker_scripts/ |
| A D | link.icf | 33 define memory mem with size = 4G; 34 define region IROM_region = mem:[from __ICFEDIT_region_IROM1_start__ to __ICFEDIT_region_IROM1_… 35 … | mem:[from __ICFEDIT_region_IROM2_start__ to __ICFEDIT_region_IROM2_end__]; 36 define region EROM_region = mem:[from __ICFEDIT_region_EROM1_start__ to __ICFEDIT_region_EROM1_… 37 … | mem:[from __ICFEDIT_region_EROM2_start__ to __ICFEDIT_region_EROM2_end__] 38 … | mem:[from __ICFEDIT_region_EROM3_start__ to __ICFEDIT_region_EROM3_end__]; 39 define region IRAM_region = mem:[from __ICFEDIT_region_IRAM1_start__ to __ICFEDIT_region_IRAM1_… 40 … | mem:[from __ICFEDIT_region_IRAM2_start__ to __ICFEDIT_region_IRAM2_end__]; 41 define region ERAM_region = mem:[from __ICFEDIT_region_ERAM1_start__ to __ICFEDIT_region_ERAM1_… 42 … | mem:[from __ICFEDIT_region_ERAM2_start__ to __ICFEDIT_region_ERAM2_end__] [all …]
|
| /bsp/msp432e401y-LaunchPad/board/linker_scripts/ |
| A D | link.icf | 34 define memory mem with size = 4G; 35 define region IROM_region = mem:[from __ICFEDIT_region_IROM1_start__ to __ICFEDIT_region_IROM1_… 36 define region EROM_region = mem:[from __ICFEDIT_region_EROM1_start__ to __ICFEDIT_region_EROM1_… 37 … | mem:[from __ICFEDIT_region_EROM2_start__ to __ICFEDIT_region_EROM2_end__] 38 … | mem:[from __ICFEDIT_region_EROM3_start__ to __ICFEDIT_region_EROM3_end__]; 39 define region IRAM_region = mem:[from __ICFEDIT_region_IRAM1_start__ to __ICFEDIT_region_IRAM1_… 40 … | mem:[from __ICFEDIT_region_IRAM2_start__ to __ICFEDIT_region_IRAM2_end__]; 41 define region ERAM_region = mem:[from __ICFEDIT_region_ERAM1_start__ to __ICFEDIT_region_ERAM1_… 42 … | mem:[from __ICFEDIT_region_ERAM2_start__ to __ICFEDIT_region_ERAM2_end__] 43 … | mem:[from __ICFEDIT_region_ERAM3_start__ to __ICFEDIT_region_ERAM3_end__]; [all …]
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ports/OpenAMP/open-amp/lib/remoteproc/ |
| A D | remoteproc.c | 43 if (!strncmp(name, mem->name, sizeof(mem->name))) in remoteproc_get_mem() 44 return mem; in remoteproc_get_mem() 51 return mem; in remoteproc_get_mem() 58 return mem; in remoteproc_get_mem() 76 pa = mem->pa + da - mem->da; in remoteproc_datopa() 85 da = mem->da + pa - mem->pa; in remoteproc_patoda() 280 if (mem) in remoteproc_get_io_with_name() 293 if (mem) in remoteproc_get_io_with_pa() 307 if (mem) { in remoteproc_get_io_with_da() 327 if (mem) in remoteproc_get_io_with_va() [all …]
|
| /bsp/stm32/stm32mp157a-st-discovery/board/ports/OpenAMP/open-amp/lib/remoteproc/ |
| A D | remoteproc.c | 43 if (!strncmp(name, mem->name, sizeof(mem->name))) in remoteproc_get_mem() 44 return mem; in remoteproc_get_mem() 51 return mem; in remoteproc_get_mem() 58 return mem; in remoteproc_get_mem() 76 pa = mem->pa + da - mem->da; in remoteproc_datopa() 85 da = mem->da + pa - mem->pa; in remoteproc_patoda() 280 if (mem) in remoteproc_get_io_with_name() 293 if (mem) in remoteproc_get_io_with_pa() 307 if (mem) { in remoteproc_get_io_with_da() 327 if (mem) in remoteproc_get_io_with_va() [all …]
|
| /bsp/nxp/mcx/mcxn/frdm-mcxn947/board/linker_scripts/ |
| A D | MCXN947_cm33_core0_flash.icf | 80 define memory mem with size = 4G; 83 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 84 | mem:[from m_text_start to m_text_end]; 87 | mem:[from m_text_start to m_text_end] 88 | mem:[from m_flash1_start to m_flash1_end]; 90 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__] 91 | mem:[from m_sramx_start to m_sramx_end]; 92 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 105 define region core1_region = mem:[from core1_image_start to core1_image_end]; 128 place at address mem: m_boot_flash_conf_start { readonly section .flexspi_fcb }; [all …]
|
| /bsp/ESP32_C3/ |
| A D | esp32c3.gpb | 7 mem 0x20000000 0x3fefffff ro cache 8 mem 0x3ff00000 0x3fffffff rw 9 mem 0x40000000 0x400fffff ro cache 10 mem 0x40100000 0x4013ffff rw cache 11 mem 0x40140000 0x5fffffff ro cache 12 mem 0x60000000 0x60001fff rw
|
| /bsp/tae32f5300/board/linker_scripts/ |
| A D | link.icf | 46 define memory mem with size = 4G; 47 define region ROM_region = mem:[from __ICFEDIT_region_IROM1_start__ to __ICFEDIT_region_I… 48 … | mem:[from __ICFEDIT_region_IROM2_start__ to __ICFEDIT_region_IROM2_end__]; 49 define region RAM_region = mem:[from __ICFEDIT_region_IRAM1_start__ to __ICFEDIT_region_I… 50 … | mem:[from __ICFEDIT_region_IRAM2_start__ to __ICFEDIT_region_IRAM2_end__] 51 … | mem:[from __ICFEDIT_region_IRAM3_start__ to __ICFEDIT_region_IRAM3_end__] 52 … | mem:[from __ICFEDIT_region_IRAM4_start__ to __ICFEDIT_region_IRAM4_end__] 53 … | mem:[from __ICFEDIT_region_IRAM5_start__ to __ICFEDIT_region_IRAM5_end__] 54 … | mem:[from __ICFEDIT_region_IRAM6_start__ to __ICFEDIT_region_IRAM6_end__]; 62 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
|
| /bsp/rx/ |
| A D | lnkr5f562n8.icf | 4 define memory mem with size = 4G; 6 define region ROM_region16 = mem:[from 0xFFFF8000 to 0xFFFFFFFF]; 7 define region RAM_region16 = mem:[from 0x00000004 to 0x00007FFF]; 8 define region ROM_region24 = mem:[from 0xFFF80000 to 0xFFFFFFFF]; 9 define region RAM_region24 = mem:[from 0x00000004 to 0x00017FFF]; 10 define region ROM_region32 = mem:[from 0xFFF80000 to 0xFFFFFFFF]; 11 define region RAM_region32 = mem:[from 0x00000004 to 0x00017FFF]; 12 define region DATA_FLASH_region = mem:[from 0x00100000 to 0x00107FFF]; 27 place at address mem:0xFFFFFF80 { ro section .nmivec };
|
| /bsp/nxp/imx/imxrt/imxrt1052-atk-commander/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/libraries/templates/imxrt1050xxx/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/libraries/templates/imxrt1064xxx/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/imxrt1052-fire-pro/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/imxrt1052-nxp-evk/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/imxrt1061-forlinx-OK1061-S/board/linker_scripts/ |
| A D | link.icf | 62 define memory mem with size = 4G; 63 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 64 | mem:[from m_text_start to m_text_end]; 66 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 67 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 68 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 79 place at address mem: m_interrupts_start { readonly section .intvec }; 81 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 82 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 83 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/imxrt1052-seeed-ArchMix/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/imxrt1064-nxp-evk/board/linker_scripts/ |
| A D | link.icf | 63 define memory mem with size = 4G; 64 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 65 | mem:[from m_text_start to m_text_end]; 67 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 68 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 69 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 80 place at address mem: m_interrupts_start { readonly section .intvec }; 82 place at address mem:m_boot_hdr_conf_start { section .boot_hdr.conf }; 83 place at address mem:m_boot_hdr_ivt_start { section .boot_hdr.ivt }; 84 place at address mem:m_boot_hdr_boot_data_start { readonly section .boot_hdr.boot_data }; [all …]
|
| /bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/board/linker_scripts/ |
| A D | link.icf | 77 define memory mem with size = 4G; 78 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 79 | mem:[from m_text_start to m_text_end]; 80 define region QACODE_region = mem:[from m_qacode_start to m_qacode_end]; 81 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 82 define region DATA2_region = mem:[from m_data2_start to m_data2_end]; 83 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 96 place at address mem: m_interrupts_start { readonly section .intvec }; 97 place at address mem: m_boot_hdr_conf_start { section .boot_hdr.conf }; 98 place at address mem: m_boot_hdr_ivt_start { section .boot_hdr.ivt }; [all …]
|
| /bsp/nxp/lpc/lpc408x/drivers/linker_scripts/ |
| A D | link.icf | 25 define memory mem with size = 4G; 26 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end_… 27 define region CRP_region = mem:[from __CRP_start__ to __CRP_end__]; 28 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end_… 29 define region SDRAM_region = mem:[from __ICFEDIT_region_SDRAM_start__ to __ICFEDIT_region_SDRAM_e… 30 define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__]; 39 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s16_nxp_evk/board/linker_scripts/ |
| A D | LPC55S16_flash.icf | 59 define memory mem with size = 4G; 61 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 62 | mem:[from m_text_start to m_text_end]; 63 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 64 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 66 define region rpmsg_sh_mem_region = mem:[from rpmsg_sh_mem_start to rpmsg_sh_mem_end]; 75 define region USB_BDT_region = mem:[from m_usb_sram_start to m_usb_sram_start + usb_bdt_size - 1]; 76 define region USB_SRAM_region = mem:[from m_usb_sram_start + usb_bdt_size to m_usb_sram_end]; 93 place at address mem: m_interrupts_start { readonly section .intvec };
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s28_nxp_evk/board/linker_scripts/ |
| A D | LPC55S28_flash.icf | 56 define memory mem with size = 4G; 58 define region TEXT_region = mem:[from m_interrupts_start to m_interrupts_end] 59 | mem:[from m_text_start to m_text_end]; 60 define region DATA_region = mem:[from m_data_start to m_data_end-__size_cstack__]; 61 define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_end]; 63 define region rpmsg_sh_mem_region = mem:[from rpmsg_sh_mem_start to rpmsg_sh_mem_end]; 73 define region USB_BDT_region = mem:[from m_usb_sram_start to m_usb_sram_start + usb_bdt_size - 1]; 74 define region USB_SRAM_region = mem:[from m_usb_sram_start + usb_bdt_size to m_usb_sram_end]; 91 place at address mem: m_interrupts_start { readonly section .intvec };
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ports/OpenAMP/open-amp/lib/include/openamp/ |
| A D | remoteproc.h | 547 remoteproc_init_mem(struct remoteproc_mem *mem, const char *name, in remoteproc_init_mem() argument 551 if (!mem) in remoteproc_init_mem() 554 strncpy(mem->name, name, sizeof(mem->name)); in remoteproc_init_mem() 556 mem->name[0] = 0; in remoteproc_init_mem() 557 mem->pa = pa; in remoteproc_init_mem() 558 mem->da = da; in remoteproc_init_mem() 559 mem->io = io; in remoteproc_init_mem() 560 mem->size = size; in remoteproc_init_mem() 572 remoteproc_add_mem(struct remoteproc *rproc, struct remoteproc_mem *mem) in remoteproc_add_mem() argument 574 if (!rproc || !mem) in remoteproc_add_mem() [all …]
|