Home
last modified time | relevance | path

Searched refs:cvt (Results 1 – 7 of 7) sorted by relevance

/drivers/video/fbdev/core/
Dfbcvt.c73 static u32 fb_cvt_hperiod(struct fb_cvt_data *cvt) in fb_cvt_hperiod() argument
75 u32 num = 1000000000/cvt->f_refresh; in fb_cvt_hperiod()
78 if (cvt->flags & FB_CVT_FLAG_REDUCED_BLANK) { in fb_cvt_hperiod()
80 den = 2 * (cvt->yres/cvt->interlace + 2 * cvt->v_margin); in fb_cvt_hperiod()
83 den = 2 * (cvt->yres/cvt->interlace + cvt->v_margin * 2 in fb_cvt_hperiod()
84 + FB_CVT_MIN_VPORCH + cvt->interlace/2); in fb_cvt_hperiod()
91 static u32 fb_cvt_ideal_duty_cycle(struct fb_cvt_data *cvt) in fb_cvt_ideal_duty_cycle() argument
96 u32 h_period_est = cvt->hperiod; in fb_cvt_ideal_duty_cycle()
101 static u32 fb_cvt_hblank(struct fb_cvt_data *cvt) in fb_cvt_hblank() argument
105 if (cvt->flags & FB_CVT_FLAG_REDUCED_BLANK) in fb_cvt_hblank()
[all …]
Dmodedb.c645 int yres_specified = 0, cvt = 0, rb = 0; in fb_find_mode() local
659 if (cvt || rb) in fb_find_mode()
660 cvt = 0; in fb_find_mode()
670 if (cvt || rb) in fb_find_mode()
671 cvt = 0; in fb_find_mode()
687 cvt = 1; in fb_find_mode()
690 if (!cvt) in fb_find_mode()
694 if (!cvt) in fb_find_mode()
698 if (!cvt) { in fb_find_mode()
704 if (!cvt) { in fb_find_mode()
[all …]
/drivers/gpu/drm/selftests/
Dtest-drm_cmdline_parser.c32 FAIL_ON(mode.cvt); in drm_cmdline_test_force_e_only()
52 FAIL_ON(mode.cvt); in drm_cmdline_test_force_D_only_not_digital()
76 FAIL_ON(mode.cvt); in drm_cmdline_test_force_D_only_hdmi()
100 FAIL_ON(mode.cvt); in drm_cmdline_test_force_D_only_dvi()
120 FAIL_ON(mode.cvt); in drm_cmdline_test_force_d_only()
166 FAIL_ON(mode.cvt); in drm_cmdline_test_res()
234 FAIL_ON(!mode.cvt); in drm_cmdline_test_res_vesa()
258 FAIL_ON(!mode.cvt); in drm_cmdline_test_res_vesa_rblank()
282 FAIL_ON(mode.cvt); in drm_cmdline_test_res_rblank()
307 FAIL_ON(mode.cvt); in drm_cmdline_test_res_bpp()
[all …]
/drivers/gpu/drm/
Ddrm_modes.c1513 bool rb = false, cvt = false; in drm_mode_parse_cmdline_res_mode() local
1538 cvt = true; in drm_mode_parse_cmdline_res_mode()
1565 mode->cvt = cvt; in drm_mode_parse_cmdline_res_mode()
1889 if (cmd->cvt) in drm_mode_create_from_cmdline_mode()
Ddrm_edid.c2776 struct cvt_timing *cvt; in drm_cvt_modes() local
2782 cvt = &(timing->data.other_data.data.cvt[i]); in drm_cvt_modes()
2784 if (!memcmp(cvt->code, empty, 3)) in drm_cvt_modes()
2787 height = (cvt->code[0] + ((cvt->code[1] & 0xf0) << 4) + 1) * 2; in drm_cvt_modes()
2788 switch (cvt->code[1] & 0x0c) { in drm_cvt_modes()
2804 if (cvt->code[2] & (1 << j)) { in drm_cvt_modes()
/drivers/net/wireless/st/cw1200/
Dwsm.c42 #define __WSM_GET(buf, type, type2, cvt) \ argument
47 val = cvt(*(type2 *)(buf)->data); \
65 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
70 *(type2 *)(buf)->data = cvt(val); \
/drivers/gpu/drm/tiny/
Dgm12u320.c543 .data.other_data.data.range.formula.cvt = {