Home
last modified time | relevance | path

Searched refs:avi (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgk104.c57 struct packed_hdmi_infoframe avi; in gk104_sor_hdmi_infoframe_avi() local
60 pack_hdmi_infoframe(&avi, data, size); in gk104_sor_hdmi_infoframe_avi()
67 nvkm_wr32(device, 0x690008 + hoff, avi.header); in gk104_sor_hdmi_infoframe_avi()
68 nvkm_wr32(device, 0x69000c + hoff, avi.subpack0_low); in gk104_sor_hdmi_infoframe_avi()
69 nvkm_wr32(device, 0x690010 + hoff, avi.subpack0_high); in gk104_sor_hdmi_infoframe_avi()
70 nvkm_wr32(device, 0x690014 + hoff, avi.subpack1_low); in gk104_sor_hdmi_infoframe_avi()
71 nvkm_wr32(device, 0x690018 + hoff, avi.subpack1_high); in gk104_sor_hdmi_infoframe_avi()
Dg84.c59 struct packed_hdmi_infoframe avi; in g84_sor_hdmi_infoframe_avi() local
62 pack_hdmi_infoframe(&avi, data, size); in g84_sor_hdmi_infoframe_avi()
68 nvkm_wr32(device, 0x616528 + hoff, avi.header); in g84_sor_hdmi_infoframe_avi()
69 nvkm_wr32(device, 0x61652c + hoff, avi.subpack0_low); in g84_sor_hdmi_infoframe_avi()
70 nvkm_wr32(device, 0x616530 + hoff, avi.subpack0_high); in g84_sor_hdmi_infoframe_avi()
71 nvkm_wr32(device, 0x616534 + hoff, avi.subpack1_low); in g84_sor_hdmi_infoframe_avi()
72 nvkm_wr32(device, 0x616538 + hoff, avi.subpack1_high); in g84_sor_hdmi_infoframe_avi()
Dgt215.c122 struct packed_hdmi_infoframe avi; in gt215_sor_hdmi_infoframe_avi() local
125 pack_hdmi_infoframe(&avi, data, size); in gt215_sor_hdmi_infoframe_avi()
131 nvkm_wr32(device, 0x61c528 + soff, avi.header); in gt215_sor_hdmi_infoframe_avi()
132 nvkm_wr32(device, 0x61c52c + soff, avi.subpack0_low); in gt215_sor_hdmi_infoframe_avi()
133 nvkm_wr32(device, 0x61c530 + soff, avi.subpack0_high); in gt215_sor_hdmi_infoframe_avi()
134 nvkm_wr32(device, 0x61c534 + soff, avi.subpack1_low); in gt215_sor_hdmi_infoframe_avi()
135 nvkm_wr32(device, 0x61c538 + soff, avi.subpack1_high); in gt215_sor_hdmi_infoframe_avi()
Dgf119.c234 struct packed_hdmi_infoframe avi; in gf119_sor_hdmi_infoframe_avi() local
237 pack_hdmi_infoframe(&avi, data, size); in gf119_sor_hdmi_infoframe_avi()
243 nvkm_wr32(device, 0x61671c + hoff, avi.header); in gf119_sor_hdmi_infoframe_avi()
244 nvkm_wr32(device, 0x616720 + hoff, avi.subpack0_low); in gf119_sor_hdmi_infoframe_avi()
245 nvkm_wr32(device, 0x616724 + hoff, avi.subpack0_high); in gf119_sor_hdmi_infoframe_avi()
246 nvkm_wr32(device, 0x616728 + hoff, avi.subpack1_low); in gf119_sor_hdmi_infoframe_avi()
247 nvkm_wr32(device, 0x61672c + hoff, avi.subpack1_high); in gf119_sor_hdmi_infoframe_avi()
Dgv100.c127 struct packed_hdmi_infoframe avi; in gv100_sor_hdmi_infoframe_avi() local
130 pack_hdmi_infoframe(&avi, data, size); in gv100_sor_hdmi_infoframe_avi()
136 nvkm_wr32(device, 0x6f0008 + hoff, avi.header); in gv100_sor_hdmi_infoframe_avi()
137 nvkm_wr32(device, 0x6f000c + hoff, avi.subpack0_low); in gv100_sor_hdmi_infoframe_avi()
138 nvkm_wr32(device, 0x6f0010 + hoff, avi.subpack0_high); in gv100_sor_hdmi_infoframe_avi()
139 nvkm_wr32(device, 0x6f0014 + hoff, avi.subpack1_low); in gv100_sor_hdmi_infoframe_avi()
140 nvkm_wr32(device, 0x6f0018 + hoff, avi.subpack1_high); in gv100_sor_hdmi_infoframe_avi()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_lspcon.c528 ret = drm_hdmi_avi_infoframe_from_display_mode(&frame.avi, in lspcon_set_infoframes()
546 frame.avi.colorspace = HDMI_COLORSPACE_YUV420; in lspcon_set_infoframes()
548 frame.avi.colorspace = HDMI_COLORSPACE_RGB; in lspcon_set_infoframes()
551 drm_hdmi_avi_infoframe_colorimetry(&frame.avi, conn_state); in lspcon_set_infoframes()
558 drm_hdmi_avi_infoframe_quant_range(&frame.avi, in lspcon_set_infoframes()
565 frame.avi.quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT; in lspcon_set_infoframes()
566 frame.avi.ycc_quantization_range = HDMI_YCC_QUANTIZATION_RANGE_LIMITED; in lspcon_set_infoframes()
569 drm_hdmi_avi_infoframe_content_type(&frame.avi, conn_state); in lspcon_set_infoframes()
Dintel_hdmi.c698 struct hdmi_avi_infoframe *frame = &crtc_state->infoframes.avi.avi; in intel_hdmi_compute_avi_infoframe()
908 &crtc_state->infoframes.avi); in g4x_set_infoframes()
1081 &crtc_state->infoframes.avi); in ibx_set_infoframes()
1130 &crtc_state->infoframes.avi); in cpt_set_infoframes()
1188 &crtc_state->infoframes.avi); in vlv_set_infoframes()
1228 &crtc_state->infoframes.avi); in hsw_set_infoframes()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-dv-timings.c882 v4l2_hdmi_rx_colorimetry(const struct hdmi_avi_infoframe *avi, in v4l2_hdmi_rx_colorimetry() argument
892 bool is_ce = avi->video_code || (hdmi && hdmi->vic); in v4l2_hdmi_rx_colorimetry()
894 bool default_is_lim_range_rgb = avi->video_code > 1; in v4l2_hdmi_rx_colorimetry()
896 switch (avi->colorspace) { in v4l2_hdmi_rx_colorimetry()
899 switch (avi->colorimetry) { in v4l2_hdmi_rx_colorimetry()
901 switch (avi->extended_colorimetry) { in v4l2_hdmi_rx_colorimetry()
917 switch (avi->quantization_range) { in v4l2_hdmi_rx_colorimetry()
933 switch (avi->colorimetry) { in v4l2_hdmi_rx_colorimetry()
957 switch (avi->extended_colorimetry) { in v4l2_hdmi_rx_colorimetry()
/linux-6.6.21/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c201 rc = drm_hdmi_avi_infoframe_from_display_mode(&frame.avi, in rk3066_hdmi_config_avi()
205 frame.avi.colorspace = HDMI_COLORSPACE_YUV444; in rk3066_hdmi_config_avi()
207 frame.avi.colorspace = HDMI_COLORSPACE_YUV422; in rk3066_hdmi_config_avi()
209 frame.avi.colorspace = HDMI_COLORSPACE_RGB; in rk3066_hdmi_config_avi()
211 frame.avi.colorimetry = hdmi->hdmi_data.colorimetry; in rk3066_hdmi_config_avi()
212 frame.avi.scan_mode = HDMI_SCAN_MODE_NONE; in rk3066_hdmi_config_avi()
Dinno_hdmi.c300 rc = drm_hdmi_avi_infoframe_from_display_mode(&frame.avi, in inno_hdmi_config_video_avi()
305 frame.avi.colorspace = HDMI_COLORSPACE_YUV444; in inno_hdmi_config_video_avi()
307 frame.avi.colorspace = HDMI_COLORSPACE_YUV422; in inno_hdmi_config_video_avi()
309 frame.avi.colorspace = HDMI_COLORSPACE_RGB; in inno_hdmi_config_video_avi()
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/displays/
Dconnector-hdmi.c174 const struct hdmi_avi_infoframe *avi) in hdmic_set_infoframe() argument
179 return in->ops.hdmi->set_infoframe(in, avi); in hdmic_set_infoframe()
Dencoder-tpd12s015.c166 const struct hdmi_avi_infoframe *avi) in tpd_set_infoframe() argument
171 return in->ops.hdmi->set_infoframe(in, avi); in tpd_set_infoframe()
/linux-6.6.21/include/media/
Dv4l2-dv-timings.h244 v4l2_hdmi_rx_colorimetry(const struct hdmi_avi_infoframe *avi,
/linux-6.6.21/drivers/video/
Dhdmi.c911 return hdmi_avi_infoframe_check(&frame->avi); in hdmi_infoframe_check()
946 length = hdmi_avi_infoframe_pack_only(&frame->avi, in hdmi_infoframe_pack_only()
999 length = hdmi_avi_infoframe_pack(&frame->avi, buffer, size); in hdmi_infoframe_pack()
1565 hdmi_avi_infoframe_log(level, dev, &frame->avi); in hdmi_infoframe_log()
1934 ret = hdmi_avi_infoframe_unpack(&frame->avi, buffer, size); in hdmi_infoframe_unpack()
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
Dhdmi5.c372 struct hdmi_avi_infoframe avi; in hdmi5_bridge_enable() local
375 ret = drm_hdmi_avi_infoframe_from_display_mode(&avi, connector, in hdmi5_bridge_enable()
378 hdmi->cfg.infoframe = avi; in hdmi5_bridge_enable()
Dhdmi4.c374 struct hdmi_avi_infoframe avi; in hdmi4_bridge_enable() local
377 ret = drm_hdmi_avi_infoframe_from_display_mode(&avi, connector, in hdmi4_bridge_enable()
380 hdmi->cfg.infoframe = avi; in hdmi4_bridge_enable()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c734 if (info_frame->avi.valid) { in dce110_stream_encoder_update_hdmi_info_packets()
736 (const uint32_t *) &info_frame->avi.sb[0]; in dce110_stream_encoder_update_hdmi_info_packets()
750 info_frame->avi.hb1); in dce110_stream_encoder_update_hdmi_info_packets()
779 dce110_update_hdmi_info_packet(enc110, 0, &info_frame->avi); in dce110_stream_encoder_update_hdmi_info_packets()
/linux-6.6.21/drivers/media/i2c/
Dtda1997x.c648 struct hdmi_avi_infoframe *avi = &state->avi_infoframe; in tda1997x_configure_csc() local
662 hdmi_colorspace_names[avi->colorspace], in tda1997x_configure_csc()
1341 state->avi_infoframe = frame.avi; in tda1997x_parse_infoframe()
1347 if (frame.avi.colorspace == HDMI_COLORSPACE_YUV422) in tda1997x_parse_infoframe()
1354 reg |= frame.avi.pixel_repeat; in tda1997x_parse_infoframe()
1968 struct hdmi_avi_infoframe *avi = &state->avi_infoframe; in tda1997x_log_status() local
1995 hdmi_colorspace_names[avi->colorspace], in tda1997x_log_status()
1996 (avi->colorspace == HDMI_COLORSPACE_RGB) ? "" : in tda1997x_log_status()
1997 hdmi_colorimetry_names[avi->colorimetry], in tda1997x_log_status()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h82 struct dc_info_packet avi; member
/linux-6.6.21/include/video/
Domapfb_dss.h538 const struct hdmi_avi_infoframe *avi);
738 const struct hdmi_avi_infoframe *avi);
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi4.c475 const struct hdmi_avi_infoframe *avi) in hdmi_set_infoframe() argument
477 hdmi.cfg.infoframe = *avi; in hdmi_set_infoframe()
Dhdmi5.c507 const struct hdmi_avi_infoframe *avi) in hdmi_set_infoframe() argument
509 hdmi.cfg.infoframe = *avi; in hdmi_set_infoframe()
/linux-6.6.21/include/linux/
Dhdmi.h428 struct hdmi_avi_infoframe avi; member
/linux-6.6.21/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c88 drm_hdmi_avi_infoframe_from_display_mode(&frame.avi, in msm_hdmi_config_avi_infoframe()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.c155 enc2_update_hdmi_info_packet(enc1, 0, &info_frame->avi); in enc2_stream_encoder_update_hdmi_info_packets()

12