Home
last modified time | relevance | path

Searched refs:cvt (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A 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 in fb_cvt_hperiod()
91 fb_cvt_ideal_duty_cycle(struct fb_cvt_data *cvt) fb_cvt_ideal_duty_cycle() argument
101 fb_cvt_hblank(struct fb_cvt_data *cvt) fb_cvt_hblank() argument
125 fb_cvt_hsync(struct fb_cvt_data *cvt) fb_cvt_hsync() argument
138 fb_cvt_vbi_lines(struct fb_cvt_data *cvt) fb_cvt_vbi_lines() argument
162 fb_cvt_vtotal(struct fb_cvt_data *cvt) fb_cvt_vtotal() argument
172 fb_cvt_pixclock(struct fb_cvt_data *cvt) fb_cvt_pixclock() argument
188 fb_cvt_aspect_ratio(struct fb_cvt_data *cvt) fb_cvt_aspect_ratio() argument
214 fb_cvt_print_name(struct fb_cvt_data *cvt) fb_cvt_print_name() argument
259 fb_cvt_convert_to_mode(struct fb_cvt_data *cvt, struct fb_videomode *mode) fb_cvt_convert_to_mode() argument
296 struct fb_cvt_data cvt; fb_find_mode_cvt() local
[all...]
H A Dmodedb.c650 int yres_specified = 0, cvt = 0, rb = 0; in fb_find_mode() local
664 if (cvt || rb) in fb_find_mode()
665 cvt = 0; in fb_find_mode()
675 if (cvt || rb) in fb_find_mode()
676 cvt = 0; in fb_find_mode()
692 cvt = 1; in fb_find_mode()
695 if (!cvt) in fb_find_mode()
699 if (!cvt) in fb_find_mode()
703 if (!cvt) { in fb_find_mode()
709 if (!cvt) { in fb_find_mode()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A 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 in fb_cvt_hperiod()
91 fb_cvt_ideal_duty_cycle(struct fb_cvt_data *cvt) fb_cvt_ideal_duty_cycle() argument
101 fb_cvt_hblank(struct fb_cvt_data *cvt) fb_cvt_hblank() argument
125 fb_cvt_hsync(struct fb_cvt_data *cvt) fb_cvt_hsync() argument
138 fb_cvt_vbi_lines(struct fb_cvt_data *cvt) fb_cvt_vbi_lines() argument
162 fb_cvt_vtotal(struct fb_cvt_data *cvt) fb_cvt_vtotal() argument
172 fb_cvt_pixclock(struct fb_cvt_data *cvt) fb_cvt_pixclock() argument
188 fb_cvt_aspect_ratio(struct fb_cvt_data *cvt) fb_cvt_aspect_ratio() argument
214 fb_cvt_print_name(struct fb_cvt_data *cvt) fb_cvt_print_name() argument
259 fb_cvt_convert_to_mode(struct fb_cvt_data *cvt, struct fb_videomode *mode) fb_cvt_convert_to_mode() argument
296 struct fb_cvt_data cvt; fb_find_mode_cvt() local
[all...]
H A Dmodedb.c653 int yres_specified = 0, cvt = 0, rb = 0; in fb_find_mode() local
667 if (cvt || rb) in fb_find_mode()
668 cvt = 0; in fb_find_mode()
678 if (cvt || rb) in fb_find_mode()
679 cvt = 0; in fb_find_mode()
695 cvt = 1; in fb_find_mode()
698 if (!cvt) in fb_find_mode()
702 if (!cvt) in fb_find_mode()
706 if (!cvt) { in fb_find_mode()
712 if (!cvt) { in fb_find_mode()
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dump_convert.c245 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 in cvt_legacy_system_to_ump()
312 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
423 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
500 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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
H A 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...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dhdac_hdmi.c102 struct hdac_hdmi_cvt *cvt; member
117 struct hdac_hdmi_cvt *cvt; member
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() local
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()
479 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_hw_params()
144 hdac_hdmi_get_pcm_from_cvt(struct hdac_hdmi_priv *hdmi, struct hdac_hdmi_cvt *cvt) hdac_hdmi_get_pcm_from_cvt() argument
525 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
815 struct hdac_hdmi_cvt *cvt = w->priv; hdac_hdmi_cvt_output_widget_event() local
968 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
1564 struct hdac_hdmi_cvt *cvt; hdac_hdmi_create_dais() local
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dhdac_hdmi.c102 struct hdac_hdmi_cvt *cvt; member
117 struct hdac_hdmi_cvt *cvt; member
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() local
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()
479 pcm = hdac_hdmi_get_pcm_from_cvt(hdmi, dai_map->cvt); in hdac_hdmi_set_hw_params()
144 hdac_hdmi_get_pcm_from_cvt(struct hdac_hdmi_priv *hdmi, struct hdac_hdmi_cvt *cvt) hdac_hdmi_get_pcm_from_cvt() argument
525 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
815 struct hdac_hdmi_cvt *cvt = w->priv; hdac_hdmi_cvt_output_widget_event() local
968 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
1564 struct hdac_hdmi_cvt *cvt; hdac_hdmi_create_dais() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_cmdline_parser_test.c26 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only()
44 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_not_digital()
66 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_hdmi()
88 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_dvi()
106 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_d_only()
128 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_res()
150 KUNIT_EXPECT_TRUE(test, mode.cvt); in drm_test_cmdline_res_vesa()
172 KUNIT_EXPECT_TRUE(test, mode.cvt); in drm_test_cmdline_res_vesa_rblank()
194 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_res_rblank()
217 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_res_bpp()
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dump_convert.h36 void snd_ump_convert_to_ump(struct ump_cvt_to_ump *cvt, unsigned char group,
/kernel/linux/linux-6.6/lib/zlib_dfltcc/
H A Ddfltcc.h47 unsigned cvt : 1; /* Check Value Type */ member
H A Ddfltcc_inflate.c128 param->cvt = CVT_ADLER32; in dfltcc_inflate()
H A Ddfltcc_deflate.c220 param->cvt = CVT_ADLER32; in dfltcc_deflate()
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_edid.h123 } __attribute__((packed)) cvt; member
156 struct cvt_timing cvt[4]; member
H A Ddrm_connector.h1123 * @cvt:
1128 bool cvt; member
/kernel/linux/linux-5.10/lib/zlib_dfltcc/
H A Ddfltcc.h47 unsigned cvt : 1; /* Check Value Type */ member
H A Ddfltcc_inflate.c122 param->cvt = CVT_ADLER32; in dfltcc_inflate()
H A Ddfltcc_deflate.c189 param->cvt = CVT_ADLER32; in dfltcc_deflate()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_modes.c1485 bool rb = false, cvt = false; in drm_mode_parse_cmdline_res_mode() local
1510 cvt = true; in drm_mode_parse_cmdline_res_mode()
1537 mode->cvt = cvt; in drm_mode_parse_cmdline_res_mode()
1868 if (cmd->cvt) in drm_mode_create_from_cmdline_mode()
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_edid.h132 } __attribute__((packed)) cvt; member
165 struct cvt_timing cvt[4]; member
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_modes.c2031 bool rb = false, cvt = false; in drm_mode_parse_cmdline_res_mode() local
2056 cvt = true; in drm_mode_parse_cmdline_res_mode()
2083 mode->cvt = cvt; in drm_mode_parse_cmdline_res_mode()
2548 else if (cmd->cvt) in drm_mode_create_from_cmdline_mode()
H A Ddrm_edid.c3099 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15); in is_rb()
3102 descriptor->data.other_data.data.range.formula.cvt.flags & DRM_EDID_CVT_FLAGS_REDUCED_BLANKING) in is_rb()
3964 const struct cvt_timing *cvt; in drm_cvt_modes() local
3971 cvt = &(timing->data.other_data.data.cvt[i]); in drm_cvt_modes()
3973 if (!memcmp(cvt->code, empty, 3)) in drm_cvt_modes()
3976 height = (cvt->code[0] + ((cvt->code[1] & 0xf0) << 4) + 1) * 2; in drm_cvt_modes()
3977 switch (cvt->code[1] & 0x0c) { in drm_cvt_modes()
3995 if (cvt in drm_cvt_modes()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_midi2.c1045 struct ump_cvt_to_ump *cvt = &midi2->midi1_ump_cvt; in f_midi2_midi1_ep_out_complete() local
1068 snd_ump_convert_to_ump(cvt, group, ep->info.protocol, in f_midi2_midi1_ep_out_complete()
1070 if (cvt->ump_bytes) { in f_midi2_midi1_ep_out_complete()
1071 snd_ump_receive(ep->ump, cvt->ump, in f_midi2_midi1_ep_out_complete()
1072 cvt->ump_bytes); in f_midi2_midi1_ep_out_complete()
1073 cvt->ump_bytes = 0; in f_midi2_midi1_ep_out_complete()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Dwsm.c42 #define __WSM_GET(buf, type, type2, cvt) \
47 val = cvt(*(type2 *)(buf)->data); \
65 #define __WSM_PUT(buf, val, type, type2, cvt) \
70 *(type2 *)(buf)->data = cvt(val); \
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Dwsm.c42 #define __WSM_GET(buf, type, type2, cvt) \
47 val = cvt(*(type2 *)(buf)->data); \
65 #define __WSM_PUT(buf, val, type, type2, cvt) \
70 *(type2 *)(buf)->data = cvt(val); \

Completed in 39 milliseconds

12