Lines Matching refs:layerIndex

266 void LCDIFV2_SetCscMode(LCDIFV2_Type *base, uint8_t layerIndex, lcdifv2_csc_mode_t mode)  in LCDIFV2_SetCscMode()  argument
268 assert(layerIndex < (uint32_t)LCDIFV2_LAYER_CSC_COUNT); in LCDIFV2_SetCscMode()
280 …base->LAYER[layerIndex].CSC_COEF0 = LCDIFV2_CSC_COEF0_ENABLE_MASK | LCDIFV2_CSC_COEF0_C0(0x100U) /… in LCDIFV2_SetCscMode()
284 base->LAYER[layerIndex].CSC_COEF1 = LCDIFV2_CSC_COEF1_C1(0x0123U) /* 1.140. */ in LCDIFV2_SetCscMode()
286 base->LAYER[layerIndex].CSC_COEF2 = LCDIFV2_CSC_COEF2_C2(0x076BU) /* -0.851. */ in LCDIFV2_SetCscMode()
291 …base->LAYER[layerIndex].CSC_COEF0 = LCDIFV2_CSC_COEF0_ENABLE_MASK | LCDIFV2_CSC_COEF0_YCBCR_MODE_M… in LCDIFV2_SetCscMode()
295 base->LAYER[layerIndex].CSC_COEF1 = LCDIFV2_CSC_COEF1_C1(0x0198U) /* 1.596. */ in LCDIFV2_SetCscMode()
297 base->LAYER[layerIndex].CSC_COEF2 = LCDIFV2_CSC_COEF2_C2(0x0730U) /* -0.813. */ in LCDIFV2_SetCscMode()
302 base->LAYER[layerIndex].CSC_COEF0 = 0U; in LCDIFV2_SetCscMode()
303 base->LAYER[layerIndex].CSC_COEF1 = 0U; in LCDIFV2_SetCscMode()
304 base->LAYER[layerIndex].CSC_COEF2 = 0U; in LCDIFV2_SetCscMode()
315 void LCDIFV2_SetLayerBufferConfig(LCDIFV2_Type *base, uint8_t layerIndex, const lcdifv2_buffer_conf… in LCDIFV2_SetLayerBufferConfig() argument
320 base->LAYER[layerIndex].CTRLDESCL3 = config->strideBytes; in LCDIFV2_SetLayerBufferConfig()
322 reg = base->LAYER[layerIndex].CTRLDESCL5; in LCDIFV2_SetLayerBufferConfig()
330 base->LAYER[layerIndex].CTRLDESCL5 = reg; in LCDIFV2_SetLayerBufferConfig()
349 …LCDIFV2_Type *base, uint8_t layerIndex, const uint32_t *lutData, uint16_t count, bool useShadowLoa… in LCDIFV2_SetLut() argument
365 …base->CLUT_LOAD = LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM(layerIndex) | LCDIFV2_CLUT_LOAD_CLUT_UPDATE_EN_MA… in LCDIFV2_SetLut()
369 base->CLUT_LOAD = LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM(layerIndex); in LCDIFV2_SetLut()
374 (LCDIFV2_LUT_MEM(base))[i + LCDIFV2_LUT_ENTRY_NUM * layerIndex] = lutData[i]; in LCDIFV2_SetLut()
390 void LCDIFV2_SetLayerBlendConfig(LCDIFV2_Type *base, uint8_t layerIndex, const lcdifv2_blend_config… in LCDIFV2_SetLayerBlendConfig() argument
396 reg = base->LAYER[layerIndex].CTRLDESCL5; in LCDIFV2_SetLayerBlendConfig()
413 base->LAYER[layerIndex].CTRLDESCL5 = reg; in LCDIFV2_SetLayerBlendConfig()