Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Dvic.c21 #include "vic.h"
29 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()
[all …]
/kernel/linux/linux-6.6/drivers/irqchip/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/irqchip/
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 …]
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/tegra/
Dnvidia,tegra124-vic.yaml4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra124-vic.yaml#
15 pattern: "^vic@[0-9a-f]+$"
20 - nvidia,tegra124-vic
21 - nvidia,tegra210-vic
22 - nvidia,tegra186-vic
23 - nvidia,tegra194-vic
24 - nvidia,tegra234-vic
27 - const: nvidia,tegra132-vic
28 - const: nvidia,tegra124-vic
38 - description: clock input for the VIC hardware
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Darm,vic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/arm,vic.yaml#
13 One or more Vectored Interrupt Controllers (VIC's) can be connected in an
23 - arm,pl190-vic
24 - arm,pl192-vic
25 - arm,versatile-vic
33 VIC has no configuration options for interrupt sources. The single
70 // PL192 VIC
72 compatible = "arm,pl192-vic";
Daspeed,ast2400-vic.txt9 - compatible : "aspeed,ast2400-vic"
10 "aspeed,ast2500-vic"
18 vic: interrupt-controller@1e6c0080 {
19 compatible = "aspeed,ast2400-vic";
Dinterrupts.txt51 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/
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";
Daspeed,ast2400-vic.txt9 - compatible : "aspeed,ast2400-vic"
10 "aspeed,ast2500-vic"
18 vic: interrupt-controller@1e6c0080 {
19 compatible = "aspeed,ast2400-vic";
Dinterrupts.txt51 vic: intc@10140000 {
52 compatible = "arm,versatile-vic";
63 interrupt-parent = <&vic>;
64 interrupts = <31>; /* Cascaded to vic */
/kernel/linux/linux-6.6/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()
131 int vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_mode_valid() local
143 /* Check against non-VIC supported modes */ in meson_encoder_hdmi_mode_valid()
144 if (!vic) { in meson_encoder_hdmi_mode_valid()
150 /* Check against supported VIC modes */ in meson_encoder_hdmi_mode_valid()
151 } else if (!meson_venc_hdmi_supported_vic(vic)) in meson_encoder_hdmi_mode_valid()
173 if (meson_venc_hdmi_venc_repeat(vic) || in meson_encoder_hdmi_mode_valid()
203 int vic; in meson_encoder_hdmi_atomic_enable() local
[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,
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_edid.c1525 * 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/
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()
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c24 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()
498 u32 vic = drm_match_cea_mode(mode); in rk3066_hdmi_connector_mode_valid() local
500 if (vic > 1) in rk3066_hdmi_connector_mode_valid()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_edid.c1544 * HDMI 1.4 4k modes. Index using the VIC.
4169 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) in cea_mode_for_vic() argument
4174 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_mode_for_vic()
4175 return &edid_cea_modes_1[vic - 1]; in cea_mode_for_vic()
4176 if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193)) in cea_mode_for_vic()
4177 return &edid_cea_modes_193[vic - 193]; in cea_mode_for_vic()
4186 static u8 cea_next_vic(u8 vic) in cea_next_vic() argument
4188 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1)) in cea_next_vic()
4189 vic = 193; in cea_next_vic()
4190 return vic; in cea_next_vic()
[all …]
/kernel/linux/linux-6.6/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>;
/kernel/linux/linux-5.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>;
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
DKconfig7 tristate "Cisco VIC Ethernet NIC Support"
10 This enables the support for the Cisco VIC Ethernet card.
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
DKconfig7 tristate "Cisco VIC Ethernet NIC Support"
10 This enables the support for the Cisco VIC Ethernet card.

12345678910>>...13