| /linux/drivers/video/fbdev/core/ |
| H A D | fbcvt.c | 73 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 …]
|
| /linux/sound/core/ |
| H A D | ump_convert.c | 245 static int cvt_legacy_sysex_to_ump(struct ump_cvt_to_ump *cvt, in cvt_legacy_sysex_to_ump() argument 249 bool start = cvt->in_sysex == 1; in cvt_legacy_sysex_to_ump() 260 *data = ump_compose(UMP_MSG_TYPE_DATA, group, status, cvt->len); in cvt_legacy_sysex_to_ump() 263 for (i = 0; i < cvt->len; i++) { in cvt_legacy_sysex_to_ump() 264 *data |= cvt->buf[i] << offset; in cvt_legacy_sysex_to_ump() 271 cvt->len = 0; in cvt_legacy_sysex_to_ump() 273 cvt->in_sysex = 0; in cvt_legacy_sysex_to_ump() 275 cvt->in_sysex++; in cvt_legacy_sysex_to_ump() 280 static int cvt_legacy_system_to_ump(struct ump_cvt_to_ump *cvt, in cvt_legacy_system_to_ump() 283 data[0] = ump_compose(UMP_MSG_TYPE_SYSTEM, group, 0, cvt in cvt_legacy_system_to_ump() 279 cvt_legacy_system_to_ump(struct ump_cvt_to_ump * cvt,unsigned char group,u32 * data) cvt_legacy_system_to_ump() argument 329 cvt_legacy_cmd_to_ump(struct ump_cvt_to_ump * cvt,unsigned char group,unsigned int protocol,u32 * data,unsigned char bytes) cvt_legacy_cmd_to_ump() argument 446 do_convert_to_ump(struct ump_cvt_to_ump * cvt,unsigned char group,unsigned int protocol,unsigned char c,u32 * data) do_convert_to_ump() argument 523 snd_ump_convert_to_ump(struct ump_cvt_to_ump * cvt,unsigned char group,unsigned int protocol,unsigned char c) snd_ump_convert_to_ump() argument [all...] |
| /linux/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 102 struct hdac_hdmi_cvt *cvt; 117 struct hdac_hdmi_cvt *cvt; 145 struct hdac_hdmi_cvt *cvt) in hdac_hdmi_get_pcm_from_cvt() 150 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt() 364 struct hdac_hdmi_cvt *cvt = pcm->cvt; in hdac_hdmi_setup_audio_infoframe() 376 hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); in hdac_hdmi_setup_audio_infoframe() 457 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_stream() 480 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_hw_params() 101 struct hdac_hdmi_cvt *cvt; global() member 116 struct hdac_hdmi_cvt *cvt; global() member 144 hdac_hdmi_get_pcm_from_cvt(struct hdac_hdmi_priv * hdmi,struct hdac_hdmi_cvt * cvt) hdac_hdmi_get_pcm_from_cvt() argument 363 struct hdac_hdmi_cvt *cvt = pcm->cvt; hdac_hdmi_setup_audio_infoframe() local 528 hdac_hdmi_get_port_from_cvt(struct hdac_device * hdev,struct hdac_hdmi_priv * hdmi,struct hdac_hdmi_cvt * cvt) hdac_hdmi_get_port_from_cvt() argument 568 struct hdac_hdmi_cvt *cvt; hdac_hdmi_verify_connect_sel_all_pins() local 594 struct hdac_hdmi_cvt *cvt; hdac_hdmi_pcm_open() local 655 hdac_hdmi_query_cvt_params(struct hdac_device * hdev,struct hdac_hdmi_cvt * cvt) hdac_hdmi_query_cvt_params() argument 816 struct hdac_hdmi_cvt *cvt = w->priv; hdac_hdmi_cvt_output_widget_event() local 969 struct hdac_hdmi_cvt *cvt; hdac_hdmi_create_pin_port_muxs() local 1079 struct hdac_hdmi_cvt *cvt; create_fill_widget_route_map() local 1179 struct hdac_hdmi_cvt *cvt; hdac_hdmi_init_dai_map() local 1205 struct hdac_hdmi_cvt *cvt; hdac_hdmi_add_cvt() local 1450 struct hdac_hdmi_cvt *cvt; hdac_hdmi_create_dais() local [all...] |
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_cmdline_parser_test.c | 27 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only() 45 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_not_digital() 67 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_hdmi() 89 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_dvi() 107 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_d_only() 129 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_res() 151 KUNIT_EXPECT_TRUE(test, mode.cvt); in drm_test_cmdline_res_vesa() 173 KUNIT_EXPECT_TRUE(test, mode.cvt); in drm_test_cmdline_res_vesa_rblank() 195 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_res_rblank() 218 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_res_bpp() [all …]
|
| /linux/include/sound/ |
| H A D | ump_convert.h | 37 void snd_ump_convert_to_ump(struct ump_cvt_to_ump *cvt, unsigned char group,
|
| /linux/lib/zlib_dfltcc/ |
| H A D | dfltcc.h | 47 unsigned cvt : 1; /* Check Value Type */ member
|
| H A D | dfltcc_inflate.c | 128 param->cvt = CVT_ADLER32; in dfltcc_inflate()
|
| H A D | dfltcc_deflate.c | 220 param->cvt = CVT_ADLER32; in dfltcc_deflate()
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | wsm.c | 42 #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); \
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_edid.c | 3182 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15); in is_rb() 3185 descriptor->data.other_data.data.range.formula.cvt.flags & DRM_EDID_CVT_FLAGS_REDUCED_BLANKING) in is_rb() 4047 const struct cvt_timing *cvt; in drm_cvt_modes() local 4054 cvt = &(timing->data.other_data.data.cvt[i]); in drm_cvt_modes() 4056 if (!memcmp(cvt->code, empty, 3)) in drm_cvt_modes() 4059 height = (cvt->code[0] + ((cvt->code[1] & 0xf0) << 4) + 1) * 2; in drm_cvt_modes() 4060 switch (cvt->code[1] & 0x0c) { in drm_cvt_modes() 4078 if (cvt->code[2] & (1 << j)) { in drm_cvt_modes()
|
| /linux/include/drm/ |
| H A D | drm_connector.h | 1916 bool cvt; member
|