Lines Matching refs:feat
182 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)
679 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc->feat->no_framedone_tv)
919 if (dispc->feat->has_writeback)
1258 if (dispc->feat->has_writeback)
1266 return dispc->feat->burst_size_unit * 8;
1275 modes = dispc->feat->supported_color_modes[plane];
1288 return dispc->feat->supported_color_modes[plane];
1353 val = FLD_VAL(height - 1, dispc->feat->mgr_height_start, 16) |
1354 FLD_VAL(width - 1, dispc->feat->mgr_width_start, 0);
1367 unit = dispc->feat->buffer_size_unit;
1371 for (fifo = 0; fifo < dispc->feat->num_fifos; ++fifo) {
1391 if (dispc->feat->gfx_fifo_workaround) {
1421 if (dispc->feat->has_writeback) {
1440 for (fifo = 0; fifo < dispc->feat->num_fifos; ++fifo) {
1455 unit = dispc->feat->buffer_size_unit;
1486 dispc->feat->set_max_preload && plane != OMAP_DSS_WB)
1511 unsigned int buf_unit = dispc->feat->buffer_size_unit;
1590 u32 unit = dispc->feat->buffer_size_unit;
1607 if (dispc->feat->has_writeback) {
1609 u32 unit = dispc->feat->buffer_size_unit;
2291 const int maxsinglelinewidth = dispc->feat->max_line_width;
2298 *core_clk = dispc->feat->calc_core_clk(pclk, in_width,
2339 const int maxsinglelinewidth = dispc->feat->max_line_width;
2356 *core_clk = dispc->feat->calc_core_clk(pclk, in_width,
2428 const int maxsinglelinewidth = dispc->feat->max_line_width;
2429 const int maxdownscale = dispc->feat->max_downscale;
2473 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in_height,
2493 int maxhdownscale = dispc->feat->max_downscale;
2494 int maxvdownscale = dispc->feat->max_downscale;
2502 if (dispc->feat->supported_scaler_color_modes) {
2503 const u32 *modes = dispc->feat->supported_scaler_color_modes;
2555 ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height,
2720 if (dispc->feat->reverse_ilace_field_order)
2731 if (dispc->feat->last_pixel_inc_missing)
2771 enum omap_overlay_caps caps = dispc->feat->overlay_caps[plane];
2876 return dispc->feat->has_writeback;
3070 return width <= dispc->feat->mgr_width_max &&
3071 height <= dispc->feat->mgr_height_max;
3078 if (hsync_len < 1 || hsync_len > dispc->feat->sw_max ||
3079 hfp < 1 || hfp > dispc->feat->hp_max ||
3080 hbp < 1 || hbp > dispc->feat->hp_max ||
3081 vsw < 1 || vsw > dispc->feat->sw_max ||
3082 vfp < 0 || vfp > dispc->feat->vp_max ||
3083 vbp < 0 || vbp > dispc->feat->vp_max)
3093 return pclk <= dispc->feat->max_lcd_pclk;
3095 return pclk <= dispc->feat->max_tv_pclk;
3130 timing_h = FLD_VAL(vm->hsync_len - 1, dispc->feat->sw_start, 0) |
3131 FLD_VAL(vm->hfront_porch - 1, dispc->feat->fp_start, 8) |
3132 FLD_VAL(vm->hback_porch - 1, dispc->feat->bp_start, 20);
3133 timing_v = FLD_VAL(vm->vsync_len - 1, dispc->feat->sw_start, 0) |
3134 FLD_VAL(vm->vfront_porch, dispc->feat->fp_start, 8) |
3135 FLD_VAL(vm->vback_porch, dispc->feat->bp_start, 20);
3155 if (dispc->feat->supports_sync_align)
3231 if (dispc->feat->supports_double_pixel)
3555 if (dispc->feat->has_writeback) {
3665 pckd_hw_min = dispc->feat->min_pcd;
3774 if (!dispc->feat->has_gamma_table)
3805 if (!dispc->feat->has_gamma_table)
3836 if (!dispc->feat->has_gamma_table)
3876 if (!dispc->feat->has_gamma_table)
3919 if (dispc->feat->has_gamma_table)
3924 * (dispc->feat->has_gamma_table) this enables tv-out gamma tables.
3927 dispc->feat->has_gamma_table)
3940 if (dispc->feat->mstandby_workaround)
4598 if (!dispc->feat->has_gamma_i734_bug)
4617 if (!dispc->feat->has_gamma_i734_bug)
4633 if (!dispc->feat->has_gamma_i734_bug)
4769 dispc->feat = soc->data;
4771 dispc->feat = of_match_device(dispc_of_match, &pdev->dev)->data;