Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_stm32_xspi.c1018 XSPI_RegularCmdTypeDef cmd_erase = { in flash_stm32_xspi_erase() local
1033 cmd_erase.InstructionMode = (dev_cfg->data_mode == XSPI_OCTO_MODE) in flash_stm32_xspi_erase()
1036 cmd_erase.InstructionDTRMode = (dev_cfg->data_rate == XSPI_DTR_TRANSFER) in flash_stm32_xspi_erase()
1039 cmd_erase.InstructionWidth = (dev_cfg->data_mode == XSPI_OCTO_MODE) in flash_stm32_xspi_erase()
1056 cmd_erase.Address = 0; in flash_stm32_xspi_erase()
1057 cmd_erase.Instruction = (dev_cfg->data_mode == XSPI_OCTO_MODE) in flash_stm32_xspi_erase()
1060 cmd_erase.AddressMode = HAL_XSPI_ADDRESS_NONE; in flash_stm32_xspi_erase()
1062 xspi_send_cmd(dev, &cmd_erase); in flash_stm32_xspi_erase()
1075 cmd_erase.AddressMode = in flash_stm32_xspi_erase()
1079 cmd_erase.AddressDTRMode = in flash_stm32_xspi_erase()
[all …]
Dflash_stm32_ospi.c1190 OSPI_RegularCmdTypeDef cmd_erase = { in flash_stm32_ospi_erase() local
1207 cmd_erase.InstructionMode = (dev_cfg->data_mode == OSPI_OPI_MODE) in flash_stm32_ospi_erase()
1210 cmd_erase.InstructionDtrMode = (dev_cfg->data_rate == OSPI_DTR_TRANSFER) in flash_stm32_ospi_erase()
1213 cmd_erase.InstructionSize = (dev_cfg->data_mode == OSPI_OPI_MODE) in flash_stm32_ospi_erase()
1230 cmd_erase.Address = 0; in flash_stm32_ospi_erase()
1231 cmd_erase.Instruction = (dev_cfg->data_mode == OSPI_OPI_MODE) in flash_stm32_ospi_erase()
1234 cmd_erase.AddressMode = HAL_OSPI_ADDRESS_NONE; in flash_stm32_ospi_erase()
1236 ospi_send_cmd(dev, &cmd_erase); in flash_stm32_ospi_erase()
1249 cmd_erase.AddressMode = in flash_stm32_ospi_erase()
1253 cmd_erase.AddressDtrMode = in flash_stm32_ospi_erase()
[all …]
Dflash_ite_it8xxx2.c322 uint8_t cmd_erase[] = {cmd, ((addr >> 16) & 0xFF), in ramcode_flash_cmd_erase() local
328 ramcode_flash_transaction(sizeof(cmd_erase), cmd_erase, 0, NULL, CMD_END); in ramcode_flash_cmd_erase()
Dflash_stm32_qspi.c676 QSPI_CommandTypeDef cmd_erase = { in flash_stm32_qspi_erase() local
682 qspi_set_address_size(dev, &cmd_erase); in flash_stm32_qspi_erase()
697 cmd_erase.Address = addr; in flash_stm32_qspi_erase()
702 cmd_erase.Instruction = SPI_NOR_CMD_CE; in flash_stm32_qspi_erase()
703 cmd_erase.AddressMode = QSPI_ADDRESS_NONE; in flash_stm32_qspi_erase()
704 qspi_send_cmd(dev, &cmd_erase); in flash_stm32_qspi_erase()
722 cmd_erase.Instruction = bet->cmd; in flash_stm32_qspi_erase()
726 qspi_send_cmd(dev, &cmd_erase); in flash_stm32_qspi_erase()
Dflash_shell.c88 static int cmd_erase(const struct shell *sh, size_t argc, char *argv[]) in cmd_erase() function
755 cmd_erase, 2, 2),
/Zephyr-latest/scripts/west_commands/runners/
Desp32.py114 cmd_erase = cmd_flash + ['erase_flash']
115 self.check_call(cmd_erase)