| /drivers/gpu/drm/tegra/ |
| A D | vic.c | 29 struct vic { struct 55 static int vic_boot(struct vic *vic) in vic_boot() argument 123 struct vic *vic = to_vic(drm); in vic_init() local 171 struct vic *vic = to_vic(drm); in vic_exit() local 210 static int vic_load_firmware(struct vic *vic) in vic_load_firmware() argument 308 struct vic *vic = dev_get_drvdata(dev); in vic_runtime_resume() local 342 struct vic *vic = dev_get_drvdata(dev); in vic_runtime_suspend() local 361 struct vic *vic = to_vic(client); in vic_open_channel() local 377 struct vic *vic = to_vic(client); in vic_can_use_memory_ctx() local 452 struct vic *vic; in vic_probe() local [all …]
|
| A D | Makefile | 26 vic.o \
|
| /drivers/irqchip/ |
| A D | irq-aspeed-vic.c | 79 vic->edge_sources[0] = ~sense; in vic_init_hw() 81 vic->edge_sources[1] = ~sense; in vic_init_hw() 114 if (vic->edge_sources[sidx] & sbit) in avic_ack_irq() 147 if (vic->edge_sources[sidx] & sbit) in avic_mask_ack_irq() 174 irq_set_chip_data(irq, vic); in avic_map() 188 struct aspeed_vic *vic; in avic_of_init() local 200 if (WARN_ON(!vic)) { in avic_of_init() 204 vic->base = regs; in avic_of_init() 207 vic_init_hw(vic); in avic_of_init() 210 system_avic = vic; in avic_of_init() [all …]
|
| A D | irq-vic.c | 103 void __iomem *base = vic->base; in resume_one_vic() 110 writel(vic->int_select, base + VIC_INT_SELECT); in resume_one_vic() 111 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic() 114 writel(vic->int_enable, base + VIC_INT_ENABLE); in resume_one_vic() 119 writel(vic->soft_int, base + VIC_INT_SOFT); in resume_one_vic() 133 void __iomem *base = vic->base; in suspend_one_vic() 137 vic->int_select = readl(base + VIC_INT_SELECT); in suspend_one_vic() 138 vic->int_enable = readl(base + VIC_INT_ENABLE); in suspend_one_vic() 139 vic->soft_int = readl(base + VIC_INT_SOFT); in suspend_one_vic() 140 vic->protect = readl(base + VIC_PROTECT); in suspend_one_vic() [all …]
|
| A D | Makefile | 44 obj-$(CONFIG_ARM_VIC) += irq-vic.o 92 obj-$(CONFIG_ARCH_ASPEED) += irq-aspeed-vic.o irq-aspeed-i2c-ic.o irq-aspeed-scu-ic.o
|
| /drivers/gpu/drm/meson/ |
| A D | meson_encoder_hdmi.c | 73 int vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_set_vclk() local 88 if (!vic) { in meson_encoder_hdmi_set_vclk() 102 if (meson_venc_hdmi_venc_repeat(vic) || in meson_encoder_hdmi_set_vclk() 132 int vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_mode_valid() local 145 if (!vic) { in meson_encoder_hdmi_mode_valid() 152 } else if (!meson_venc_hdmi_supported_vic(vic)) in meson_encoder_hdmi_mode_valid() 174 if (meson_venc_hdmi_venc_repeat(vic) || in meson_encoder_hdmi_mode_valid() 203 int vic; in meson_encoder_hdmi_atomic_enable() local 219 vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_atomic_enable() 221 dev_dbg(priv->dev, "\"%s\" vic %d\n", mode->name, vic); in meson_encoder_hdmi_atomic_enable() [all …]
|
| A D | meson_venc.c | 820 unsigned int vic; member 886 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic() 925 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode() 936 if (vic == 6 || vic == 7 || /* 480i */ in meson_venc_hdmi_venc_repeat() 937 vic == 21 || vic == 22 || /* 576i */ in meson_venc_hdmi_venc_repeat() 938 vic == 17 || vic == 18 || /* 576p */ in meson_venc_hdmi_venc_repeat() 939 vic == 2 || vic == 3 || /* 480p */ in meson_venc_hdmi_venc_repeat() 940 vic == 4 || /* 720p60 */ in meson_venc_hdmi_venc_repeat() 941 vic == 19 || /* 720p50 */ in meson_venc_hdmi_venc_repeat() 942 vic == 5 || /* 1080i60 */ in meson_venc_hdmi_venc_repeat() [all …]
|
| A D | meson_venc.h | 57 bool meson_venc_hdmi_supported_vic(int vic); 58 bool meson_venc_hdmi_venc_repeat(int vic); 66 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic,
|
| /drivers/gpu/drm/ |
| A D | drm_edid.c | 4306 if (((vic == 8 || vic == 9 || in cea_mode_alternate_timings() 4308 ((vic == 23 || vic == 24 || in cea_mode_alternate_timings() 4324 u8 vic; in drm_match_cea_mode_clock_tolerance() local 4332 for (vic = 1; vic < cea_num_vics(); vic = cea_next_vic(vic)) { in drm_match_cea_mode_clock_tolerance() 4365 u8 vic; in drm_match_cea_mode() local 4373 for (vic = 1; vic < cea_num_vics(); vic = cea_next_vic(vic)) { in drm_match_cea_mode() 4431 u8 vic; in drm_match_hdmi_mode_clock_tolerance() local 4439 for (vic = 1; vic < ARRAY_SIZE(edid_4k_modes); vic++) { in drm_match_hdmi_mode_clock_tolerance() 4469 u8 vic; in drm_match_hdmi_mode() local 4477 for (vic = 1; vic < ARRAY_SIZE(edid_4k_modes); vic++) { in drm_match_hdmi_mode() [all …]
|
| /drivers/gpu/drm/rockchip/ |
| A D | rk3066_hdmi.c | 28 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ member 210 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing() 328 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in rk3066_hdmi_setup() 331 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup() 332 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in rk3066_hdmi_setup() 333 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup() 334 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in rk3066_hdmi_setup() 479 u32 vic = drm_match_cea_mode(mode); in rk3066_hdmi_bridge_mode_valid() local 481 if (vic > 1) in rk3066_hdmi_bridge_mode_valid()
|
| A D | inno_hdmi.c | 915 u8 vic = drm_match_cea_mode(mode); in inno_hdmi_encoder_atomic_check() local 922 if (vic == 6 || vic == 7 || in inno_hdmi_encoder_atomic_check() 923 vic == 21 || vic == 22 || in inno_hdmi_encoder_atomic_check() 924 vic == 2 || vic == 3 || in inno_hdmi_encoder_atomic_check() 925 vic == 17 || vic == 18) in inno_hdmi_encoder_atomic_check()
|
| /drivers/gpu/drm/bridge/analogix/ |
| A D | analogix_dp_core.c | 1307 int vic; in analogix_dp_bridge_mode_set() local 1315 vic = drm_match_cea_mode(mode); in analogix_dp_bridge_mode_set() 1316 if ((vic == 6) || (vic == 7) || (vic == 21) || (vic == 22) || in analogix_dp_bridge_mode_set() 1317 (vic == 2) || (vic == 3) || (vic == 17) || (vic == 18)) { in analogix_dp_bridge_mode_set() 1320 } else if (vic) { in analogix_dp_bridge_mode_set()
|
| /drivers/video/ |
| A D | hdmi.c | 557 else if (frame->vic != 0 || frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID) in hdmi_vendor_infoframe_length() 571 if (frame->vic != 0 && frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID) in hdmi_vendor_infoframe_check_only() 644 } else if (frame->vic) { in hdmi_vendor_infoframe_pack_only() 646 ptr[8] = frame->vic; in hdmi_vendor_infoframe_pack_only() 1503 if (hvf->vic == 0 && hvf->s3d_struct == HDMI_3D_STRUCTURE_INVALID) { in hdmi_vendor_any_infoframe_log() 1508 if (hvf->vic) in hdmi_vendor_any_infoframe_log() 1509 hdmi_log(" HDMI VIC: %u\n", hvf->vic); in hdmi_vendor_any_infoframe_log() 1776 hvf->vic = ptr[4]; in hdmi_vendor_any_infoframe_unpack()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/vic/ |
| A D | Kbuild | 2 #nvkm-y += nvkm/engine/vic/base.o
|
| /drivers/gpu/drm/omapdrm/dss/ |
| A D | hdmi5_core.c | 373 unsigned int vic; in hdmi_core_write_avi_infoframe() local 397 vic = ptr[3]; in hdmi_core_write_avi_infoframe() 412 hdmi_write_reg(base, HDMI_CORE_FC_AVIVID, vic); in hdmi_core_write_avi_infoframe() 559 char vic = cfg->infoframe.video_code; in hdmi5_configure() local 562 range = vic > 1 ? HDMI_QUANTIZATION_RANGE_LIMITED : in hdmi5_configure()
|
| /drivers/gpu/drm/tests/ |
| A D | drm_connector_test.c | 1639 unsigned int vic = *(unsigned int *)test->param_value; in drm_test_connector_hdmi_compute_mode_clock_yuv420_valid() local 1641 mode = drm_kunit_display_mode_from_cea_vic(test, drm, vic); in drm_test_connector_hdmi_compute_mode_clock_yuv420_valid() 1655 static void drm_hdmi_compute_mode_clock_yuv420_vic_desc(const unsigned int *vic, char *desc) in drm_hdmi_compute_mode_clock_yuv420_vic_desc() argument 1657 sprintf(desc, "VIC %u", *vic); in drm_hdmi_compute_mode_clock_yuv420_vic_desc() 1674 unsigned int vic = in drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc() local 1678 mode = drm_kunit_display_mode_from_cea_vic(test, drm, vic); in drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc() 1699 unsigned int vic = in drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc() local 1703 mode = drm_kunit_display_mode_from_cea_vic(test, drm, vic); in drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc()
|
| /drivers/gpu/drm/stm/ |
| A D | ltdc.c | 1001 int vic = drm_match_cea_mode(mode); in ltdc_crtc_mode_set_nofb() local 1004 if (vic == 6 || vic == 7 || vic == 21 || vic == 22 || in ltdc_crtc_mode_set_nofb() 1005 vic == 2 || vic == 3 || vic == 17 || vic == 18) in ltdc_crtc_mode_set_nofb()
|
| /drivers/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi.c | 147 int vic; member 2035 if (hdmi->vic == 39) in hdmi_av_composer() 2247 hdmi->vic = drm_match_cea_mode(mode); in dw_hdmi_setup() 2249 if (!hdmi->vic) { in dw_hdmi_setup() 2252 dev_dbg(hdmi->dev, "CEA mode used vic=%d\n", hdmi->vic); in dw_hdmi_setup() 2255 if ((hdmi->vic == 6) || (hdmi->vic == 7) || in dw_hdmi_setup() 2256 (hdmi->vic == 21) || (hdmi->vic == 22) || in dw_hdmi_setup() 2257 (hdmi->vic == 2) || (hdmi->vic == 3) || in dw_hdmi_setup() 2258 (hdmi->vic == 17) || (hdmi->vic == 18)) in dw_hdmi_setup()
|
| /drivers/gpu/drm/display/ |
| A D | drm_hdmi_helper.c | 216 unsigned int vic = drm_match_cea_mode(mode); in drm_hdmi_compute_mode_clock() local 222 if (vic == 1 && bpc != 8) in drm_hdmi_compute_mode_clock()
|
| A D | drm_dp_helper.c | 1600 u8 vic; in drm_dp_downstream_mode() local 1612 vic = 6; in drm_dp_downstream_mode() 1615 vic = 21; in drm_dp_downstream_mode() 1618 vic = 5; in drm_dp_downstream_mode() 1621 vic = 20; in drm_dp_downstream_mode() 1624 vic = 4; in drm_dp_downstream_mode() 1627 vic = 19; in drm_dp_downstream_mode() 1632 return drm_display_mode_from_cea_vic(dev, vic); in drm_dp_downstream_mode()
|
| A D | drm_hdmi_state_helper.c | 385 u8 vic = drm_match_cea_mode(mode); in sink_supports_format_bpc() local 397 if (vic == 1 && bpc != 8) { in sink_supports_format_bpc()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/ |
| A D | Kbuild | 23 include $(src)/nvkm/engine/vic/Kbuild
|
| /drivers/gpu/drm/nouveau/include/nvkm/core/ |
| A D | layout.h | 53 NVKM_LAYOUT_ONCE(NVKM_ENGINE_VIC , struct nvkm_engine , vic)
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | hdmi5_core.c | 415 unsigned vic; in hdmi_core_write_avi_infoframe() local 439 vic = ptr[3]; in hdmi_core_write_avi_infoframe() 454 hdmi_write_reg(base, HDMI_CORE_FC_AVIVID, vic); in hdmi_core_write_avi_infoframe()
|
| /drivers/media/v4l2-core/ |
| A D | v4l2-dv-timings.c | 239 bool v4l2_find_dv_timings_cea861_vic(struct v4l2_dv_timings *t, u8 vic) in v4l2_find_dv_timings_cea861_vic() argument 248 bt->cea861_vic == vic) { in v4l2_find_dv_timings_cea861_vic() 904 bool is_ce = avi->video_code || (hdmi && hdmi->vic); in v4l2_hdmi_rx_colorimetry()
|