Lines Matching refs:feat

184 	const struct dispc_features *feat;
384 return dispc->feat->num_ovls;
389 return dispc->feat->num_mgrs;
396 BUG_ON(id >= dispc->feat->num_reg_fields);
398 *start = dispc->feat->reg_fields[id].start;
399 *end = dispc->feat->reg_fields[id].end;
407 for (i = 0; i < dispc->feat->num_features; i++) {
408 if (dispc->feat->features[i] == id)
682 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc->feat->no_framedone_tv)
1268 if (dispc->feat->has_writeback)
1276 return dispc->feat->burst_size_unit * 8;
1285 modes = dispc->feat->supported_color_modes[plane];
1298 return dispc->feat->supported_color_modes[plane];
1363 val = FLD_VAL(height - 1, dispc->feat->mgr_height_start, 16) |
1364 FLD_VAL(width - 1, dispc->feat->mgr_width_start, 0);
1377 unit = dispc->feat->buffer_size_unit;
1381 for (fifo = 0; fifo < dispc->feat->num_fifos; ++fifo) {
1401 if (dispc->feat->gfx_fifo_workaround) {
1431 if (dispc->feat->has_writeback) {
1450 for (fifo = 0; fifo < dispc->feat->num_fifos; ++fifo) {
1465 unit = dispc->feat->buffer_size_unit;
1496 dispc->feat->set_max_preload && plane != OMAP_DSS_WB)
1521 unsigned int buf_unit = dispc->feat->buffer_size_unit;
1600 u32 unit = dispc->feat->buffer_size_unit;
1617 if (dispc->feat->has_writeback) {
1619 u32 unit = dispc->feat->buffer_size_unit;
2300 const int maxsinglelinewidth = dispc->feat->max_line_width;
2307 *core_clk = dispc->feat->calc_core_clk(pclk, in_width,
2348 const int maxsinglelinewidth = dispc->feat->max_line_width;
2365 *core_clk = dispc->feat->calc_core_clk(pclk, in_width,
2437 const int maxsinglelinewidth = dispc->feat->max_line_width;
2438 const int maxdownscale = dispc->feat->max_downscale;
2482 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in_height,
2489 return dispc->feat->overlay_caps[plane];
2507 int maxhdownscale = dispc->feat->max_downscale;
2508 int maxvdownscale = dispc->feat->max_downscale;
2516 if (dispc->feat->supported_scaler_color_modes) {
2517 const u32 *modes = dispc->feat->supported_scaler_color_modes;
2569 ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height,
2606 *width = dispc->feat->ovl_width_max;
2607 *height = dispc->feat->ovl_height_max;
2742 if (dispc->feat->reverse_ilace_field_order)
2753 if (dispc->feat->last_pixel_inc_missing)
2796 enum omap_overlay_caps caps = dispc->feat->overlay_caps[plane];
2903 return dispc->feat->has_writeback;
3097 return width <= dispc->feat->mgr_width_max &&
3098 height <= dispc->feat->mgr_height_max;
3105 if (hsync_len < 1 || hsync_len > dispc->feat->sw_max ||
3106 hfp < 1 || hfp > dispc->feat->hp_max ||
3107 hbp < 1 || hbp > dispc->feat->hp_max ||
3108 vsw < 1 || vsw > dispc->feat->sw_max ||
3109 vfp < 0 || vfp > dispc->feat->vp_max ||
3110 vbp < 0 || vbp > dispc->feat->vp_max)
3120 return pclk <= dispc->feat->max_lcd_pclk;
3122 return pclk <= dispc->feat->max_tv_pclk;
3157 timing_h = FLD_VAL(vm->hsync_len - 1, dispc->feat->sw_start, 0) |
3158 FLD_VAL(vm->hfront_porch - 1, dispc->feat->fp_start, 8) |
3159 FLD_VAL(vm->hback_porch - 1, dispc->feat->bp_start, 20);
3160 timing_v = FLD_VAL(vm->vsync_len - 1, dispc->feat->sw_start, 0) |
3161 FLD_VAL(vm->vfront_porch, dispc->feat->fp_start, 8) |
3162 FLD_VAL(vm->vback_porch, dispc->feat->bp_start, 20);
3182 if (dispc->feat->supports_sync_align)
3258 if (dispc->feat->supports_double_pixel)
3582 if (dispc->feat->has_writeback) {
3692 pckd_hw_min = dispc->feat->min_pcd;
3801 if (!dispc->feat->has_gamma_table)
3832 if (!dispc->feat->has_gamma_table)
3863 if (!dispc->feat->has_gamma_table)
3903 if (!dispc->feat->has_gamma_table)
3946 if (dispc->feat->has_gamma_table)
3951 * (dispc->feat->has_gamma_table) this enables tv-out gamma tables.
3954 dispc->feat->has_gamma_table)
3965 if (dispc->feat->mstandby_workaround)
4637 if (!dispc->feat->has_gamma_i734_bug)
4656 if (!dispc->feat->has_gamma_i734_bug)
4672 if (!dispc->feat->has_gamma_i734_bug)
4766 dispc->feat = soc->data;
4768 dispc->feat = of_match_device(dispc_of_match, &pdev->dev)->data;