Lines Matching refs:Init
856 dev_data->hospi.Init.MemoryType = HAL_OSPI_MEMTYPE_MACRONIX; in stm32_ospi_config_mem()
857 dev_data->hospi.Init.DelayHoldQuarterCycle = HAL_OSPI_DHQC_ENABLE; in stm32_ospi_config_mem()
2176 hdma.Init.BlkHWRequest = DMA_BREQ_SINGLE_BURST; in flash_stm32_ospi_init()
2177 hdma.Init.SrcInc = DMA_SINC_FIXED; in flash_stm32_ospi_init()
2178 hdma.Init.DestInc = DMA_DINC_INCREMENTED; in flash_stm32_ospi_init()
2179 hdma.Init.SrcDataWidth = table_src_size[index]; in flash_stm32_ospi_init()
2180 hdma.Init.DestDataWidth = table_dest_size[index]; in flash_stm32_ospi_init()
2181 hdma.Init.SrcBurstLength = 4; in flash_stm32_ospi_init()
2182 hdma.Init.DestBurstLength = 4; in flash_stm32_ospi_init()
2183 hdma.Init.TransferAllocatedPort = DMA_SRC_ALLOCATED_PORT0 | DMA_DEST_ALLOCATED_PORT1; in flash_stm32_ospi_init()
2184 hdma.Init.TransferEventMode = DMA_TCEM_BLOCK_TRANSFER; in flash_stm32_ospi_init()
2186 hdma.Init.PeriphDataAlignment = table_p_size[index]; in flash_stm32_ospi_init()
2187 hdma.Init.MemDataAlignment = table_m_size[index]; in flash_stm32_ospi_init()
2188 hdma.Init.PeriphInc = DMA_PINC_DISABLE; in flash_stm32_ospi_init()
2189 hdma.Init.MemInc = DMA_MINC_ENABLE; in flash_stm32_ospi_init()
2191 hdma.Init.Mode = DMA_NORMAL; in flash_stm32_ospi_init()
2192 hdma.Init.Priority = table_priority[dma_cfg.channel_priority]; in flash_stm32_ospi_init()
2193 hdma.Init.Direction = DMA_PERIPH_TO_MEMORY; in flash_stm32_ospi_init()
2196 hdma.Init.Channel = dma_cfg.dma_slot; in flash_stm32_ospi_init()
2200 hdma.Init.Request = dma_cfg.dma_slot; in flash_stm32_ospi_init()
2274 dev_data->hospi.Init.FifoThreshold = 4; in flash_stm32_ospi_init()
2275 dev_data->hospi.Init.ClockPrescaler = prescaler; in flash_stm32_ospi_init()
2278 dev_data->hospi.Init.DeviceSize = find_lsb_set(dev_cfg->flash_size) - 2; in flash_stm32_ospi_init()
2281 dev_data->hospi.Init.DeviceSize = find_lsb_set(dev_cfg->flash_size) - 1; in flash_stm32_ospi_init()
2283 dev_data->hospi.Init.DualQuad = HAL_OSPI_DUALQUAD_DISABLE; in flash_stm32_ospi_init()
2284 dev_data->hospi.Init.ChipSelectHighTime = 2; in flash_stm32_ospi_init()
2285 dev_data->hospi.Init.FreeRunningClock = HAL_OSPI_FREERUNCLK_DISABLE; in flash_stm32_ospi_init()
2286 dev_data->hospi.Init.ClockMode = HAL_OSPI_CLOCK_MODE_0; in flash_stm32_ospi_init()
2288 dev_data->hospi.Init.WrapSize = HAL_OSPI_WRAP_NOT_SUPPORTED; in flash_stm32_ospi_init()
2292 dev_data->hospi.Init.MemoryType = HAL_OSPI_MEMTYPE_MACRONIX; in flash_stm32_ospi_init()
2293 dev_data->hospi.Init.DelayHoldQuarterCycle = HAL_OSPI_DHQC_ENABLE; in flash_stm32_ospi_init()
2295 dev_data->hospi.Init.MemoryType = HAL_OSPI_MEMTYPE_MICRON; in flash_stm32_ospi_init()
2296 dev_data->hospi.Init.DelayHoldQuarterCycle = HAL_OSPI_DHQC_DISABLE; in flash_stm32_ospi_init()
2298 dev_data->hospi.Init.ChipSelectBoundary = 0; in flash_stm32_ospi_init()
2300 dev_data->hospi.Init.DelayBlockBypass = HAL_OSPI_DELAY_BLOCK_BYPASSED; in flash_stm32_ospi_init()
2302 dev_data->hospi.Init.DelayBlockBypass = HAL_OSPI_DELAY_BLOCK_USED; in flash_stm32_ospi_init()
2305 dev_data->hospi.Init.Refresh = 0; in flash_stm32_ospi_init()
2612 .Init = {