Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/gpu/drm/tegra/
Dvic.c30 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()
57 struct vic *vic = dev_get_drvdata(dev); in vic_runtime_resume() local
60 err = clk_prepare_enable(vic->clk); in vic_runtime_resume()
66 err = reset_control_deassert(vic->rst); in vic_runtime_resume()
75 clk_disable_unprepare(vic->clk); in vic_runtime_resume()
81 struct vic *vic = dev_get_drvdata(dev); in vic_runtime_suspend() local
[all …]
DMakefile23 vic.o
/Linux-v5.10/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.c102 static void resume_one_vic(struct vic_device *vic) in resume_one_vic() argument
104 void __iomem *base = vic->base; in resume_one_vic()
111 writel(vic->int_select, base + VIC_INT_SELECT); in resume_one_vic()
112 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
115 writel(vic->int_enable, base + VIC_INT_ENABLE); in resume_one_vic()
116 writel(~vic->int_enable, base + VIC_INT_ENABLE_CLEAR); in resume_one_vic()
120 writel(vic->soft_int, base + VIC_INT_SOFT); in resume_one_vic()
121 writel(~vic->soft_int, base + VIC_INT_SOFT_CLEAR); in resume_one_vic()
132 static void suspend_one_vic(struct vic_device *vic) in suspend_one_vic() argument
134 void __iomem *base = vic->base; in suspend_one_vic()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/interrupt-controller/
Daspeed,ast2400-vic.txt9 - compatible : "aspeed,ast2400-vic"
10 "aspeed,ast2500-vic"
18 vic: interrupt-controller@1e6c0080 {
19 compatible = "aspeed,ast2400-vic";
Darm,vic.txt10 "arm,pl190-vic"
11 "arm,pl192-vic"
34 compatible = "arm,pl192-vic";
Dinterrupts.txt51 vic: intc@10140000 {
52 compatible = "arm,versatile-vic";
63 interrupt-parent = <&vic>;
64 interrupts = <31>; /* Cascaded to vic */
/Linux-v5.10/drivers/gpu/drm/
Ddrm_edid.c3321 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) in cea_mode_for_vic() argument
3326 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_mode_for_vic()
3327 return &edid_cea_modes_1[vic - 1]; in cea_mode_for_vic()
3328 if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193)) in cea_mode_for_vic()
3329 return &edid_cea_modes_193[vic - 193]; in cea_mode_for_vic()
3338 static u8 cea_next_vic(u8 vic) in cea_next_vic() argument
3340 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_next_vic()
3341 vic = 193; in cea_next_vic()
3342 return vic; in cea_next_vic()
3371 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) in cea_mode_alternate_timings() argument
[all …]
Ddrm_dp_helper.c891 u8 vic; in drm_dp_downstream_mode() local
903 vic = 6; in drm_dp_downstream_mode()
906 vic = 21; in drm_dp_downstream_mode()
909 vic = 5; in drm_dp_downstream_mode()
912 vic = 20; in drm_dp_downstream_mode()
915 vic = 4; in drm_dp_downstream_mode()
918 vic = 19; in drm_dp_downstream_mode()
923 return drm_display_mode_from_cea_vic(dev, vic); in drm_dp_downstream_mode()
/Linux-v5.10/drivers/gpu/drm/meson/
Dmeson_venc.h53 bool meson_venc_hdmi_supported_vic(int vic);
54 bool meson_venc_hdmi_venc_repeat(int vic);
62 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic,
Dmeson_venc.c818 unsigned int vic; member
879 bool meson_venc_hdmi_supported_vic(int vic) in meson_venc_hdmi_supported_vic() argument
883 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic()
884 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic()
918 static union meson_hdmi_venc_mode *meson_venc_hdmi_get_vic_vmode(int vic) in meson_venc_hdmi_get_vic_vmode() argument
922 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_get_vic_vmode()
923 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode()
931 bool meson_venc_hdmi_venc_repeat(int vic) in meson_venc_hdmi_venc_repeat() argument
934 if (vic == 6 || vic == 7 || /* 480i */ in meson_venc_hdmi_venc_repeat()
935 vic == 21 || vic == 22 || /* 576i */ in meson_venc_hdmi_venc_repeat()
[all …]
Dmeson_dw_hdmi.c383 int vic = drm_match_cea_mode(mode); in dw_hdmi_set_vclk() local
398 if (!vic) { in dw_hdmi_set_vclk()
412 if (meson_venc_hdmi_venc_repeat(vic) || in dw_hdmi_set_vclk()
645 int vic = drm_match_cea_mode(mode); in dw_hdmi_mode_valid() local
658 if (!vic) { in dw_hdmi_mode_valid()
665 } else if (!meson_venc_hdmi_supported_vic(vic)) in dw_hdmi_mode_valid()
687 if (meson_venc_hdmi_venc_repeat(vic) || in dw_hdmi_mode_valid()
798 int vic = drm_match_cea_mode(mode); in meson_venc_hdmi_encoder_mode_set() local
802 DRM_DEBUG_DRIVER("\"%s\" vic %d\n", mode->name, vic); in meson_venc_hdmi_encoder_mode_set()
810 meson_venc_hdmi_mode_set(priv, vic, ycrcb_map, yuv420_mode, mode); in meson_venc_hdmi_encoder_mode_set()
/Linux-v5.10/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c24 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ member
222 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing()
320 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in rk3066_hdmi_setup()
323 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup()
324 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in rk3066_hdmi_setup()
325 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup()
326 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in rk3066_hdmi_setup()
488 u32 vic = drm_match_cea_mode(mode); in rk3066_hdmi_connector_mode_valid() local
490 if (vic > 1) in rk3066_hdmi_connector_mode_valid()
Dinno_hdmi.c32 int vic; member
436 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in inno_hdmi_setup()
441 if ((hdmi->hdmi_data.vic == 6) || (hdmi->hdmi_data.vic == 7) || in inno_hdmi_setup()
442 (hdmi->hdmi_data.vic == 21) || (hdmi->hdmi_data.vic == 22) || in inno_hdmi_setup()
443 (hdmi->hdmi_data.vic == 2) || (hdmi->hdmi_data.vic == 3) || in inno_hdmi_setup()
444 (hdmi->hdmi_data.vic == 17) || (hdmi->hdmi_data.vic == 18)) in inno_hdmi_setup()
/Linux-v5.10/arch/arm/boot/dts/
Dspear3xx.dtsi11 interrupt-parent = <&vic>;
34 vic: interrupt-controller@f1100000 { label
35 compatible = "arm,pl190-vic";
44 interrupt-parent = <&vic>;
Dversatile-ab.dts9 interrupt-parent = <&vic>;
198 vic: intc@10140000 { label
199 compatible = "arm,versatile-vic";
212 interrupt-parent = <&vic>;
213 interrupts = <31>; /* Cascaded to vic */
418 interrupts-extended = <&vic 22 &sic 1>;
Dsd5203.dts13 interrupt-parent = <&vic>;
47 vic: interrupt-controller@10130000 { label
Dpicoxcell-pc3x2.dtsi64 compatible = "arm,pl192-vic";
71 compatible = "arm,pl192-vic";
Dspear600.dtsi33 compatible = "arm,pl190-vic";
40 compatible = "arm,pl190-vic";
Ds3c64xx.dtsi49 compatible = "arm,pl192-vic";
56 compatible = "arm,pl192-vic";
/Linux-v5.10/arch/s390/kernel/
Dtraps.c190 int si_code, vic; in vector_exception() local
199 vic = (current->thread.fpu.fpc & 0xf00) >> 8; in vector_exception()
200 switch (vic) { in vector_exception()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/vic/
DKbuild2 #nvkm-y += nvkm/engine/vic/base.o
/Linux-v5.10/drivers/video/
Dhdmi.c509 else if (frame->vic != 0 || frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID) in hdmi_vendor_infoframe_length()
523 if (frame->vic != 0 && frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID) in hdmi_vendor_infoframe_check_only()
596 } else if (frame->vic) { in hdmi_vendor_infoframe_pack_only()
598 ptr[8] = frame->vic; in hdmi_vendor_infoframe_pack_only()
1489 if (hvf->vic == 0 && hvf->s3d_struct == HDMI_3D_STRUCTURE_INVALID) { in hdmi_vendor_any_infoframe_log()
1494 if (hvf->vic) in hdmi_vendor_any_infoframe_log()
1495 hdmi_log(" HDMI VIC: %u\n", hvf->vic); in hdmi_vendor_any_infoframe_log()
1761 hvf->vic = ptr[4]; in hdmi_vendor_any_infoframe_unpack()
/Linux-v5.10/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c1501 int vic; in analogix_dp_bridge_mode_set() local
1509 vic = drm_match_cea_mode(mode); in analogix_dp_bridge_mode_set()
1510 if ((vic == 6) || (vic == 7) || (vic == 21) || (vic == 22) || in analogix_dp_bridge_mode_set()
1511 (vic == 2) || (vic == 3) || (vic == 17) || (vic == 18)) { in analogix_dp_bridge_mode_set()
1514 } else if (vic) { in analogix_dp_bridge_mode_set()
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Dpicoxcell.txt21 - compatible = "arm,pl192-vic".

123