Lines Matching refs:cmd_erase
1190 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()
1257 cmd_erase.AddressSize = stm32_ospi_hal_address_size(dev); in flash_stm32_ospi_erase()
1258 cmd_erase.Address = addr; in flash_stm32_ospi_erase()
1275 cmd_erase.Instruction = bet->cmd; in flash_stm32_ospi_erase()
1279 cmd_erase.Instruction = SPI_NOR_OCMD_SE; in flash_stm32_ospi_erase()
1281 cmd_erase.Instruction = in flash_stm32_ospi_erase()
1294 cmd_erase.Address, cmd_erase.AddressSize, in flash_stm32_ospi_erase()
1295 cmd_erase.AddressMode, cmd_erase.Instruction); in flash_stm32_ospi_erase()
1297 ospi_send_cmd(dev, &cmd_erase); in flash_stm32_ospi_erase()