Lines Matching refs:vcfg

238 	DSI_VidCfgTypeDef *vcfg = &data->vid_cfg;  in mipi_dsi_stm32_attach()  local
246 vcfg->VirtualChannelID = channel; in mipi_dsi_stm32_attach()
247 vcfg->ColorCoding = STM32_DSI_INIT_PIXEL_FORMAT; in mipi_dsi_stm32_attach()
250 vcfg->Mode = DSI_VID_MODE_BURST; in mipi_dsi_stm32_attach()
252 vcfg->Mode = DSI_VID_MODE_NB_PULSES; in mipi_dsi_stm32_attach()
254 vcfg->Mode = DSI_VID_MODE_NB_EVENTS; in mipi_dsi_stm32_attach()
257 vcfg->PacketSize = mdev->timings.hactive; in mipi_dsi_stm32_attach()
258 vcfg->NumberOfChunks = 0; in mipi_dsi_stm32_attach()
259 vcfg->NullPacketSize = 0xFFFU; in mipi_dsi_stm32_attach()
261 vcfg->HorizontalSyncActive = in mipi_dsi_stm32_attach()
263 vcfg->HorizontalBackPorch = in mipi_dsi_stm32_attach()
265 vcfg->HorizontalLine = in mipi_dsi_stm32_attach()
268 vcfg->VerticalSyncActive = mdev->timings.vsync; in mipi_dsi_stm32_attach()
269 vcfg->VerticalBackPorch = mdev->timings.vbp; in mipi_dsi_stm32_attach()
270 vcfg->VerticalFrontPorch = mdev->timings.vfp; in mipi_dsi_stm32_attach()
271 vcfg->VerticalActive = mdev->timings.vactive; in mipi_dsi_stm32_attach()
274 vcfg->LPCommandEnable = DSI_LP_COMMAND_ENABLE; in mipi_dsi_stm32_attach()
276 vcfg->LPCommandEnable = DSI_LP_COMMAND_DISABLE; in mipi_dsi_stm32_attach()
279 vcfg->LPHorizontalFrontPorchEnable = DSI_LP_HFP_ENABLE; in mipi_dsi_stm32_attach()
280 vcfg->LPHorizontalBackPorchEnable = DSI_LP_HBP_ENABLE; in mipi_dsi_stm32_attach()
281 vcfg->LPVerticalActiveEnable = DSI_LP_VACT_ENABLE; in mipi_dsi_stm32_attach()
282 vcfg->LPVerticalFrontPorchEnable = DSI_LP_VFP_ENABLE; in mipi_dsi_stm32_attach()
283 vcfg->LPVerticalBackPorchEnable = DSI_LP_VBP_ENABLE; in mipi_dsi_stm32_attach()
284 vcfg->LPVerticalSyncActiveEnable = DSI_LP_VSYNC_ENABLE; in mipi_dsi_stm32_attach()
286 ret = HAL_DSI_ConfigVideoMode(&data->hdsi, vcfg); in mipi_dsi_stm32_attach()