Home
last modified time | relevance | path

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

/Linux-v4.19/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.c702 int yres_specified = 0, cvt = 0, rb = 0; in fb_find_mode() local
716 if (cvt || rb) in fb_find_mode()
717 cvt = 0; in fb_find_mode()
727 if (cvt || rb) in fb_find_mode()
728 cvt = 0; in fb_find_mode()
744 cvt = 1; in fb_find_mode()
747 if (!cvt) in fb_find_mode()
751 if (!cvt) in fb_find_mode()
755 if (!cvt) { in fb_find_mode()
761 if (!cvt) { in fb_find_mode()
[all …]
/Linux-v4.19/sound/soc/codecs/
Dhdac_hdmi.c107 struct hdac_hdmi_cvt *cvt; member
121 struct hdac_hdmi_cvt *cvt; member
149 struct hdac_hdmi_cvt *cvt) in hdac_hdmi_get_pcm_from_cvt() argument
154 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt()
350 struct hdac_hdmi_cvt *cvt = pcm->cvt; in hdac_hdmi_setup_audio_infoframe() local
362 hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); in hdac_hdmi_setup_audio_infoframe()
438 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_tdm_slot()
473 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_hw_params()
522 struct hdac_hdmi_cvt *cvt) in hdac_hdmi_get_port_from_cvt() argument
529 if (pcm->cvt == cvt) { in hdac_hdmi_get_port_from_cvt()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_modes.c1446 bool yres_specified = false, cvt = false, rb = false; in drm_mode_parse_command_line_for_connector() local
1467 !yres_specified && !cvt && !rb && was_digit) { in drm_mode_parse_command_line_for_connector()
1475 if (!bpp_specified && !yres_specified && !cvt && in drm_mode_parse_command_line_for_connector()
1495 if (yres_specified || cvt || was_digit) in drm_mode_parse_command_line_for_connector()
1497 cvt = true; in drm_mode_parse_command_line_for_connector()
1500 if (yres_specified || cvt || rb || was_digit) in drm_mode_parse_command_line_for_connector()
1505 if (cvt || yres_specified || was_digit) in drm_mode_parse_command_line_for_connector()
1510 if (cvt || yres_specified || was_digit) in drm_mode_parse_command_line_for_connector()
1579 mode->cvt = cvt; in drm_mode_parse_command_line_for_connector()
1602 if (cmd->cvt) in drm_mode_create_from_cmdline_mode()
Ddrm_edid.c2704 struct cvt_timing *cvt; in drm_cvt_modes() local
2710 cvt = &(timing->data.other_data.data.cvt[i]); in drm_cvt_modes()
2712 if (!memcmp(cvt->code, empty, 3)) in drm_cvt_modes()
2715 height = (cvt->code[0] + ((cvt->code[1] & 0xf0) << 4) + 1) * 2; in drm_cvt_modes()
2716 switch (cvt->code[1] & 0x0c) { in drm_cvt_modes()
2732 if (cvt->code[2] & (1 << j)) { in drm_cvt_modes()
/Linux-v4.19/include/drm/
Ddrm_edid.h117 } __attribute__((packed)) cvt; member
150 struct cvt_timing cvt[4]; member
Ddrm_connector.h768 bool cvt; member
/Linux-v4.19/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); \