Home
last modified time | relevance | path

Searched full:vic (Results 1 – 25 of 206) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/
H A Dvic.c23 #include "vic.h"
31 struct vic { struct
46 static inline struct vic *to_vic(struct tegra_drm_client *client) in to_vic() argument
48 return container_of(client, struct vic, client); in to_vic()
51 static void vic_writel(struct vic *vic, u32 value, unsigned int offset) in vic_writel() argument
53 writel(value, vic->regs + offset); in vic_writel()
58 struct vic *vic = dev_get_drvdata(dev); in vic_runtime_resume() local
61 err = clk_prepare_enable(vic->clk); in vic_runtime_resume()
67 err = reset_control_deassert(vic->rst); in vic_runtime_resume()
76 clk_disable_unprepare(vic->clk); in vic_runtime_resume()
[all …]
H A Dvic.h9 /* VIC methods */
15 /* VIC registers */
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-aspeed-vic.c5 * Driver for Aspeed "new" VIC as found in SoC generation 3 and later
7 * Based on irq-vic.c:
58 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()
[all …]
H A Dirq-vic.c3 * linux/arch/arm/common/vic.c
23 #include <linux/irqchip/arm-vic.h>
42 #define VIC_ITCR 0x300 /* VIC test control register */
49 * struct vic_device - VIC PM device
50 * @parent_irq: The parent IRQ number of the VIC if cascaded, or 0.
51 * @irq: The IRQ number for the base of the VIC.
52 * @base: The register base for the VIC.
60 * @domain: The IRQ domain for the VIC.
84 * @base: Base of the VIC.
102 static void resume_one_vic(struct vic_device *vic) in resume_one_vic() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,vic.txt3 One or more Vectored Interrupt Controllers (VIC's) can be connected in an ARM
10 "arm,pl190-vic"
11 "arm,pl192-vic"
14 the VIC has no configuration options for interrupt sources. The cell is a u32
16 - reg : The register bank for the VIC.
20 - interrupts : Interrupt source for parent controllers if the VIC is nested.
34 compatible = "arm,pl192-vic";
H A Daspeed,ast2400-vic.txt9 - compatible : "aspeed,ast2400-vic"
10 "aspeed,ast2500-vic"
18 vic: interrupt-controller@1e6c0080 {
19 compatible = "aspeed,ast2400-vic";
H A Dinterrupts.txt51 vic: intc@10140000 {
52 compatible = "arm,versatile-vic";
63 interrupt-parent = <&vic>;
64 interrupts = <31>; /* Cascaded to vic */
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86EdidModes.c915 …656, 752, 800, 0, 480, 490, 492, 525, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX}, /* VIC 1:640x480@60Hz */
916 …736, 798, 858, 0, 480, 489, 495, 525, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX}, /* VIC 2:720x480@60Hz */
917 …736, 798, 858, 0, 480, 489, 495, 525, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX}, /* VIC 3:720x480@60Hz */
918 …0, 1650, 0, 720, 725, 730, 750, 0, V_PHSYNC | V_PVSYNC, MODESUFFIX}, /* VIC 4: 1280x720@60Hz */
919 … 1084, 1094, 1125, 0, V_PHSYNC | V_PVSYNC | V_INTERLACE, MODESUFFIX}, /* VIC 5:1920x1080i@60Hz */
920 … 488, 494, 525, 0, V_NHSYNC | V_NVSYNC | V_INTERLACE, MODESUFFIX}, /* VIC 6:1440x480i@60Hz */
921 … 488, 494, 525, 0, V_NHSYNC | V_NVSYNC | V_INTERLACE, MODESUFFIX}, /* VIC 7:1440x480i@60Hz */
922 …02, 1716, 0, 240, 244, 247, 262, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX}, /* VIC 8:1440x240@60Hz */
923 …02, 1716, 0, 240, 244, 247, 262, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX}, /* VIC 9:1440x240@60Hz */
924 …488, 494, 525, 0, V_NHSYNC | V_NVSYNC | V_INTERLACE, MODESUFFIX}, /* VIC 10:2880x480i@60Hz */
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Ddw_hdmi_qp.c92 int vic; member
624 /* mode which vic >= 128 must use avi version 3 */ in hdmi_config_AVI()
625 if (hdmi->vic >= 128) { in hdmi_config_AVI()
630 buff[7] = hdmi->vic; in hdmi_config_AVI()
994 if (!hdmi->vic) in dw_hdmi_setup()
997 printf("CEA mode used vic=%d\n", hdmi->vic); in dw_hdmi_setup()
1008 else if (hdmi->vic == 6 || hdmi->vic == 7 || in dw_hdmi_setup()
1009 hdmi->vic == 21 || hdmi->vic == 22 || in dw_hdmi_setup()
1010 hdmi->vic == 2 || hdmi->vic == 3 || in dw_hdmi_setup()
1011 hdmi->vic == 17 || hdmi->vic == 18) in dw_hdmi_setup()
[all …]
H A Ddw-dp.c1229 u8 bpp = video->bpp, init_threshold, vic; in dw_dp_video_enable() local
1265 vic = drm_match_cea_mode(mode); in dw_dp_video_enable()
1266 if (vic == 5 || vic == 6 || vic == 7 || in dw_dp_video_enable()
1267 vic == 10 || vic == 11 || vic == 20 || in dw_dp_video_enable()
1268 vic == 21 || vic == 22 || vic == 39 || in dw_dp_video_enable()
1269 vic == 25 || vic == 26 || vic == 40 || in dw_dp_video_enable()
1270 vic == 44 || vic == 45 || vic == 46 || in dw_dp_video_enable()
1271 vic == 50 || vic == 51 || vic == 54 || in dw_dp_video_enable()
1272 vic == 55 || vic == 58 || vic == 59) in dw_dp_video_enable()
H A Dinno_hdmi.c117 int vic; member
144 int vic; member
478 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in inno_hdmi_setup()
483 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in inno_hdmi_setup()
484 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in inno_hdmi_setup()
485 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in inno_hdmi_setup()
486 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in inno_hdmi_setup()
781 hdmi->vic = drm_match_cea_mode(mode); in rockchip_inno_hdmi_get_timing()
H A Ddw_hdmi.c177 int vic; member
1118 if (hdmi->vic == 39) in hdmi_av_composer()
2090 if (!hdmi->vic) in dw_hdmi_setup()
2093 printf("CEA mode used vic=%d\n", hdmi->vic); in dw_hdmi_setup()
2098 else if (hdmi->vic == 6 || hdmi->vic == 7 || in dw_hdmi_setup()
2099 hdmi->vic == 21 || hdmi->vic == 22 || in dw_hdmi_setup()
2100 hdmi->vic == 2 || hdmi->vic == 3 || in dw_hdmi_setup()
2101 hdmi->vic == 17 || hdmi->vic == 18) in dw_hdmi_setup()
2524 int ret, i, vic; in rockchip_dw_hdmi_get_timing() local
2571 vic = drm_match_cea_mode(&hdmi->edid_data.mode_buf[i]); in rockchip_dw_hdmi_get_timing()
[all …]
/OK3568_Linux_fs/u-boot/common/
H A Dedid.c154 * Index using the VIC.
962 * HDMI 1.4 4k modes. Index using the VIC.
1435 /* 0. vic:2 - 720x480@60Hz */
1440 /* 1. vic:3 - 720x480@60Hz */
1449 /* 2. vic:4 - 1280x720@60Hz */
1454 /* 3. vic:5 - 1920x1080i@60Hz */
1460 /* 4. vic:6 - 720(1440)x480i@60Hz */
1466 /* 5. vic:16 - 1920x1080@60Hz */
1471 /* 6. vic:17 - 720x576@50Hz */
1476 /* 7. vic:18 - 720x576@50Hz */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_edid.c1525 * HDMI 1.4 4k modes. Index using the VIC.
3550 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) in cea_mode_for_vic() argument
3555 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_mode_for_vic()
3556 return &edid_cea_modes_1[vic - 1]; in cea_mode_for_vic()
3557 if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193)) in cea_mode_for_vic()
3558 return &edid_cea_modes_193[vic - 193]; in cea_mode_for_vic()
3567 static u8 cea_next_vic(u8 vic) in cea_next_vic() argument
3569 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_next_vic()
3570 vic = 193; in cea_next_vic()
3571 return vic; in cea_next_vic()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/
H A 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 …]
H A 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,
H A Dmeson_dw_hdmi.c381 int vic = drm_match_cea_mode(mode); in dw_hdmi_set_vclk() local
396 if (!vic) { in dw_hdmi_set_vclk()
410 if (meson_venc_hdmi_venc_repeat(vic) || in dw_hdmi_set_vclk()
643 int vic = drm_match_cea_mode(mode); in dw_hdmi_mode_valid() local
655 /* Check against non-VIC supported modes */ in dw_hdmi_mode_valid()
656 if (!vic) { in dw_hdmi_mode_valid()
662 /* Check against supported VIC modes */ in dw_hdmi_mode_valid()
663 } else if (!meson_venc_hdmi_supported_vic(vic)) in dw_hdmi_mode_valid()
685 if (meson_venc_hdmi_venc_repeat(vic) || in dw_hdmi_mode_valid()
796 int vic = drm_match_cea_mode(mode); in meson_venc_hdmi_encoder_mode_set() local
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dspear3xx.dtsi11 interrupt-parent = <&vic>;
34 vic: interrupt-controller@f1100000 { label
35 compatible = "arm,pl190-vic";
44 interrupt-parent = <&vic>;
H A Dversatile-ab.dts9 interrupt-parent = <&vic>;
198 vic: interrupt-controller@10140000 { label
199 compatible = "arm,versatile-vic";
211 interrupt-parent = <&vic>;
212 interrupts = <31>; /* Cascaded to vic */
417 interrupts-extended = <&vic 22 &sic 1>;
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/
H A Dfimc-is-regs.h26 /* Interrupt Generation Register 0 from Host CPU to VIC */
33 /* Interrupt Clear Register 0 from Host CPU to VIC */
40 /* Interrupt Mask Register 0 from Host CPU to VIC */
47 /* Interrupt Status Register 0 from Host CPU to VIC */
54 /* Interrupt Mask Status Register 0 from Host CPU to VIC */
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/
H A Drk618_hdmi.c395 int vic; member
548 static void rk618_hdmi_set_polarity(struct rk618_hdmi *hdmi, int vic) in rk618_hdmi_set_polarity() argument
552 if (vic == 76 || vic == 75 || vic == 5 || vic == 20 || in rk618_hdmi_set_polarity()
553 vic == 39 || vic == 16 || vic == 4) in rk618_hdmi_set_polarity()
892 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in rk618_hdmi_setup()
897 if ((hdmi->hdmi_data.vic == 6) || (hdmi->hdmi_data.vic == 7) || in rk618_hdmi_setup()
898 (hdmi->hdmi_data.vic == 21) || (hdmi->hdmi_data.vic == 22) || in rk618_hdmi_setup()
899 (hdmi->hdmi_data.vic == 2) || (hdmi->hdmi_data.vic == 3) || in rk618_hdmi_setup()
900 (hdmi->hdmi_data.vic == 17) || (hdmi->hdmi_data.vic == 18)) in rk618_hdmi_setup()
1056 rk618_hdmi_set_polarity(hdmi, hdmi->hdmi_data.vic); in rk618_hdmi_bridge_enable()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cisco/enic/
H A DKconfig7 tristate "Cisco VIC Ethernet NIC Support"
10 This enables the support for the Cisco VIC Ethernet card.
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/
H A DKconfig3 tristate "Verbs support for Cisco VIC"
11 Cards (VICs), including the VIC 1240 and 1280 cards.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dpicoxcell.txt20 VIC required properties:
21 - compatible = "arm,pl192-vic".

123456789