Lines Matching refs:tmp
215 uint32_t tmp; in HAL_LTDC_Init() local
277 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
278 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
282 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
283 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
287 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
288 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
292 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
293 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
296 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
299 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init()
915 uint32_t tmp; in HAL_LTDC_ConfigCLUT() local
931 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
936 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
943 LTDC_LAYER(hltdc, LayerIdx)->CLUTWR = tmp; in HAL_LTDC_ConfigCLUT()
1407 uint32_t tmp; in HAL_LTDC_SetPitch() local
1425 tmp = 4U; in HAL_LTDC_SetPitch()
1429 tmp = 3U; in HAL_LTDC_SetPitch()
1436 tmp = 2U; in HAL_LTDC_SetPitch()
1440 tmp = 1U; in HAL_LTDC_SetPitch()
1443 pitchUpdate = ((LinePitchInPixels * tmp) << 16U); in HAL_LTDC_SetPitch()
1842 uint32_t tmp; in HAL_LTDC_SetPitch_NoReload() local
1860 tmp = 4U; in HAL_LTDC_SetPitch_NoReload()
1864 tmp = 3U; in HAL_LTDC_SetPitch_NoReload()
1871 tmp = 2U; in HAL_LTDC_SetPitch_NoReload()
1875 tmp = 1U; in HAL_LTDC_SetPitch_NoReload()
1878 pitchUpdate = ((LinePitchInPixels * tmp) << 16U); in HAL_LTDC_SetPitch_NoReload()
2128 uint32_t tmp; in LTDC_SetConfig() local
2133 tmp = ((pLayerCfg->WindowX1 + ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U)) << 16U); in LTDC_SetConfig()
2136 … ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U) + 1U) | tmp); in LTDC_SetConfig()
2139 tmp = ((pLayerCfg->WindowY1 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP)) << 16U); in LTDC_SetConfig()
2141 … LayerIdx)->WVPCR = ((pLayerCfg->WindowY0 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP) + 1U) | tmp); in LTDC_SetConfig()
2148 tmp = ((uint32_t)(pLayerCfg->Backcolor.Green) << 8U); in LTDC_SetConfig()
2153 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
2169 tmp = 4U; in LTDC_SetConfig()
2173 tmp = 3U; in LTDC_SetConfig()
2180 tmp = 2U; in LTDC_SetConfig()
2184 tmp = 1U; in LTDC_SetConfig()
2189 LTDC_LAYER(hltdc, LayerIdx)->CFBLR = (((pLayerCfg->ImageWidth * tmp) << 16U) | \ in LTDC_SetConfig()
2190 … (((pLayerCfg->WindowX1 - pLayerCfg->WindowX0) * tmp) + 3U)); in LTDC_SetConfig()