Lines Matching refs:u16GammaValue
461 MS_U16 u16GammaValue = 0; in Hal_PNL_Set12BitGammaPerChannel_SC2() local
500 u16GammaValue = u8Tab[u16CodeTableIndex] & 0x0F; in Hal_PNL_Set12BitGammaPerChannel_SC2()
501 u16GammaValue |= u8Tab[u16CodeTableIndex+1] << 4; in Hal_PNL_Set12BitGammaPerChannel_SC2()
504 …[u16CodeTableIndex], u16CodeTableIndex+1, u8Tab[u16CodeTableIndex+1], u16GammaValue, u16NumOfLevel… in Hal_PNL_Set12BitGammaPerChannel_SC2()
506 if(u16MaxGammaValue < u16GammaValue) in Hal_PNL_Set12BitGammaPerChannel_SC2()
508 u16MaxGammaValue = u16GammaValue; in Hal_PNL_Set12BitGammaPerChannel_SC2()
512 hal_PNL_WriteGamma12Bit(pInstance,u8Channel,bUsingBurstWrite, u16Addr, u16GammaValue); in Hal_PNL_Set12BitGammaPerChannel_SC2()
516 u16GammaValue = (u8Tab[u16CodeTableIndex] & 0xF0) >> 4; in Hal_PNL_Set12BitGammaPerChannel_SC2()
517 u16GammaValue |= u8Tab[u16CodeTableIndex+2] << 4; in Hal_PNL_Set12BitGammaPerChannel_SC2()
519 …leIndex, u8Tab[u16CodeTableIndex], u16CodeTableIndex+2, u8Tab[u16CodeTableIndex+2], u16GammaValue); in Hal_PNL_Set12BitGammaPerChannel_SC2()
521 if(u16MaxGammaValue < u16GammaValue) in Hal_PNL_Set12BitGammaPerChannel_SC2()
523 u16MaxGammaValue = u16GammaValue; in Hal_PNL_Set12BitGammaPerChannel_SC2()
527 hal_PNL_WriteGamma12Bit(pInstance,u8Channel,bUsingBurstWrite, u16Addr, u16GammaValue); in Hal_PNL_Set12BitGammaPerChannel_SC2()
542 …lGamma(void *pInstance, MS_U8 u8Channel, MS_BOOL bBurstWrite, MS_U16 u16Addr, MS_U16 u16GammaValue) in _hal_PNL_WriteGamma12Bit_PanelGamma() argument
549 …NL_DBG(PNL_DBGLEVEL_GAMMA, "Write [ch %d][addr 0x%x]: 0x%x \n", u8Channel, u16Addr, u16GammaValue); in _hal_PNL_WriteGamma12Bit_PanelGamma()
557 …(pPNLInstancePrivate->u32DeviceID, (REG_SC_BK24_1D_L + u8Channel *2), u16GammaValue, 0xFFF); … in _hal_PNL_WriteGamma12Bit_PanelGamma()
581 SC_W2BYTEMSK(pPNLInstancePrivate->u32DeviceID,REG_SC_BK24_1D_L, u16GammaValue, 0xFFF); in _hal_PNL_WriteGamma12Bit_PanelGamma()
615 MS_U16 u16GammaValue = 0; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma() local
654 u16GammaValue = u8Tab[u16CodeTableIndex] & 0x0F; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
655 u16GammaValue |= u8Tab[u16CodeTableIndex+1] << 4; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
658 …[u16CodeTableIndex], u16CodeTableIndex+1, u8Tab[u16CodeTableIndex+1], u16GammaValue, u16NumOfLevel… in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
660 if(u16MaxGammaValue < u16GammaValue) in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
662 u16MaxGammaValue = u16GammaValue; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
666 … _hal_PNL_WriteGamma12Bit_PanelGamma(pInstance,u8Channel,bUsingBurstWrite, u16Addr, u16GammaValue); in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
670 u16GammaValue = (u8Tab[u16CodeTableIndex] & 0xF0) >> 4; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
671 u16GammaValue |= u8Tab[u16CodeTableIndex+2] << 4; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
673 …leIndex, u8Tab[u16CodeTableIndex], u16CodeTableIndex+2, u8Tab[u16CodeTableIndex+2], u16GammaValue); in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
675 if(u16MaxGammaValue < u16GammaValue) in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
677 u16MaxGammaValue = u16GammaValue; in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
681 … _hal_PNL_WriteGamma12Bit_PanelGamma(pInstance,u8Channel,bUsingBurstWrite, u16Addr, u16GammaValue); in _Hal_PNL_Set12BitGammaPerChannel_PanelGamma()
695 …a12Bit(void *pInstance, MS_U8 u8Channel, MS_BOOL bBurstWrite, MS_U16 u16Addr, MS_U16 u16GammaValue) in _hal_PNL_WriteGamma12Bit() argument
702 …NL_DBG(PNL_DBGLEVEL_GAMMA, "Write [ch %d][addr 0x%x]: 0x%x \n", u8Channel, u16Addr, u16GammaValue); in _hal_PNL_WriteGamma12Bit()
710 …(pPNLInstancePrivate->u32DeviceID, (REG_SC_BK10_6E_L + u8Channel *2), u16GammaValue, 0xFFF); … in _hal_PNL_WriteGamma12Bit()
733 SC_W2BYTEMSK(pPNLInstancePrivate->u32DeviceID,REG_SC_BK10_72_L, u16GammaValue, 0xFFF); in _hal_PNL_WriteGamma12Bit()
810 MS_U16 u16GammaValue = 0; in _Hal_PNL_Set12BitGammaPerChannel() local
847 u16GammaValue = u8Tab[u16CodeTableIndex] & 0x0F; in _Hal_PNL_Set12BitGammaPerChannel()
848 u16GammaValue |= u8Tab[u16CodeTableIndex+1] << 4; in _Hal_PNL_Set12BitGammaPerChannel()
851 …[u16CodeTableIndex], u16CodeTableIndex+1, u8Tab[u16CodeTableIndex+1], u16GammaValue, u16NumOfLevel… in _Hal_PNL_Set12BitGammaPerChannel()
853 if(u16MaxGammaValue < u16GammaValue) in _Hal_PNL_Set12BitGammaPerChannel()
855 u16MaxGammaValue = u16GammaValue; in _Hal_PNL_Set12BitGammaPerChannel()
859 _hal_PNL_WriteGamma12Bit(pInstance,u8Channel,bUsingBurstWrite, u16Addr, u16GammaValue); in _Hal_PNL_Set12BitGammaPerChannel()
863 u16GammaValue = (u8Tab[u16CodeTableIndex] & 0xF0) >> 4; in _Hal_PNL_Set12BitGammaPerChannel()
864 u16GammaValue |= u8Tab[u16CodeTableIndex+2] << 4; in _Hal_PNL_Set12BitGammaPerChannel()
866 …leIndex, u8Tab[u16CodeTableIndex], u16CodeTableIndex+2, u8Tab[u16CodeTableIndex+2], u16GammaValue); in _Hal_PNL_Set12BitGammaPerChannel()
868 if(u16MaxGammaValue < u16GammaValue) in _Hal_PNL_Set12BitGammaPerChannel()
870 u16MaxGammaValue = u16GammaValue; in _Hal_PNL_Set12BitGammaPerChannel()
874 _hal_PNL_WriteGamma12Bit(pInstance,u8Channel,bUsingBurstWrite, u16Addr, u16GammaValue); in _Hal_PNL_Set12BitGammaPerChannel()
887 …a12Bit(void *pInstance, MS_U8 u8Channel, MS_BOOL bBurstWrite, MS_U16 u16Addr, MS_U16 u16GammaValue) in hal_PNL_WriteGamma12Bit() argument
890 … _hal_PNL_WriteGamma12Bit_PanelGamma(pInstance, u8Channel, bBurstWrite, u16Addr, u16GammaValue); in hal_PNL_WriteGamma12Bit()
892 _hal_PNL_WriteGamma12Bit(pInstance, u8Channel, bBurstWrite, u16Addr, u16GammaValue); in hal_PNL_WriteGamma12Bit()