Home
last modified time | relevance | path

Searched refs:cvt (Results 1 – 5 of 5) 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.c700 int yres_specified = 0, cvt = 0, rb = 0, interlace = 0; in fb_find_mode() local
713 if (cvt || rb) in fb_find_mode()
714 cvt = 0; in fb_find_mode()
724 if (cvt || rb) in fb_find_mode()
725 cvt = 0; in fb_find_mode()
741 cvt = 1; in fb_find_mode()
744 if (!cvt) in fb_find_mode()
748 if (!cvt) in fb_find_mode()
752 if (!cvt) in fb_find_mode()
764 if (cvt) { in fb_find_mode()
/drivers/gpu/drm/
Ddrm_modes.c1293 bool yres_specified = false, cvt = false, rb = false; in drm_mode_parse_command_line_for_connector() local
1314 !yres_specified && !cvt && !rb && was_digit) { in drm_mode_parse_command_line_for_connector()
1322 if (!bpp_specified && !yres_specified && !cvt && in drm_mode_parse_command_line_for_connector()
1342 if (yres_specified || cvt || was_digit) in drm_mode_parse_command_line_for_connector()
1344 cvt = true; in drm_mode_parse_command_line_for_connector()
1347 if (yres_specified || cvt || rb || was_digit) in drm_mode_parse_command_line_for_connector()
1352 if (cvt || yres_specified || was_digit) in drm_mode_parse_command_line_for_connector()
1357 if (cvt || yres_specified || was_digit) in drm_mode_parse_command_line_for_connector()
1426 mode->cvt = cvt; in drm_mode_parse_command_line_for_connector()
1449 if (cmd->cvt) in drm_mode_create_from_cmdline_mode()
Ddrm_edid.c2400 struct cvt_timing *cvt; in drm_cvt_modes() local
2406 cvt = &(timing->data.other_data.data.cvt[i]); in drm_cvt_modes()
2408 if (!memcmp(cvt->code, empty, 3)) in drm_cvt_modes()
2411 height = (cvt->code[0] + ((cvt->code[1] & 0xf0) << 4) + 1) * 2; in drm_cvt_modes()
2412 switch (cvt->code[1] & 0x0c) { in drm_cvt_modes()
2428 if (cvt->code[2] & (1 << j)) { in drm_cvt_modes()
/drivers/net/wireless/st/cw1200/
Dwsm.c45 #define __WSM_GET(buf, type, type2, cvt) \ argument
50 val = cvt(*(type2 *)(buf)->data); \
68 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
73 *(type2 *)(buf)->data = cvt(val); \