Lines Matching refs:cmd_erase
1018 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()
1083 cmd_erase.AddressWidth = stm32_xspi_hal_address_size(dev); in flash_stm32_xspi_erase()
1084 cmd_erase.Address = addr; in flash_stm32_xspi_erase()
1101 cmd_erase.Instruction = bet->cmd; in flash_stm32_xspi_erase()
1105 cmd_erase.Instruction = SPI_NOR_OCMD_SE; in flash_stm32_xspi_erase()
1107 cmd_erase.Instruction = in flash_stm32_xspi_erase()
1120 cmd_erase.Address, cmd_erase.AddressWidth, in flash_stm32_xspi_erase()
1121 cmd_erase.AddressMode, cmd_erase.Instruction); in flash_stm32_xspi_erase()
1123 xspi_send_cmd(dev, &cmd_erase); in flash_stm32_xspi_erase()