Lines Matching defs:format
82 static bool ast_get_vbios_mode_info(const struct drm_format_info *format,
92 switch (format->cpp[0] * 8) {
205 const struct drm_format_info *format,
210 switch (format->cpp[0]) {
231 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x92, format->cpp[0] * 8);
445 const struct drm_format_info *format)
449 switch (format->cpp[0] * 8) {
561 ast_crtc_state->format = state->fb->format;
578 if (!old_fb || (fb->format != old_fb->format)) {
583 ast_set_color_reg(ast, fb->format);
584 ast_set_vbios_color_reg(ast, fb->format, vbios_mode_info);
758 const struct drm_format_info *format;
766 format = ast_state->format;
767 if (drm_WARN_ON_ONCE(dev, !format))
768 return -EINVAL; /* BUG: We didn't set format in primary check(). */
770 succ = ast_get_vbios_mode_info(format, &state->mode,
788 * plane's color format.
790 if (old_ast_crtc_state->format != ast_crtc_state->format)
840 * and format registers.
882 new_ast_state->format = ast_state->format;