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()
922 uint32_t tmp; in HAL_LTDC_ConfigCLUT() local
938 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
943 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
950 LTDC_LAYER(hltdc, LayerIdx)->CLUTWR = tmp; in HAL_LTDC_ConfigCLUT()
1414 uint32_t tmp; in HAL_LTDC_SetPitch() local
1432 tmp = 4U; in HAL_LTDC_SetPitch()
1436 tmp = 3U; in HAL_LTDC_SetPitch()
1443 tmp = 2U; in HAL_LTDC_SetPitch()
1447 tmp = 1U; in HAL_LTDC_SetPitch()
1450 pitchUpdate = ((LinePitchInPixels * tmp) << 16U); in HAL_LTDC_SetPitch()
1849 uint32_t tmp; in HAL_LTDC_SetPitch_NoReload() local
1867 tmp = 4U; in HAL_LTDC_SetPitch_NoReload()
1871 tmp = 3U; in HAL_LTDC_SetPitch_NoReload()
1878 tmp = 2U; in HAL_LTDC_SetPitch_NoReload()
1882 tmp = 1U; in HAL_LTDC_SetPitch_NoReload()
1885 pitchUpdate = ((LinePitchInPixels * tmp) << 16U); in HAL_LTDC_SetPitch_NoReload()
2135 uint32_t tmp; in LTDC_SetConfig() local
2140 tmp = ((pLayerCfg->WindowX1 + ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U)) << 16U); in LTDC_SetConfig()
2143 … ((hltdc->Instance->BPCR & LTDC_BPCR_AHBP) >> 16U) + 1U) | tmp); in LTDC_SetConfig()
2146 tmp = ((pLayerCfg->WindowY1 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP)) << 16U); in LTDC_SetConfig()
2148 … LayerIdx)->WVPCR = ((pLayerCfg->WindowY0 + (hltdc->Instance->BPCR & LTDC_BPCR_AVBP) + 1U) | tmp); in LTDC_SetConfig()
2155 tmp = ((uint32_t)(pLayerCfg->Backcolor.Green) << 8U); in LTDC_SetConfig()
2158 WRITE_REG(LTDC_LAYER(hltdc, LayerIdx)->DCCR, (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2)); in LTDC_SetConfig()
2173 tmp = 4U; in LTDC_SetConfig()
2177 tmp = 3U; in LTDC_SetConfig()
2184 tmp = 2U; in LTDC_SetConfig()
2188 tmp = 1U; in LTDC_SetConfig()
2193 LTDC_LAYER(hltdc, LayerIdx)->CFBLR = (((pLayerCfg->ImageWidth * tmp) << 16U) | in LTDC_SetConfig()
2194 … (((pLayerCfg->WindowX1 - pLayerCfg->WindowX0) * tmp) + 7U)); in LTDC_SetConfig()