| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| D | vic.c | 22 #include "vic.h" 30 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/tegra/ |
| D | vic.c | 24 #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 60 return clk_prepare_enable(vic->clk); in vic_runtime_resume() 65 struct vic *vic = dev_get_drvdata(dev); in vic_runtime_suspend() local 67 clk_disable_unprepare(vic->clk); in vic_runtime_suspend() [all …]
|
| /kernel/linux/linux-4.19/drivers/irqchip/ |
| D | irq-aspeed-vic.c | 4 * Driver for Aspeed "new" VIC as found in SoC generation 3 and later 6 * Based on irq-vic.c: 68 static void vic_init_hw(struct aspeed_vic *vic) in vic_init_hw() argument 73 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR); in vic_init_hw() 74 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR + 4); in vic_init_hw() 77 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR); in vic_init_hw() 78 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR + 4); in vic_init_hw() 81 writel(0, vic->base + AVIC_INT_SELECT); in vic_init_hw() 82 writel(0, vic->base + AVIC_INT_SELECT + 4); in vic_init_hw() 88 sense = readl(vic->base + AVIC_INT_SENSE); in vic_init_hw() [all …]
|
| D | irq-vic.c | 2 * linux/arch/arm/common/vic.c 36 #include <linux/irqchip/arm-vic.h> 52 #define VIC_ITCR 0x300 /* VIC test control register */ 59 * struct vic_device - VIC PM device 60 * @parent_irq: The parent IRQ number of the VIC if cascaded, or 0. 61 * @irq: The IRQ number for the base of the VIC. 62 * @base: The register base for the VIC. 70 * @domain: The IRQ domain for the VIC. 94 * @base: Base of the VIC. 112 static void resume_one_vic(struct vic_device *vic) in resume_one_vic() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-aspeed-vic.c | 5 * 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 …]
|
| D | irq-vic.c | 3 * 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/ |
| D | arm,vic.txt | 3 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";
|
| D | aspeed,ast2400-vic.txt | 9 - compatible : "aspeed,ast2400-vic" 10 "aspeed,ast2500-vic" 18 vic: interrupt-controller@1e6c0080 { 19 compatible = "aspeed,ast2400-vic";
|
| D | interrupts.txt | 51 vic: intc@10140000 { 52 compatible = "arm,versatile-vic"; 63 interrupt-parent = <&vic>; 64 interrupts = <31>; /* Cascaded to vic */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | arm,vic.txt | 3 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";
|
| D | aspeed,ast2400-vic.txt | 9 - compatible : "aspeed,ast2400-vic" 10 "aspeed,ast2500-vic" 18 vic: interrupt-controller@1e6c0080 { 19 compatible = "aspeed,ast2400-vic";
|
| D | interrupts.txt | 51 vic: intc@10140000 { 52 compatible = "arm,versatile-vic"; 63 interrupt-parent = <&vic>; 64 interrupts = <31>; /* Cascaded to vic */
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_edid.c | 1525 * HDMI 1.4 4k modes. Index using the VIC. 3332 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) in cea_mode_for_vic() argument 3337 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_mode_for_vic() 3338 return &edid_cea_modes_1[vic - 1]; in cea_mode_for_vic() 3339 if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193)) in cea_mode_for_vic() 3340 return &edid_cea_modes_193[vic - 193]; in cea_mode_for_vic() 3349 static u8 cea_next_vic(u8 vic) in cea_next_vic() argument 3351 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_next_vic() 3352 vic = 193; in cea_next_vic() 3353 return vic; in cea_next_vic() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
| D | rk3066_hdmi.c | 24 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()
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/ |
| D | drm_edid.c | 724 * Index using the VIC. 1292 * HDMI 1.4 4k modes. Index using the VIC. 3006 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) in cea_mode_alternate_timings() argument 3026 if (((vic == 8 || vic == 9 || in cea_mode_alternate_timings() 3027 vic == 12 || vic == 13) && mode->vtotal < 263) || in cea_mode_alternate_timings() 3028 ((vic == 23 || vic == 24 || in cea_mode_alternate_timings() 3029 vic == 27 || vic == 28) && mode->vtotal < 314)) { in cea_mode_alternate_timings() 3044 u8 vic; in drm_match_cea_mode_clock_tolerance() local 3052 for (vic = 1; vic < ARRAY_SIZE(edid_cea_modes); vic++) { in drm_match_cea_mode_clock_tolerance() 3053 struct drm_display_mode cea_mode = edid_cea_modes[vic]; in drm_match_cea_mode_clock_tolerance() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/meson/ |
| D | meson_venc.c | 702 unsigned int vic; member 758 bool meson_venc_hdmi_supported_vic(int vic) in meson_venc_hdmi_supported_vic() argument 762 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic() 763 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic() 797 static union meson_hdmi_venc_mode *meson_venc_hdmi_get_vic_vmode(int vic) in meson_venc_hdmi_get_vic_vmode() argument 801 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_get_vic_vmode() 802 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode() 810 bool meson_venc_hdmi_venc_repeat(int vic) in meson_venc_hdmi_venc_repeat() argument 813 if (vic == 6 || vic == 7 || /* 480i */ in meson_venc_hdmi_venc_repeat() 814 vic == 21 || vic == 22 || /* 576i */ in meson_venc_hdmi_venc_repeat() [all …]
|
| D | meson_dw_hdmi.c | 325 int vic = drm_match_cea_mode(mode); in dw_hdmi_set_vclk() local 332 if (!vic) { in dw_hdmi_set_vclk() 344 if (meson_venc_hdmi_venc_repeat(vic)) in dw_hdmi_set_vclk() 555 int vic = drm_match_cea_mode(mode); in dw_hdmi_mode_valid() local 565 /* Check against non-VIC supported modes */ in dw_hdmi_mode_valid() 566 if (!vic) { in dw_hdmi_mode_valid() 572 /* Check against supported VIC modes */ in dw_hdmi_mode_valid() 573 } else if (!meson_venc_hdmi_supported_vic(vic)) in dw_hdmi_mode_valid() 586 if (meson_venc_hdmi_venc_repeat(vic)) in dw_hdmi_mode_valid() 597 /* Finally filter by configurable vclk frequencies for VIC modes */ in dw_hdmi_mode_valid() [all …]
|
| D | meson_venc.h | 63 bool meson_venc_hdmi_supported_vic(int vic); 64 bool meson_venc_hdmi_venc_repeat(int vic); 72 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic,
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
| D | meson_venc.h | 53 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,
|
| D | meson_venc.c | 818 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | spear3xx.dtsi | 11 interrupt-parent = <&vic>; 34 vic: interrupt-controller@f1100000 { label 35 compatible = "arm,pl190-vic"; 44 interrupt-parent = <&vic>;
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | spear3xx.dtsi | 17 interrupt-parent = <&vic>; 40 vic: interrupt-controller@f1100000 { label 41 compatible = "arm,pl190-vic"; 50 interrupt-parent = <&vic>;
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/cisco/enic/ |
| D | Kconfig | 6 tristate "Cisco VIC Ethernet NIC Support" 9 This enables the support for the Cisco VIC Ethernet card.
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
| D | Kconfig | 7 tristate "Cisco VIC Ethernet NIC Support" 10 This enables the support for the Cisco VIC Ethernet card.
|
| /kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
| D | fimc-is-regs.h | 26 /* 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 */
|