Lines Matching refs:feat
182 const struct dispc_features *feat; member
382 return dispc->feat->num_ovls; in dispc_get_num_ovls()
387 return dispc->feat->num_mgrs; in dispc_get_num_mgrs()
394 BUG_ON(id >= dispc->feat->num_reg_fields); in dispc_get_reg_field()
396 *start = dispc->feat->reg_fields[id].start; in dispc_get_reg_field()
397 *end = dispc->feat->reg_fields[id].end; in dispc_get_reg_field()
405 for (i = 0; i < dispc->feat->num_features; i++) { in dispc_has_feature()
406 if (dispc->feat->features[i] == id) in dispc_has_feature()
680 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc->feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
1271 if (dispc->feat->has_writeback) in dispc_configure_burst_sizes()
1279 return dispc->feat->burst_size_unit * 8; in dispc_ovl_get_burst_size()
1288 modes = dispc->feat->supported_color_modes[plane]; in dispc_ovl_color_mode_supported()
1301 return dispc->feat->supported_color_modes[plane]; in dispc_ovl_get_color_modes()
1366 val = FLD_VAL(height - 1, dispc->feat->mgr_height_start, 16) | in dispc_mgr_set_size()
1367 FLD_VAL(width - 1, dispc->feat->mgr_width_start, 0); in dispc_mgr_set_size()
1380 unit = dispc->feat->buffer_size_unit; in dispc_init_fifos()
1384 for (fifo = 0; fifo < dispc->feat->num_fifos; ++fifo) { in dispc_init_fifos()
1404 if (dispc->feat->gfx_fifo_workaround) { in dispc_init_fifos()
1434 if (dispc->feat->has_writeback) { in dispc_init_fifos()
1453 for (fifo = 0; fifo < dispc->feat->num_fifos; ++fifo) { in dispc_ovl_get_fifo_size()
1468 unit = dispc->feat->buffer_size_unit; in dispc_ovl_set_fifo_threshold()
1499 dispc->feat->set_max_preload && plane != OMAP_DSS_WB) in dispc_ovl_set_fifo_threshold()
1524 unsigned int buf_unit = dispc->feat->buffer_size_unit; in dispc_ovl_compute_fifo_thresholds()
1603 u32 unit = dispc->feat->buffer_size_unit; in dispc_init_mflag()
1620 if (dispc->feat->has_writeback) { in dispc_init_mflag()
1622 u32 unit = dispc->feat->buffer_size_unit; in dispc_init_mflag()
2303 const int maxsinglelinewidth = dispc->feat->max_line_width; in dispc_ovl_calc_scaling_24xx()
2310 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_24xx()
2351 const int maxsinglelinewidth = dispc->feat->max_line_width; in dispc_ovl_calc_scaling_34xx()
2368 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_34xx()
2440 const int maxsinglelinewidth = dispc->feat->max_line_width; in dispc_ovl_calc_scaling_44xx()
2441 const int maxdownscale = dispc->feat->max_downscale; in dispc_ovl_calc_scaling_44xx()
2485 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in_height, in dispc_ovl_calc_scaling_44xx()
2505 int maxhdownscale = dispc->feat->max_downscale; in dispc_ovl_calc_scaling()
2506 int maxvdownscale = dispc->feat->max_downscale; in dispc_ovl_calc_scaling()
2514 if (dispc->feat->supported_scaler_color_modes) { in dispc_ovl_calc_scaling()
2515 const u32 *modes = dispc->feat->supported_scaler_color_modes; in dispc_ovl_calc_scaling()
2567 ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height, in dispc_ovl_calc_scaling()
2734 if (dispc->feat->reverse_ilace_field_order) in dispc_ovl_setup_common()
2745 if (dispc->feat->last_pixel_inc_missing) in dispc_ovl_setup_common()
2788 enum omap_overlay_caps caps = dispc->feat->overlay_caps[plane]; in dispc_ovl_setup()
2895 return dispc->feat->has_writeback; in dispc_has_writeback()
3089 return width <= dispc->feat->mgr_width_max && in _dispc_mgr_size_ok()
3090 height <= dispc->feat->mgr_height_max; in _dispc_mgr_size_ok()
3097 if (hsync_len < 1 || hsync_len > dispc->feat->sw_max || in _dispc_lcd_timings_ok()
3098 hfp < 1 || hfp > dispc->feat->hp_max || in _dispc_lcd_timings_ok()
3099 hbp < 1 || hbp > dispc->feat->hp_max || in _dispc_lcd_timings_ok()
3100 vsw < 1 || vsw > dispc->feat->sw_max || in _dispc_lcd_timings_ok()
3101 vfp < 0 || vfp > dispc->feat->vp_max || in _dispc_lcd_timings_ok()
3102 vbp < 0 || vbp > dispc->feat->vp_max) in _dispc_lcd_timings_ok()
3112 return pclk <= dispc->feat->max_lcd_pclk; in _dispc_mgr_pclk_ok()
3114 return pclk <= dispc->feat->max_tv_pclk; in _dispc_mgr_pclk_ok()
3149 timing_h = FLD_VAL(vm->hsync_len - 1, dispc->feat->sw_start, 0) | in _dispc_mgr_set_lcd_timings()
3150 FLD_VAL(vm->hfront_porch - 1, dispc->feat->fp_start, 8) | in _dispc_mgr_set_lcd_timings()
3151 FLD_VAL(vm->hback_porch - 1, dispc->feat->bp_start, 20); in _dispc_mgr_set_lcd_timings()
3152 timing_v = FLD_VAL(vm->vsync_len - 1, dispc->feat->sw_start, 0) | in _dispc_mgr_set_lcd_timings()
3153 FLD_VAL(vm->vfront_porch, dispc->feat->fp_start, 8) | in _dispc_mgr_set_lcd_timings()
3154 FLD_VAL(vm->vback_porch, dispc->feat->bp_start, 20); in _dispc_mgr_set_lcd_timings()
3174 if (dispc->feat->supports_sync_align) in _dispc_mgr_set_lcd_timings()
3250 if (dispc->feat->supports_double_pixel) in dispc_mgr_set_timings()
3574 if (dispc->feat->has_writeback) { in dispc_dump_regs()
3684 pckd_hw_min = dispc->feat->min_pcd; in dispc_div_calc()
3793 if (!dispc->feat->has_gamma_table) in dispc_mgr_gamma_size()
3824 if (!dispc->feat->has_gamma_table) in dispc_restore_gamma_tables()
3855 if (!dispc->feat->has_gamma_table) in dispc_mgr_set_gamma()
3895 if (!dispc->feat->has_gamma_table) in dispc_init_gamma_tables()
3938 if (dispc->feat->has_gamma_table) in _omap_dispc_initial_config()
3946 dispc->feat->has_gamma_table) in _omap_dispc_initial_config()
3957 if (dispc->feat->mstandby_workaround) in _omap_dispc_initial_config()
4615 if (!dispc->feat->has_gamma_i734_bug) in dispc_errata_i734_wa_init()
4634 if (!dispc->feat->has_gamma_i734_bug) in dispc_errata_i734_wa_fini()
4650 if (!dispc->feat->has_gamma_i734_bug) in dispc_errata_i734_wa()
4745 dispc->feat = soc->data; in dispc_bind()
4747 dispc->feat = of_match_device(dispc_of_match, &pdev->dev)->data; in dispc_bind()