Lines Matching defs:mode
29 MW_ONESHOT, /* SE in one-shot mode for writeback */
294 * entering config mode can take as long as the rendering
300 WARN(count == 0, "timeout while entering config mode");
316 WARN(count == 0, "timeout while leaving config mode");
338 static void malidp500_modeset(struct malidp_hw_device *hwdev, struct videomode *mode)
345 if (mode->flags & DISPLAY_FLAGS_HSYNC_HIGH)
347 if (mode->flags & DISPLAY_FLAGS_VSYNC_HIGH)
363 val = MALIDP_DE_H_FRONTPORCH(mode->hfront_porch) |
364 MALIDP_DE_H_BACKPORCH(mode->hback_porch);
367 val = MALIDP500_DE_V_FRONTPORCH(mode->vfront_porch) |
368 MALIDP_DE_V_BACKPORCH(mode->vback_porch);
371 val = MALIDP_DE_H_SYNCWIDTH(mode->hsync_len) |
372 MALIDP_DE_V_SYNCWIDTH(mode->vsync_len);
375 val = MALIDP_DE_H_ACTIVE(mode->hactive) | MALIDP_DE_V_ACTIVE(mode->vactive);
378 if (mode->flags & DISPLAY_FLAGS_INTERLACED)
615 * entering config mode can take as long as the rendering
621 WARN(count == 0, "timeout while entering config mode");
637 WARN(count == 0, "timeout while leaving config mode");
659 static void malidp550_modeset(struct malidp_hw_device *hwdev, struct videomode *mode)
680 val = MALIDP_DE_H_FRONTPORCH(mode->hfront_porch) |
681 MALIDP_DE_H_BACKPORCH(mode->hback_porch);
684 val = MALIDP550_DE_V_FRONTPORCH(mode->vfront_porch) |
685 MALIDP_DE_V_BACKPORCH(mode->vback_porch);
688 val = MALIDP_DE_H_SYNCWIDTH(mode->hsync_len) |
689 MALIDP_DE_V_SYNCWIDTH(mode->vsync_len);
690 if (mode->flags & DISPLAY_FLAGS_HSYNC_HIGH)
692 if (mode->flags & DISPLAY_FLAGS_VSYNC_HIGH)
696 val = MALIDP_DE_H_ACTIVE(mode->hactive) | MALIDP_DE_V_ACTIVE(mode->vactive);
699 if (mode->flags & DISPLAY_FLAGS_INTERLACED)
1329 /* writeback started, need to emulate one-shot mode */