| /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() 262 for (i = 0; i < cvt->len; i++) { in cvt_legacy_sysex_to_ump() 263 *data |= cvt->buf[i] << offset; in cvt_legacy_sysex_to_ump() 270 cvt->len = 0; in cvt_legacy_sysex_to_ump() 272 cvt->in_sysex = 0; in cvt_legacy_sysex_to_ump() 274 cvt->in_sysex++; in cvt_legacy_sysex_to_ump() 279 static int cvt_legacy_system_to_ump(struct ump_cvt_to_ump *cvt, in cvt_legacy_system_to_ump() argument 282 data[0] = ump_compose(UMP_MSG_TYPE_SYSTEM, group, 0, cvt->buf[0]); in cvt_legacy_system_to_ump() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 101 struct hdac_hdmi_cvt *cvt; member 116 struct hdac_hdmi_cvt *cvt; member 144 struct hdac_hdmi_cvt *cvt) in hdac_hdmi_get_pcm_from_cvt() argument 149 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt() 363 struct hdac_hdmi_cvt *cvt = pcm->cvt; in hdac_hdmi_setup_audio_infoframe() local 375 hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); in hdac_hdmi_setup_audio_infoframe() 456 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_stream() 479 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_hw_params() 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/gpu/drm/ |
| H A D | drm_modes.c | 2033 bool rb = false, cvt = false; in drm_mode_parse_cmdline_res_mode() local 2058 cvt = true; in drm_mode_parse_cmdline_res_mode() 2085 mode->cvt = cvt; in drm_mode_parse_cmdline_res_mode() 2550 else if (cmd->cvt) in drm_mode_create_from_cmdline_mode()
|
| /linux/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-cap.c | 1465 struct v4l2_dv_timings cvt = {}; in valid_cvt_gtf_timings() local 1469 &vivid_dv_timings_cap, &cvt) && in valid_cvt_gtf_timings() 1470 cvt.bt.width == bt->width && cvt.bt.height == bt->height) { in valid_cvt_gtf_timings() 1471 *timings = cvt; in valid_cvt_gtf_timings()
|
| /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/usb/gadget/function/ |
| H A D | f_midi2.c | 1056 struct ump_cvt_to_ump *cvt = &midi2->midi1_ump_cvt; in f_midi2_midi1_ep_out_complete() local 1079 snd_ump_convert_to_ump(cvt, group, in f_midi2_midi1_ep_out_complete() 1082 if (cvt->ump_bytes) { in f_midi2_midi1_ep_out_complete() 1083 snd_ump_receive(ep->ump, cvt->ump, in f_midi2_midi1_ep_out_complete() 1084 cvt->ump_bytes); in f_midi2_midi1_ep_out_complete() 1085 cvt->ump_bytes = 0; in f_midi2_midi1_ep_out_complete()
|