Lines Matching refs:tmp

221   uint32_t tmp;  in HAL_LTDC_Init()  local
283 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
284 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
288 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
289 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
293 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
294 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
298 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
299 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
302 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
305 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init()
921 uint32_t tmp; in HAL_LTDC_ConfigCLUT() local
937 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
942 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
949 LTDC_LAYER(hltdc, LayerIdx)->CLUTWR = tmp; in HAL_LTDC_ConfigCLUT()
1413 uint32_t tmp; in HAL_LTDC_SetPitch() local
1431 tmp = 4U; in HAL_LTDC_SetPitch()
1435 tmp = 3U; in HAL_LTDC_SetPitch()
1442 tmp = 2U; in HAL_LTDC_SetPitch()
1446 tmp = 1U; in HAL_LTDC_SetPitch()
1449 pitchUpdate = ((LinePitchInPixels * tmp) << 16U); in HAL_LTDC_SetPitch()
1848 uint32_t tmp; in HAL_LTDC_SetPitch_NoReload() local
1866 tmp = 4U; in HAL_LTDC_SetPitch_NoReload()
1870 tmp = 3U; in HAL_LTDC_SetPitch_NoReload()
1877 tmp = 2U; in HAL_LTDC_SetPitch_NoReload()
1881 tmp = 1U; in HAL_LTDC_SetPitch_NoReload()
1884 pitchUpdate = ((LinePitchInPixels * tmp) << 16U); in HAL_LTDC_SetPitch_NoReload()
2134 uint32_t tmp; in LTDC_SetConfig() local
2139 tmp = ((pLayerCfg->WindowX1 + ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U)) << 16U); in LTDC_SetConfig()
2142 … ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U) + 1U) | tmp); in LTDC_SetConfig()
2145 tmp = ((pLayerCfg->WindowY1 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP)) << 16U); in LTDC_SetConfig()
2147 … LayerIdx)->WVPCR = ((pLayerCfg->WindowY0 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP) + 1U) | tmp); in LTDC_SetConfig()
2154 tmp = ((uint32_t)(pLayerCfg->Backcolor.Green) << 8U); in LTDC_SetConfig()
2159 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
2175 tmp = 4U; in LTDC_SetConfig()
2179 tmp = 3U; in LTDC_SetConfig()
2186 tmp = 2U; in LTDC_SetConfig()
2190 tmp = 1U; in LTDC_SetConfig()
2195 LTDC_LAYER(hltdc, LayerIdx)->CFBLR = (((pLayerCfg->ImageWidth * tmp) << 16U) | \ in LTDC_SetConfig()
2196 … (((pLayerCfg->WindowX1 - pLayerCfg->WindowX0) * tmp) + 3U)); in LTDC_SetConfig()