/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_core.h | 62 enum color_depth { COLOR_6, COLOR_8, COLOR_10, COLOR_12 }; enum 94 enum color_depth color_depth; member
|
H A D | analogix_dp_core.c | 1582 video->color_depth = COLOR_12; in analogix_dp_bridge_mode_set() 1585 video->color_depth = COLOR_10; in analogix_dp_bridge_mode_set() 1588 video->color_depth = COLOR_8; in analogix_dp_bridge_mode_set() 1591 video->color_depth = COLOR_6; in analogix_dp_bridge_mode_set() 1594 video->color_depth = COLOR_8; in analogix_dp_bridge_mode_set() 1615 of_property_read_u32(dp_node, "samsung,color-depth", &video->color_depth); in analogix_dp_bridge_mode_set()
|
H A D | analogix_dp_reg.c | 777 reg = (dp->video_info.dynamic_range << IN_D_RANGE_SHIFT) | (dp->video_info.color_depth << IN_BPC_SHIFT) | in analogix_dp_set_video_color_format()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_frl.c | 89 hi_s32 color_depth;
in deep_clolor_convert_to_color_depth() local 93 color_depth = DFM_COLOR_DEPTH_8;
in deep_clolor_convert_to_color_depth() 96 color_depth = DFM_COLOR_DEPTH_10;
in deep_clolor_convert_to_color_depth() 99 color_depth = DFM_COLOR_DEPTH_12;
in deep_clolor_convert_to_color_depth() 102 color_depth = DFM_COLOR_DEPTH_16;
in deep_clolor_convert_to_color_depth() 105 color_depth = DFM_COLOR_DEPTH_8;
in deep_clolor_convert_to_color_depth() 109 return color_depth;
in deep_clolor_convert_to_color_depth() 217 dfm->color_depth = deep_clolor_convert_to_color_depth(app_attr->deep_color_mode);
in frl_dfm_construct()
|
H A D | drv_hdmi_dfm.h | 97 hi_s32 color_depth;
member
|
H A D | drv_hdmi_dfm.c | 202 kcd = get_kcd(in->pixel_format, in->color_depth);
in dfm_info_init()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | dw_hdmi-rockchip.c | 1700 unsigned int color_depth; in dw_hdmi_rockchip_select_output() local 1767 color_depth = 0xa; in dw_hdmi_rockchip_select_output() 1769 color_depth = 0x8; in dw_hdmi_rockchip_select_output() 1774 color_depth = 0x8; in dw_hdmi_rockchip_select_output() 1799 color_depth = 0xa; in dw_hdmi_rockchip_select_output() 1820 if (*color_format == DRM_HDMI_OUTPUT_YCBCR422 || color_depth == 0x8) { in dw_hdmi_rockchip_select_output() 1823 tmdsclock = pixclock * (color_depth) / 0x8; in dw_hdmi_rockchip_select_output() 1838 color_depth = 0x8; in dw_hdmi_rockchip_select_output() 1844 color_depth = 0x8; in dw_hdmi_rockchip_select_output() 1857 if (color_depth > in dw_hdmi_rockchip_select_output() 1928 int color_depth; dw_hdmi_rockchip_encoder_atomic_check() local [all...] |
H A D | cdn-dp-core.h | 43 int color_depth; member
|
H A D | dw-mipi-dsi2-rockchip.c | 670 u32 val, color_depth; in dw_mipi_dsi2_ipi_color_coding_cfg() local 675 color_depth = IPI_DEPTH_6_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg() 678 color_depth = IPI_DEPTH_5_6_5_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg() 682 color_depth = IPI_DEPTH_8_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg() 686 val = IPI_DEPTH(color_depth) | IPI_FORMAT(dsi2->dsc_enable ? IPI_FORMAT_DSC : IPI_FORMAT_RGB); in dw_mipi_dsi2_ipi_color_coding_cfg() 688 grf_field_write(dsi2, IPI_COLOR_DEPTH, color_depth); in dw_mipi_dsi2_ipi_color_coding_cfg()
|
H A D | cdn-dp-core.c | 518 video->color_depth = 0xa; in cdn_dp_encoder_mode_set() 521 video->color_depth = 0x6; in cdn_dp_encoder_mode_set() 524 video->color_depth = 0x8; in cdn_dp_encoder_mode_set()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi2-rockchip.c | 662 u32 val, color_depth; in dw_mipi_dsi2_ipi_color_coding_cfg() local 667 color_depth = IPI_DEPTH_6_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg() 670 color_depth = IPI_DEPTH_5_6_5_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg() 674 color_depth = IPI_DEPTH_8_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg() 678 val = IPI_DEPTH(color_depth) | in dw_mipi_dsi2_ipi_color_coding_cfg() 681 grf_field_write(dsi2, IPI_COLOR_DEPTH, color_depth); in dw_mipi_dsi2_ipi_color_coding_cfg()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 1541 int color_depth = 0; in hdmi_video_csc() local 1554 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_24BPP; in hdmi_video_csc() 1557 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_30BPP; in hdmi_video_csc() 1560 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_36BPP; in hdmi_video_csc() 1563 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_48BPP; in hdmi_video_csc() 1572 hdmi_modb(hdmi, color_depth, HDMI_CSC_SCALE_CSC_COLORDE_PTH_MASK, HDMI_CSC_SCALE); in hdmi_video_csc() 1584 unsigned int color_depth = 0; in hdmi_video_packetize() local 1595 color_depth = 0; in hdmi_video_packetize() 1599 color_depth = 0x5; in hdmi_video_packetize() 1602 color_depth in hdmi_video_packetize() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
H A D | phy-rockchip-samsung-hdptx-hdmi.c | 1108 u8 color_depth = (bus_width & COLOR_DEPTH_MASK) ? 1 : 0; in hdptx_ropll_cmn_config() local 1254 PLL_PCG_CLK_SEL(color_depth)); in hdptx_ropll_cmn_config() 1385 u8 color_depth = (rate & COLOR_DEPTH_MASK) ? 1 : 0; in hdptx_ropll_frl_mode_config() local 1515 PLL_PCG_CLK_SEL(color_depth)); in hdptx_ropll_frl_mode_config() 1611 u8 color_depth = (rate & COLOR_DEPTH_MASK) ? 1 : 0; in hdptx_lcpll_frl_mode_config() local 1737 PLL_PCG_CLK_SEL(color_depth)); in hdptx_lcpll_frl_mode_config() 1948 u8 color_depth = (bus_width & COLOR_DEPTH_MASK) ? 1 : 0; in hdptx_phy_clk_set_rate() local 1950 if (color_depth) in hdptx_phy_clk_set_rate()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/ |
H A D | hifb_main.c | 142 struct fb_bitfield *transp, hi_u32 color_depth); 3640 struct fb_bitfield *transp, hi_u32 color_depth) 3650 if (color_depth < 8) { 3654 if (color_depth == 8) { 3668 if (bpp == color_depth) { 3639 hifb_getfmtbyargb(struct fb_bitfield *red, struct fb_bitfield *green, struct fb_bitfield *blue, struct fb_bitfield *transp, hi_u32 color_depth) global() argument
|