Lines Matching refs:nor_mode

560 	uint8_t nor_mode = dev_cfg->data_mode;  in stm32_ospi_mem_erased()  local
564 OSPI_RegularCmdTypeDef s_command = ospi_prepare_cmd(nor_mode, nor_rate); in stm32_ospi_mem_erased()
567 if (nor_mode == OSPI_OPI_MODE) { in stm32_ospi_mem_erased()
608 static int stm32_ospi_mem_ready(struct flash_stm32_ospi_data *dev_data, uint8_t nor_mode, in stm32_ospi_mem_ready() argument
613 OSPI_RegularCmdTypeDef s_command = ospi_prepare_cmd(nor_mode, nor_rate); in stm32_ospi_mem_ready()
616 if (nor_mode == OSPI_OPI_MODE) { in stm32_ospi_mem_ready()
652 uint8_t nor_mode, uint8_t nor_rate) in stm32_ospi_write_enable() argument
656 OSPI_RegularCmdTypeDef s_command = ospi_prepare_cmd(nor_mode, nor_rate); in stm32_ospi_write_enable()
659 if (nor_mode == OSPI_OPI_MODE) { in stm32_ospi_write_enable()
676 if (nor_mode == OSPI_OPI_MODE) { in stm32_ospi_write_enable()
712 uint8_t nor_mode, uint8_t nor_rate) in stm32_ospi_write_cfg2reg_dummy() argument
715 OSPI_RegularCmdTypeDef s_command = ospi_prepare_cmd(nor_mode, nor_rate); in stm32_ospi_write_cfg2reg_dummy()
718 s_command.Instruction = (nor_mode == OSPI_SPI_MODE) in stm32_ospi_write_cfg2reg_dummy()
723 s_command.NbData = (nor_mode == OSPI_SPI_MODE) ? 1U in stm32_ospi_write_cfg2reg_dummy()
743 uint8_t nor_mode, uint8_t nor_rate, uint8_t op_enable) in stm32_ospi_write_cfg2reg_io() argument
745 OSPI_RegularCmdTypeDef s_command = ospi_prepare_cmd(nor_mode, nor_rate); in stm32_ospi_write_cfg2reg_io()
748 s_command.Instruction = (nor_mode == OSPI_SPI_MODE) in stm32_ospi_write_cfg2reg_io()
753 s_command.NbData = (nor_mode == OSPI_SPI_MODE) ? 1U in stm32_ospi_write_cfg2reg_io()
773 uint8_t nor_mode, uint8_t nor_rate, uint8_t *value) in stm32_ospi_read_cfg2reg() argument
775 OSPI_RegularCmdTypeDef s_command = ospi_prepare_cmd(nor_mode, nor_rate); in stm32_ospi_read_cfg2reg()
778 s_command.Instruction = (nor_mode == OSPI_SPI_MODE) in stm32_ospi_read_cfg2reg()
782 s_command.DummyCycles = (nor_mode == OSPI_SPI_MODE) in stm32_ospi_read_cfg2reg()