/Zephyr-latest/soc/ite/ec/it8xxx2/ |
D | ilm.c | 80 const void *flash_addr, const size_t copy_sz) in it8xxx2_configure_ilm_block() argument 92 if (((uintptr_t)flash_addr - FLASH_BASE) & ~GENMASK(19, 0)) { in it8xxx2_configure_ilm_block() 95 if (!is_block_aligned(flash_addr)) { in it8xxx2_configure_ilm_block() 100 LOG_DBG("Enabling ILM%d %p -> %p, copy %d", dirmap_index, flash_addr, ram_addr, copy_sz); in it8xxx2_configure_ilm_block() 109 memcpy(ram_addr, flash_addr, copy_sz); in it8xxx2_configure_ilm_block() 111 scar->l = (uintptr_t)flash_addr & GENMASK(7, 0); in it8xxx2_configure_ilm_block() 112 scar->m = ((uintptr_t)flash_addr & GENMASK(15, 8)) >> 8; in it8xxx2_configure_ilm_block() 114 uint8_t scarh_value = ((uintptr_t)flash_addr & GENMASK(18, 16)) >> 16; in it8xxx2_configure_ilm_block() 116 if ((uintptr_t)flash_addr & BIT(19)) { in it8xxx2_configure_ilm_block()
|
/Zephyr-latest/drivers/flash/ |
D | soc_flash_nrf.c | 330 .flash_addr = addr, in erase_synchronously() 351 .flash_addr = addr, in write_synchronously() 381 if (e_ctx->flash_addr == (off_t)NRF_UICR) { in erase_op() 398 if (e_ctx->flash_addr == e_ctx->flash_addr_next) { in erase_op() 399 nrfx_nvmc_page_partial_erase_init(e_ctx->flash_addr, in erase_op() 406 e_ctx->flash_addr += pg_size; in erase_op() 409 (void)nrfx_nvmc_page_erase(e_ctx->flash_addr); in erase_op() 411 e_ctx->flash_addr += pg_size; in erase_op() 434 w_ctx->flash_addr += shift; in shift_write_context() 452 if (!is_aligned_32(w_ctx->flash_addr)) { in write_op() [all …]
|
D | soc_flash_xmc4xxx.c | 75 uint32_t flash_addr = dev_config->base; in flash_xmc4xxx_write() local 91 flash_addr |= 0xc000000; in flash_xmc4xxx_write() 92 flash_addr += offset; in flash_xmc4xxx_write() 106 XMC_FLASH_ProgramPage((uint32_t *)flash_addr, src_ptr); in flash_xmc4xxx_write() 108 flash_addr += dev_config->parameters.write_block_size; in flash_xmc4xxx_write() 135 uint32_t flash_addr = dev_config->base | 0xc000000; in flash_xmc4xxx_erase() local 138 flash_addr += offset; in flash_xmc4xxx_erase() 140 XMC_FLASH_EraseSector((uint32_t *)flash_addr); in flash_xmc4xxx_erase()
|
D | soc_flash_nrf.h | 18 uint32_t flash_addr; /* Address of flash to write or erase. */ member
|
D | soc_flash_nrf_rram.c | 183 w_ctx->flash_addr += shift; in shift_write_context() 207 rram_write(w_ctx->flash_addr, (const void *)w_ctx->data_addr, len); in write_op() 229 .flash_addr = addr, in write_synchronously()
|
D | flash_cadence_qspi_nor_ll.c | 352 int cad_qspi_indirect_read_start_bank(struct cad_qspi_params *cad_params, uint32_t flash_addr, in cad_qspi_indirect_read_start_bank() argument 360 sys_write32(flash_addr, cad_params->reg_base + CAD_QSPI_INDRDSTADDR); in cad_qspi_indirect_read_start_bank() 368 int cad_qspi_indirect_write_start_bank(struct cad_qspi_params *cad_params, uint32_t flash_addr, in cad_qspi_indirect_write_start_bank() argument 376 sys_write32(flash_addr, cad_params->reg_base + CAD_QSPI_INDWRSTADDR); in cad_qspi_indirect_write_start_bank()
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | pyocd.py | 21 dev_id=None, flash_addr=0x0, erase=False, flash_opts=None, argument 37 self.flash_addr_args = ['-a', hex(flash_addr)] if flash_addr else [] 80 dev_id=True, flash_addr=True, erase=True, 119 flash_addr = cls.get_flash_address(args, build_conf) 124 flash_addr=flash_addr, erase=args.erase, flash_opts=args.flash_opt,
|
D | minichlink.py | 38 return RunnerCaps(commands={"flash"}, flash_addr=True, erase=True, reset=True) 80 flash_addr = 0 82 flash_addr = self.flash_address_from_build_conf(self.build_conf)
|
D | silabs_commander.py | 46 dev_id=True, flash_addr=True, erase=True, 95 flash_addr = self.flash_address_from_build_conf(self.build_conf) 97 flash_addr = 0
|
D | jlink.py | 97 dev_id=True, flash_addr=True, erase=True, reset=True, 361 flash_addr = self.flash_address_from_build_conf(self.build_conf) 363 flash_addr = 0 378 flash_addr = self.flash_address_from_build_conf(self.build_conf) 380 flash_addr = 0
|
D | xsdb.py | 34 return RunnerCaps(flash_addr=True)
|
D | spi_burn.py | 33 return RunnerCaps(commands={'flash', 'debug'}, erase=True, flash_addr=True)
|
D | dfu.py | 45 return RunnerCaps(commands={'flash'}, dev_id=True, flash_addr=True)
|
D | core.py | 308 flash_addr: bool = False variable in RunnerCaps 552 if caps.flash_addr: 653 if args.dt_flash and not caps.flash_addr:
|
D | linkserver.py | 65 dev_id=True, flash_addr=True, erase=True,
|
D | canopen_program.py | 86 return RunnerCaps(commands={'flash'}, dev_id=True, flash_addr=False)
|
/Zephyr-latest/samples/drivers/espi/src/ |
D | main.c | 545 saf_pkt.flash_addr = spi_addr; in saf_read() 565 saf_pkt.flash_addr += chunk_len; in saf_read() 600 saf_pkt.flash_addr = spi_addr; in saf_erase_block() 627 saf_pkt.flash_addr = spi_addr; in saf_page_prog() 646 saf_pkt.flash_addr += chunk_len; in saf_page_prog() 1046 uint32_t flash_addr = start_flash_adr; in read_test_block() local 1053 pckt.flash_addr = flash_addr; in read_test_block() 1063 flash_addr += MAX_FLASH_REQUEST; in read_test_block() 1073 uint32_t flash_addr = start_flash_adr; in write_test_block() local 1081 pckt.flash_addr = flash_addr; in write_test_block() [all …]
|
/Zephyr-latest/drivers/espi/ |
D | espi_taf_npcx.c | 100 uint32_t flash_addr = addr; in espi_taf_check_read_protect() local 106 flash_addr += FLBASE_ADDR; in espi_taf_check_read_protect() 116 (base <= flash_addr + len - 1 && flash_addr <= high)) { in espi_taf_check_read_protect() 130 uint32_t flash_addr = addr; in espi_taf_check_write_protect() local 136 flash_addr += FLBASE_ADDR; in espi_taf_check_write_protect() 146 (base <= flash_addr + len - 1 && flash_addr <= high)) { in espi_taf_check_write_protect() 332 uint32_t addr = pckt->flash_addr; in espi_taf_npcx_flash_read() 399 if (espi_taf_check_write_protect(dev, pckt->flash_addr, in espi_taf_npcx_flash_write() 405 rc = flash_write(spi_dev, pckt->flash_addr, data_ptr, pckt->len); in espi_taf_npcx_flash_write() 425 uint32_t addr = pckt->flash_addr; in espi_taf_npcx_flash_erase() [all …]
|
D | espi_npcx.c | 229 int flash_addr, int flash_len, int tx_payload); 1082 int cyc_type, int flash_addr, int flash_len, int tx_payload) in espi_npcx_flash_prepare_tx_header() argument 1107 inst->FLASHTXBUF[1] = sys_cpu_to_be32(flash_addr); in espi_npcx_flash_prepare_tx_header() 1203 pckt->flash_addr, in espi_npcx_flash_read() 1245 pckt->flash_addr, in espi_npcx_flash_write() 1297 pckt->flash_addr, in espi_npcx_flash_erase()
|
D | espi_it8xxx2.c | 1164 queue1_reg->UPSTREAM_DATA[0] = (pckt->flash_addr >> 24) & 0xff; in espi_it8xxx2_flash_trans() 1165 queue1_reg->UPSTREAM_DATA[1] = (pckt->flash_addr >> 16) & 0xff; in espi_it8xxx2_flash_trans() 1166 queue1_reg->UPSTREAM_DATA[2] = (pckt->flash_addr >> 8) & 0xff; in espi_it8xxx2_flash_trans() 1167 queue1_reg->UPSTREAM_DATA[3] = pckt->flash_addr & 0xff; in espi_it8xxx2_flash_trans()
|
D | espi_mchp_xec.c | 612 ESPI_FC_REGS->FL_ADDR_LSW = pckt->flash_addr; in espi_xec_flash_read() 668 ESPI_FC_REGS->FL_ADDR_LSW = pckt->flash_addr; in espi_xec_flash_write() 720 ESPI_FC_REGS->FL_ADDR_LSW = pckt->flash_addr; in espi_xec_flash_erase()
|
D | espi_mchp_xec_v2.c | 488 regs->FCFA[0] = pckt->flash_addr; in espi_xec_flash_read() 545 regs->FCFA[0] = pckt->flash_addr; in espi_xec_flash_write() 598 regs->FCFA[0] = pckt->flash_addr; in espi_xec_flash_erase()
|
/Zephyr-latest/scripts/west_commands/tests/ |
D | test_pyocd.py | 213 def test_flash_args(require, cc, bc, pyocd_args, flash_addr, expected, pyocd): argument 215 return_value=flash_addr):
|
/Zephyr-latest/include/zephyr/drivers/ |
D | espi_saf.h | 113 uint32_t flash_addr; member
|
D | espi.h | 398 uint32_t flash_addr; member
|