Home
last modified time | relevance | path

Searched refs:vic (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.12.1/drivers/gpu/drm/tegra/
Dvic.c29 struct vic { struct
45 static inline struct vic *to_vic(struct tegra_drm_client *client) in to_vic() argument
47 return container_of(client, struct vic, client); in to_vic()
50 static void vic_writel(struct vic *vic, u32 value, unsigned int offset) in vic_writel() argument
52 writel(value, vic->regs + offset); in vic_writel()
55 static int vic_boot(struct vic *vic) in vic_boot() argument
61 if (vic->config->supports_sid && tegra_dev_iommu_get_stream_id(vic->dev, &stream_id)) { in vic_boot()
66 vic_writel(vic, value, VIC_TFBIF_TRANSCFG); in vic_boot()
76 vic_writel(vic, stream_id, VIC_THI_STREAMID0); in vic_boot()
79 vic_writel(vic, stream_id, VIC_THI_STREAMID1); in vic_boot()
[all …]
DMakefile26 vic.o \
/linux-6.12.1/drivers/irqchip/
Dirq-aspeed-vic.c58 static void vic_init_hw(struct aspeed_vic *vic) in vic_init_hw() argument
63 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR); in vic_init_hw()
64 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR + 4); in vic_init_hw()
67 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR); in vic_init_hw()
68 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR + 4); in vic_init_hw()
71 writel(0, vic->base + AVIC_INT_SELECT); in vic_init_hw()
72 writel(0, vic->base + AVIC_INT_SELECT + 4); in vic_init_hw()
78 sense = readl(vic->base + AVIC_INT_SENSE); in vic_init_hw()
79 vic->edge_sources[0] = ~sense; in vic_init_hw()
80 sense = readl(vic->base + AVIC_INT_SENSE + 4); in vic_init_hw()
[all …]
Dirq-vic.c101 static void resume_one_vic(struct vic_device *vic) in resume_one_vic() argument
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()
115 writel(~vic->int_enable, base + VIC_INT_ENABLE_CLEAR); in resume_one_vic()
119 writel(vic->soft_int, base + VIC_INT_SOFT); in resume_one_vic()
120 writel(~vic->soft_int, base + VIC_INT_SOFT_CLEAR); in resume_one_vic()
131 static void suspend_one_vic(struct vic_device *vic) in suspend_one_vic() argument
133 void __iomem *base = vic->base; in suspend_one_vic()
[all …]
/linux-6.12.1/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c72 int vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_set_vclk() local
87 if (!vic) { in meson_encoder_hdmi_set_vclk()
101 if (meson_venc_hdmi_venc_repeat(vic) || in meson_encoder_hdmi_set_vclk()
129 int vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_mode_valid() local
142 if (!vic) { in meson_encoder_hdmi_mode_valid()
149 } else if (!meson_venc_hdmi_supported_vic(vic)) in meson_encoder_hdmi_mode_valid()
171 if (meson_venc_hdmi_venc_repeat(vic) || in meson_encoder_hdmi_mode_valid()
200 int vic; in meson_encoder_hdmi_atomic_enable() local
216 vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_atomic_enable()
218 dev_dbg(priv->dev, "\"%s\" vic %d\n", mode->name, vic); in meson_encoder_hdmi_atomic_enable()
[all …]
Dmeson_venc.h57 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,
Dmeson_venc.c820 unsigned int vic; member
881 bool meson_venc_hdmi_supported_vic(int vic) in meson_venc_hdmi_supported_vic() argument
885 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic()
886 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic()
920 static union meson_hdmi_venc_mode *meson_venc_hdmi_get_vic_vmode(int vic) in meson_venc_hdmi_get_vic_vmode() argument
924 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_get_vic_vmode()
925 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode()
933 bool meson_venc_hdmi_venc_repeat(int vic) in meson_venc_hdmi_venc_repeat() argument
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()
[all …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_edid.c4215 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) in cea_mode_for_vic() argument
4220 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_mode_for_vic()
4221 return &edid_cea_modes_1[vic - 1]; in cea_mode_for_vic()
4222 if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193)) in cea_mode_for_vic()
4223 return &edid_cea_modes_193[vic - 193]; in cea_mode_for_vic()
4232 static u8 cea_next_vic(u8 vic) in cea_next_vic() argument
4234 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_next_vic()
4235 vic = 193; in cea_next_vic()
4236 return vic; in cea_next_vic()
4265 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) in cea_mode_alternate_timings() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c25 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ member
231 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing()
331 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in rk3066_hdmi_setup()
334 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup()
335 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in rk3066_hdmi_setup()
336 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup()
337 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in rk3066_hdmi_setup()
487 u32 vic = drm_match_cea_mode(mode); in rk3066_hdmi_connector_mode_valid() local
489 if (vic > 1) in rk3066_hdmi_connector_mode_valid()
Dinno_hdmi.c528 u8 vic = drm_match_cea_mode(mode); in inno_hdmi_encoder_atomic_check() local
535 if (vic == 6 || vic == 7 || in inno_hdmi_encoder_atomic_check()
536 vic == 21 || vic == 22 || in inno_hdmi_encoder_atomic_check()
537 vic == 2 || vic == 3 || in inno_hdmi_encoder_atomic_check()
538 vic == 17 || vic == 18) in inno_hdmi_encoder_atomic_check()
/linux-6.12.1/arch/arm/boot/dts/st/
Dspear3xx.dtsi11 interrupt-parent = <&vic>;
34 vic: interrupt-controller@f1100000 { label
35 compatible = "arm,pl190-vic";
44 interrupt-parent = <&vic>;
Dspear600.dtsi33 compatible = "arm,pl190-vic";
40 compatible = "arm,pl190-vic";
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Dinterrupts.txt51 vic: intc@10140000 {
52 compatible = "arm,versatile-vic";
63 interrupt-parent = <&vic>;
64 interrupts = <31>; /* Cascaded to vic */
/linux-6.12.1/arch/arm/boot/dts/arm/
Dversatile-ab.dts9 interrupt-parent = <&vic>;
208 vic: interrupt-controller@10140000 { label
209 compatible = "arm,versatile-vic";
221 interrupt-parent = <&vic>;
222 interrupts = <31>; /* Cascaded to vic */
427 interrupts-extended = <&vic 22 &sic 1>;
/linux-6.12.1/arch/arm/boot/dts/hisilicon/
Dsd5203.dts13 interrupt-parent = <&vic>;
47 vic: interrupt-controller@10130000 { label
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c1401 int vic; in analogix_dp_bridge_mode_set() local
1409 vic = drm_match_cea_mode(mode); in analogix_dp_bridge_mode_set()
1410 if ((vic == 6) || (vic == 7) || (vic == 21) || (vic == 22) || in analogix_dp_bridge_mode_set()
1411 (vic == 2) || (vic == 3) || (vic == 17) || (vic == 18)) { in analogix_dp_bridge_mode_set()
1414 } else if (vic) { in analogix_dp_bridge_mode_set()
/linux-6.12.1/arch/arm/boot/dts/hpe/
Dhpe-gxp.dtsi63 compatible = "arm,pl192-vic";
70 compatible = "arm,pl192-vic";
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/vic/
DKbuild2 #nvkm-y += nvkm/engine/vic/base.o
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_connector_test.c1119 unsigned int vic = *(unsigned int *)test->param_value; in drm_test_connector_hdmi_compute_mode_clock_yuv420_valid() local
1121 mode = drm_kunit_display_mode_from_cea_vic(test, drm, vic); in drm_test_connector_hdmi_compute_mode_clock_yuv420_valid()
1135 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
1137 sprintf(desc, "VIC %u", *vic); in drm_hdmi_compute_mode_clock_yuv420_vic_desc()
1154 unsigned int vic = in drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc() local
1158 mode = drm_kunit_display_mode_from_cea_vic(test, drm, vic); in drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc()
1179 unsigned int vic = in drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc() local
1183 mode = drm_kunit_display_mode_from_cea_vic(test, drm, vic); in drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc()
/linux-6.12.1/arch/s390/kernel/
Dtraps.c197 int si_code, vic; in vector_exception() local
206 vic = (current->thread.ufpu.fpc & 0xf00) >> 8; in vector_exception()
207 switch (vic) { in vector_exception()
/linux-6.12.1/drivers/video/
Dhdmi.c557 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()
1531 if (hvf->vic == 0 && hvf->s3d_struct == HDMI_3D_STRUCTURE_INVALID) { in hdmi_vendor_any_infoframe_log()
1536 if (hvf->vic) in hdmi_vendor_any_infoframe_log()
1537 hdmi_log(" HDMI VIC: %u\n", hvf->vic); in hdmi_vendor_any_infoframe_log()
1804 hvf->vic = ptr[4]; in hdmi_vendor_any_infoframe_unpack()
/linux-6.12.1/drivers/gpu/drm/display/
Ddrm_hdmi_helper.c215 unsigned int vic = drm_match_cea_mode(mode); in drm_hdmi_compute_mode_clock() local
221 if (vic == 1 && bpc != 8) in drm_hdmi_compute_mode_clock()
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Dhdmi5_core.c373 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()
576 char vic = cfg->infoframe.video_code; in hdmi5_configure() local
579 range = vic > 1 ? HDMI_QUANTIZATION_RANGE_LIMITED : in hdmi5_configure()
/linux-6.12.1/arch/arm/boot/dts/samsung/
Ds3c64xx.dtsi49 compatible = "arm,pl192-vic";
56 compatible = "arm,pl192-vic";
/linux-6.12.1/include/media/
Dv4l2-dv-timings.h109 bool v4l2_find_dv_timings_cea861_vic(struct v4l2_dv_timings *t, u8 vic);

123