/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3521dv200/hal/ |
D | drv_vo_dev.c | 84 hi_vo_intf_type intf_type; in vo_drv_set_dev_div() local 101 intf_type = vo_drv_get_dev_intf_type(dev); in vo_drv_set_dev_div() 102 if (((HI_VO_INTF_RGB_6BIT & intf_type) in vo_drv_set_dev_div() 103 || (HI_VO_INTF_RGB_8BIT & intf_type))) { in vo_drv_set_dev_div() 126 if (vo_drv_is_hdmi_intf(dev_ctx->vou_attr.intf_type)) { in vo_drv_set_hdmi_div() 159 static hi_s32 vou_drv_check_dhd_homologous_intf(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_dhd_homologous_intf() argument 163 if ((intf_type & ~(homologous_intf)) && in vou_drv_check_dhd_homologous_intf() 164 (intf_type & ~(HI_VO_INTF_BT656)) && in vou_drv_check_dhd_homologous_intf() 165 (intf_type & ~(HI_VO_INTF_RGB_16BIT)) && in vou_drv_check_dhd_homologous_intf() 166 (intf_type & ~(HI_VO_INTF_RGB_18BIT)) && in vou_drv_check_dhd_homologous_intf() [all …]
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/hi3516cv500/ |
D | vou.c | 299 static hi_void video_layer_set_csc_by_intf(unsigned int layer, vo_intf_type intf_type) in video_layer_set_csc_by_intf() argument 306 if ((intf_type == VO_INTF_HDMI) || in video_layer_set_csc_by_intf() 307 (intf_type == VO_INTF_BT1120)) { in video_layer_set_csc_by_intf() 309 } else if (intf_type == VO_INTF_MIPI) { in video_layer_set_csc_by_intf() 315 } else if ((VO_INTF_LCD & intf_type) || in video_layer_set_csc_by_intf() 316 (VO_INTF_LCD_6BIT & intf_type) || in video_layer_set_csc_by_intf() 317 (VO_INTF_LCD_8BIT & intf_type) || in video_layer_set_csc_by_intf() 318 (VO_INTF_LCD_16BIT & intf_type) || in video_layer_set_csc_by_intf() 319 (VO_INTF_LCD_18BIT & intf_type) || in video_layer_set_csc_by_intf() 320 (VO_INTF_LCD_24BIT & intf_type)) { in video_layer_set_csc_by_intf() [all …]
|
D | vou_drv.c | 67 vo_intf_type intf_type; member 155 .intf_type = VO_INTF_HDMI | VO_INTF_BT1120 | VO_INTF_BT656, 199 hi_void vo_drv_set_dev_intf_type(hi_s32 vo_dev, vo_intf_type intf_type) in vo_drv_set_dev_intf_type() argument 201 g_hal_dev_cfg[vo_dev].intf_type = intf_type; in vo_drv_set_dev_intf_type() 789 return g_hal_dev_cfg[vo_dev].intf_type; in vo_drv_get_dev_intf_type() 798 vo_intf_type intf_type; in vo_drv_set_cbm_bkg() local 799 intf_type = hal_dev_cfg->intf_type; in vo_drv_set_cbm_bkg() 801 if ((VO_INTF_LCD & intf_type) || in vo_drv_set_cbm_bkg() 802 (VO_INTF_LCD_6BIT & intf_type) || in vo_drv_set_cbm_bkg() 803 (VO_INTF_LCD_8BIT & intf_type) || in vo_drv_set_cbm_bkg() [all …]
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3531dv200/hal/ |
D | drv_vo_dev.c | 58 if (vo_drv_is_bt1120_intf(dev_ctx->vou_attr.intf_type) != HI_TRUE) { in vo_drv_set_dev_user_sync_div_clk() 136 if (vo_drv_is_hdmi_intf(dev_ctx->vou_attr.intf_type)) { in vo_drv_set_hdmi_div() 141 static hi_s32 vou_drv_check_dhd_intf(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_dhd_intf() argument 143 if ((intf_type & ~(HI_VO_INTF_HDMI | HI_VO_INTF_BT1120 | HI_VO_INTF_VGA)) || (intf_type == 0)) { in vou_drv_check_dhd_intf() 144 vo_err_trace("device HD%d does not support intf(%d) !\n", dev, intf_type); in vou_drv_check_dhd_intf() 151 static hi_s32 vou_drv_check_intf_share(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_intf_share() argument 161 if ((intf_type & drv_dev_ctx->vou_attr.intf_type) & in vou_drv_check_intf_share() 164 dev, intf_type & drv_dev_ctx->vou_attr.intf_type, (1 - dev)); in vou_drv_check_intf_share() 172 hi_s32 vou_drv_check_dev_intf(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_dev_intf() argument 177 ret = vou_drv_check_dhd_intf(dev, intf_type); in vou_drv_check_dev_intf() [all …]
|
D | hal_vo_dev.c | 49 hi_void vo_hal_intf_set_sync_inv(hi_vo_intf_type intf_type, hal_disp_syncinv *inv) in vo_hal_intf_set_sync_inv() argument 51 if (intf_type == HI_VO_INTF_HDMI) { in vo_hal_intf_set_sync_inv() 53 } else if (intf_type == HI_VO_INTF_VGA) { in vo_hal_intf_set_sync_inv() 55 } else if (intf_type == HI_VO_INTF_BT1120) { in vo_hal_intf_set_sync_inv() 57 } else if (intf_type == HI_VO_INTF_CVBS) { in vo_hal_intf_set_sync_inv()
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3535av100/hal/ |
D | drv_vo_dev.c | 57 if (vo_drv_is_bt1120_intf(dev_ctx->vou_attr.intf_type) != HI_TRUE) { in vo_drv_set_dev_user_sync_div_clk() 135 if (vo_drv_is_hdmi_intf(dev_ctx->vou_attr.intf_type)) { in vo_drv_set_hdmi_div() 140 static hi_s32 vou_drv_check_dhd_intf(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_dhd_intf() argument 142 if ((intf_type & ~(HI_VO_INTF_HDMI | HI_VO_INTF_BT1120 | HI_VO_INTF_VGA)) || (intf_type == 0)) { in vou_drv_check_dhd_intf() 143 vo_err_trace("device HD%d does not support intf(%d) !\n", dev, intf_type); in vou_drv_check_dhd_intf() 150 static hi_s32 vou_drv_check_intf_share(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_intf_share() argument 160 if ((intf_type & drv_dev_ctx->vou_attr.intf_type) & in vou_drv_check_intf_share() 163 dev, intf_type & drv_dev_ctx->vou_attr.intf_type, (1 - dev)); in vou_drv_check_intf_share() 171 hi_s32 vou_drv_check_dev_intf(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_dev_intf() argument 176 ret = vou_drv_check_dhd_intf(dev, intf_type); in vou_drv_check_dev_intf() [all …]
|
D | hal_vo_dev.c | 49 hi_void vo_hal_intf_set_sync_inv(hi_vo_intf_type intf_type, hal_disp_syncinv *inv) in vo_hal_intf_set_sync_inv() argument 51 if (intf_type == HI_VO_INTF_HDMI) { in vo_hal_intf_set_sync_inv() 53 } else if (intf_type == HI_VO_INTF_VGA) { in vo_hal_intf_set_sync_inv() 55 } else if (intf_type == HI_VO_INTF_BT1120) { in vo_hal_intf_set_sync_inv() 57 } else if (intf_type == HI_VO_INTF_CVBS) { in vo_hal_intf_set_sync_inv()
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/hi3516ev200/ |
D | vou.c | 293 static void vo_get_videolayer_csc_matric(vo_intf_type intf_type, vo_csc_matrix *csc_matrix) in vo_get_videolayer_csc_matric() argument 295 if (intf_type == VO_INTF_BT1120) { in vo_get_videolayer_csc_matric() 297 } else if ((intf_type == VO_INTF_LCD_6BIT) || in vo_get_videolayer_csc_matric() 298 (intf_type == VO_INTF_LCD_8BIT) || in vo_get_videolayer_csc_matric() 299 (intf_type == VO_INTF_LCD_16BIT)) { in vo_get_videolayer_csc_matric() 311 vo_intf_type intf_type; in start_videolayer() local 321 intf_type = vo_drv_get_dev_intf_type(vo_layer); in start_videolayer() 322 vo_get_videolayer_csc_matric(intf_type, &csc_matrix); in start_videolayer() 378 vo_intf_type intf_type; in start_gx() local 383 intf_type = vo_drv_get_dev_intf_type(layer); in start_gx() [all …]
|
D | vou_drv.c | 93 vo_intf_type intf_type; member 209 .intf_type = VO_INTF_BT1120 | VO_INTF_LCD, 227 hi_void vo_drv_set_dev_intf_type(hi_s32 vo_dev, vo_intf_type intf_type) in vo_drv_set_dev_intf_type() argument 229 g_hal_dev_cfg[vo_dev].intf_type = intf_type; in vo_drv_set_dev_intf_type() 437 if ((VO_INTF_LCD_6BIT & g_hal_dev_cfg[vo_dev].intf_type) || in vo_drv_set_dev_clk() 438 (VO_INTF_LCD_8BIT & g_hal_dev_cfg[vo_dev].intf_type)) { in vo_drv_set_dev_clk() 651 return g_hal_dev_cfg[vo_dev].intf_type; in vo_drv_get_dev_intf_type() 657 vo_intf_type intf_type; in vo_drv_set_cbm_bkg() local 661 intf_type = hal_dev_cfg->intf_type; in vo_drv_set_cbm_bkg() 663 if ((VO_INTF_LCD_6BIT & intf_type) || in vo_drv_set_cbm_bkg() [all …]
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/comm/src/ |
D | drv_vo_dev_comm.c | 44 return drv_dev_ctx->vou_attr.intf_type; in vo_drv_get_dev_intf_type() 349 hi_s32 vou_drv_check_dsd_intf(hi_vo_dev dev, hi_vo_intf_type intf_type) in vou_drv_check_dsd_intf() argument 351 if ((intf_type & ~(HI_VO_INTF_CVBS)) || (intf_type == 0)) { in vou_drv_check_dsd_intf() 352 vo_err_trace("vo device%d does not support intf(%d) !\n", dev, intf_type); in vou_drv_check_dsd_intf() 359 hi_s32 vou_drv_check_dev_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync) in vou_drv_check_dev_sync() argument 369 ret = vou_drv_check_hdmi_sync(dev, intf_type, intf_sync); in vou_drv_check_dev_sync() 374 ret = vou_drv_check_bt_sync(dev, intf_type, intf_sync); in vou_drv_check_dev_sync() 379 ret = vou_drv_check_vga_sync(dev, intf_type, intf_sync); in vou_drv_check_dev_sync() 384 ret = vou_drv_check_cvbs_sync(dev, intf_type, intf_sync); in vou_drv_check_dev_sync() 389 ret = vou_drv_check_rgb_sync(dev, intf_type, intf_sync); in vou_drv_check_dev_sync() [all …]
|
D | hal_vo_dev_comm.h | 63 hi_void vo_hal_intf_set_dac_sel(hi_vo_intf_type intf_type); 66 hi_void vo_hal_intf_set_dac_chn_enable(hi_vo_intf_type intf_type, hi_bool enable); 67 hi_void vo_hal_intf_set_dac_gc(hi_vo_intf_type intf_type, hi_u32 dac_gc); 68 hi_void vo_hal_intf_set_dac_cablectr(hi_vo_intf_type intf_type, hi_u32 cablectr); 69 hi_void vo_hal_intf_set_dac_det(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_bool enable); 75 hi_void vo_hal_intf_set_clip_cfg(hi_vo_intf_type intf_type, hi_bool clip, hal_disp_clip *clip_data);
|
D | drv_vo_comm.c | 99 hi_s32 vou_drv_check_cvbs_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync) in vou_drv_check_cvbs_sync() argument 101 if (intf_type & HI_VO_INTF_CVBS) { in vou_drv_check_cvbs_sync()
|
D | hal_vo_dev_comm.c | 388 hi_void vo_hal_intf_set_dac_sel(hi_vo_intf_type intf_type) in vo_hal_intf_set_dac_sel() argument 394 if (intf_type == HI_VO_INTF_VGA) { in vo_hal_intf_set_dac_sel() 398 } else if (intf_type == HI_VO_INTF_CVBS) { in vo_hal_intf_set_dac_sel() 428 hi_void vo_hal_intf_set_dac_chn_enable(hi_vo_intf_type intf_type, hi_bool enable) in vo_hal_intf_set_dac_chn_enable() argument 436 if (intf_type == HI_VO_INTF_VGA) { in vo_hal_intf_set_dac_chn_enable() 446 } else if (intf_type == HI_VO_INTF_CVBS) { in vo_hal_intf_set_dac_chn_enable() 453 hi_void vo_hal_intf_set_dac_gc(hi_vo_intf_type intf_type, hi_u32 dac_gc) in vo_hal_intf_set_dac_gc() argument 461 if (intf_type == HI_VO_INTF_VGA) { in vo_hal_intf_set_dac_gc() 471 } else if (intf_type == HI_VO_INTF_CVBS) { in vo_hal_intf_set_dac_gc() 478 hi_void vo_hal_intf_set_dac_cablectr(hi_vo_intf_type intf_type, hi_u32 cablectr) in vo_hal_intf_set_dac_cablectr() argument [all …]
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/hi3559av100/ |
D | vou.c | 316 vo_intf_type intf_type; in start_gx() local 322 intf_type = vo_drv_get_dev_intf_type(layer); in start_gx() 331 if ((intf_type == VO_INTF_HDMI) || in start_gx() 332 (intf_type == VO_INTF_BT1120)) { in start_gx() 336 } else if ((intf_type == VO_INTF_MIPI) || in start_gx() 337 vo_drv_is_lcd_intf(intf_type)) { in start_gx() 401 hi_void video_layer_set_csc_by_intf(unsigned int layer, vo_intf_type intf_type) in video_layer_set_csc_by_intf() argument 408 if ((intf_type == VO_INTF_HDMI) || in video_layer_set_csc_by_intf() 409 (intf_type == VO_INTF_BT1120)) { in video_layer_set_csc_by_intf() 411 } else if ((intf_type == VO_INTF_MIPI) || in video_layer_set_csc_by_intf() [all …]
|
D | vou_drv.c | 67 vo_intf_type intf_type; member 154 .intf_type = VO_INTF_HDMI | VO_INTF_BT1120 | VO_INTF_BT656, 161 .intf_type = VO_INTF_BT1120 | VO_INTF_BT656 | VO_INTF_LCD, 206 hi_void vo_drv_set_dev_intf_type(hi_s32 vo_dev, vo_intf_type intf_type) in vo_drv_set_dev_intf_type() argument 208 g_hal_dev_cfg[vo_dev].intf_type = intf_type; in vo_drv_set_dev_intf_type() 559 vo_intf_type intf_type; in vo_drv_set_lcd_serial_perd() local 561 intf_type = g_hal_dev_cfg[dev].intf_type; in vo_drv_set_lcd_serial_perd() 563 if ((VO_INTF_LCD_6BIT & intf_type) || in vo_drv_set_lcd_serial_perd() 564 (VO_INTF_LCD_8BIT & intf_type)) { in vo_drv_set_lcd_serial_perd() 1215 return g_hal_dev_cfg[vo_dev].intf_type; in vo_drv_get_dev_intf_type() [all …]
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/hi3519av100/ |
D | vou_drv.c | 67 vo_intf_type intf_type; member 150 .intf_type = VO_INTF_HDMI | VO_INTF_BT1120 | VO_INTF_BT656, 157 .intf_type = VO_INTF_BT1120 | VO_INTF_BT656 | VO_INTF_LCD, 202 hi_void vo_drv_set_dev_intf_type(hi_s32 vo_dev, vo_intf_type intf_type) in vo_drv_set_dev_intf_type() argument 204 g_hal_dev_cfg[vo_dev].intf_type = intf_type; in vo_drv_set_dev_intf_type() 881 return g_hal_dev_cfg[vo_dev].intf_type; in vo_drv_get_dev_intf_type() 889 vo_intf_type intf_type; in vo_drv_set_cbm_bkg() local 891 intf_type = hal_dev_cfg->intf_type; in vo_drv_set_cbm_bkg() 893 if ((VO_INTF_LCD & intf_type) || in vo_drv_set_cbm_bkg() 894 (VO_INTF_LCD_6BIT & intf_type) || in vo_drv_set_cbm_bkg() [all …]
|
D | vou.c | 308 static hi_void video_layer_set_csc_by_intf(unsigned int layer, vo_intf_type intf_type) in video_layer_set_csc_by_intf() argument 318 if ((intf_type & VO_INTF_MIPI) || in video_layer_set_csc_by_intf() 319 (intf_type & VO_INTF_MIPI_SLAVE)) { in video_layer_set_csc_by_intf() 349 vo_intf_type intf_type; in start_videolayer() local 357 intf_type = vo_drv_get_dev_intf_type(layer); in start_videolayer() 359 video_layer_set_csc_by_intf(layer, intf_type); in start_videolayer() 409 vo_intf_type intf_type; in start_gx() local 415 intf_type = vo_drv_get_dev_intf_type(layer); in start_gx() 425 if ((intf_type & VO_INTF_MIPI) || in start_gx() 426 (intf_type & VO_INTF_MIPI_SLAVE)) { in start_gx()
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | cmd_vo_hi3559av100.c | 46 static int vo_is_lcd_intf(unsigned int intf_type) in vo_is_lcd_intf() argument 48 if (VO_INTF_LCD & intf_type || in vo_is_lcd_intf() 49 VO_INTF_LCD_8BIT & intf_type || in vo_is_lcd_intf() 50 VO_INTF_LCD_6BIT & intf_type || in vo_is_lcd_intf() 51 VO_INTF_LCD_16BIT & intf_type || in vo_is_lcd_intf() 52 VO_INTF_LCD_18BIT & intf_type || in vo_is_lcd_intf() 53 VO_INTF_LCD_24BIT & intf_type) { in vo_is_lcd_intf() 59 static int vou_drv_check_lcd_sync(vo_dev dev, unsigned int intf_type, unsigned int intf_sync) in vou_drv_check_lcd_sync() argument 68 if (VO_INTF_LCD_8BIT & intf_type) { in vou_drv_check_lcd_sync() 75 if (VO_INTF_LCD_6BIT & intf_type) { in vou_drv_check_lcd_sync() [all …]
|
D | cmd_vo_hi3569v100.c | 46 static int vo_is_lcd_intf(unsigned int intf_type) in vo_is_lcd_intf() argument 48 if (VO_INTF_LCD & intf_type || in vo_is_lcd_intf() 49 VO_INTF_LCD_8BIT & intf_type || in vo_is_lcd_intf() 50 VO_INTF_LCD_6BIT & intf_type || in vo_is_lcd_intf() 51 VO_INTF_LCD_16BIT & intf_type || in vo_is_lcd_intf() 52 VO_INTF_LCD_18BIT & intf_type || in vo_is_lcd_intf() 53 VO_INTF_LCD_24BIT & intf_type) { in vo_is_lcd_intf() 59 static int vou_drv_check_lcd_sync(vo_dev dev, unsigned int intf_type, unsigned int intf_sync) in vou_drv_check_lcd_sync() argument 68 if (VO_INTF_LCD_8BIT & intf_type) { in vou_drv_check_lcd_sync() 75 if (VO_INTF_LCD_6BIT & intf_type) { in vou_drv_check_lcd_sync() [all …]
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/include/ |
D | drv_vo_dev.h | 76 hi_s32 vou_drv_check_hdmi_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync); 77 hi_s32 vou_drv_check_bt_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync); 78 hi_s32 vou_drv_check_vga_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync); 79 hi_s32 vou_drv_check_rgb_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync); 80 hi_s32 vou_drv_check_dev_intf(hi_vo_dev dev, hi_vo_intf_type intf_type); 98 hi_void vo_drv_set_intf_dither(hi_vo_intf_type intf_type, hi_u32 in_bit_width);
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/comm/include/ |
D | drv_vo_dev_comm.h | 93 hi_s32 vou_drv_check_dsd_intf(hi_vo_dev dev, hi_vo_intf_type intf_type); 94 hi_s32 vou_drv_check_dev_sync(hi_vo_dev dev, hi_vo_intf_type intf_type, hi_vo_intf_sync intf_sync); 109 hi_bool vo_drv_is_hdmi_intf(hi_vo_intf_type intf_type); 110 hi_bool vo_drv_is_rgb_intf(hi_vo_intf_type intf_type); 111 hi_bool vo_drv_is_mipi_intf(hi_vo_intf_type intf_type); 112 hi_bool vo_drv_is_bt1120_intf(hi_vo_intf_type intf_type);
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/mkp/src/dev/ |
D | mkp_vo_dev.c | 258 if (HI_VO_INTF_HDMI & dev_ctx->vou_attr.intf_type) { in vo_set_dev_intf_param() 262 if (HI_VO_INTF_VGA & dev_ctx->vou_attr.intf_type) { in vo_set_dev_intf_param() 267 (vo_drv_is_rgb_intf(dev_ctx->vou_attr.intf_type))) { in vo_set_dev_intf_param() 509 hi_vo_intf_type intf_type; in vo_check_intf_user_pre_div() local 513 intf_type = dev_ctx->vou_attr.intf_type; in vo_check_intf_user_pre_div() 514 if (vo_drv_is_hdmi_intf(intf_type) != HI_TRUE) { in vo_check_intf_user_pre_div() 517 VO_INTF_NO_HDMI_PRE_DIV_MODE, intf_type); in vo_check_intf_user_pre_div()
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3535av100/include/ |
D | hal_vo_dev.h | 38 hi_void vo_hal_intf_set_sync_inv(hi_vo_intf_type intf_type, hal_disp_syncinv *inv);
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3531dv200/include/ |
D | hal_vo_dev.h | 38 hi_void vo_hal_intf_set_sync_inv(hi_vo_intf_type intf_type, hal_disp_syncinv *inv);
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3521dv200/include/ |
D | hal_vo_dev.h | 38 hi_void vo_hal_intf_set_sync_inv(hi_vo_intf_type intf_type, hal_disp_syncinv *inv);
|