Home
last modified time | relevance | path

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

12345678

/openbmc/linux/drivers/gpu/drm/tegra/
H A 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 …]
H A Dvic.h9 /* VIC methods */
14 /* VIC registers */
/openbmc/linux/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 …]
/openbmc/linux/Documentation/devicetree/bindings/display/tegra/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A 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";
H A Daspeed,ast2400-vic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2400-vic.yaml#
20 - aspeed,ast2400-vic
21 - aspeed,ast2500-vic
32 must be 1 as the VIC has no configuration options for interrupt sources.
55 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 */
/openbmc/qemu/hw/input/
H A Dvirtio-input.c79 VirtIOInputClass *vic = VIRTIO_INPUT_GET_CLASS(vdev); in virtio_input_handle_sts() local
94 if (vic->handle_status) { in virtio_input_handle_sts()
95 vic->handle_status(vinput, &event); in virtio_input_handle_sts()
194 VirtIOInputClass *vic = VIRTIO_INPUT_GET_CLASS(vdev); in virtio_input_set_status() local
200 if (vic->change_active) { in virtio_input_set_status()
201 vic->change_active(vinput); in virtio_input_set_status()
209 VirtIOInputClass *vic = VIRTIO_INPUT_GET_CLASS(vdev); in virtio_input_reset() local
214 if (vic->change_active) { in virtio_input_reset()
215 vic->change_active(vinput); in virtio_input_reset()
223 VirtIOInputClass *vic = VIRTIO_INPUT_GET_CLASS(vinput); in virtio_input_post_load() local
[all …]
H A Dvirtio-input-host.c231 VirtIOInputClass *vic = VIRTIO_INPUT_CLASS(klass); in virtio_input_host_class_init() local
236 vic->realize = virtio_input_host_realize; in virtio_input_host_class_init()
237 vic->unrealize = virtio_input_host_unrealize; in virtio_input_host_class_init()
238 vic->handle_status = virtio_input_host_handle_status; in virtio_input_host_class_init()
/openbmc/linux/drivers/gpu/drm/meson/
H A 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
141 /* Check against non-VIC supported modes */ in meson_encoder_hdmi_mode_valid()
142 if (!vic) { in meson_encoder_hdmi_mode_valid()
148 /* Check against supported VIC modes */ 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
[all …]
H A 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,
H A 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 …]
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drk3066_hdmi.c25 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ member
232 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing()
332 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in rk3066_hdmi_setup()
335 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup()
336 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in rk3066_hdmi_setup()
337 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup()
338 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in rk3066_hdmi_setup()
499 u32 vic = drm_match_cea_mode(mode); in rk3066_hdmi_connector_mode_valid() local
501 if (vic > 1) in rk3066_hdmi_connector_mode_valid()
H A Dinno_hdmi.c31 int vic; member
448 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in inno_hdmi_setup()
453 if ((hdmi->hdmi_data.vic == 6) || (hdmi->hdmi_data.vic == 7) || in inno_hdmi_setup()
454 (hdmi->hdmi_data.vic == 21) || (hdmi->hdmi_data.vic == 22) || in inno_hdmi_setup()
455 (hdmi->hdmi_data.vic == 2) || (hdmi->hdmi_data.vic == 3) || in inno_hdmi_setup()
456 (hdmi->hdmi_data.vic == 17) || (hdmi->hdmi_data.vic == 18)) in inno_hdmi_setup()
/openbmc/linux/drivers/gpu/drm/
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dspear3xx.dtsi11 interrupt-parent = <&vic>;
34 vic: interrupt-controller@f1100000 { label
35 compatible = "arm,pl190-vic";
44 interrupt-parent = <&vic>;
/openbmc/linux/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.
/openbmc/linux/drivers/media/platform/samsung/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 */
/openbmc/linux/drivers/infiniband/hw/usnic/
H A DKconfig3 tristate "Verbs support for Cisco VIC"
11 Cards (VICs), including the VIC 1240 and 1280 cards.
/openbmc/linux/sound/soc/mediatek/mt7986/
H A Dmt7986-wm8960.c6 * Authors: Vic Wu <vic.wu@mediatek.com>
194 MODULE_AUTHOR("Vic Wu <vic.wu@mediatek.com>");
H A Dmt7986-afe-common.h6 * Authors: Vic Wu <vic.wu@mediatek.com>
/openbmc/qemu/hw/arm/
H A Daspeed_ast2400.c148 return qdev_get_gpio_in(DEVICE(&a->vic), sc->irqmap[dev]); in aspeed_soc_ast2400_get_irq()
180 object_initialize_child(obj, "vic", &a->vic, TYPE_ASPEED_VIC); in aspeed_ast2400_soc_init()
308 /* VIC */ in aspeed_ast2400_soc_realize()
309 if (!sysbus_realize(SYS_BUS_DEVICE(&a->vic), errp)) { in aspeed_ast2400_soc_realize()
312 aspeed_mmio_map(s, SYS_BUS_DEVICE(&a->vic), 0, sc->memmap[ASPEED_DEV_VIC]); in aspeed_ast2400_soc_realize()
313 sysbus_connect_irq(SYS_BUS_DEVICE(&a->vic), 0, in aspeed_ast2400_soc_realize()
315 sysbus_connect_irq(SYS_BUS_DEVICE(&a->vic), 1, in aspeed_ast2400_soc_realize()
491 /* Connect the LPC IRQ to the VIC */ in aspeed_ast2400_soc_realize()
502 * to the VIC is at offset 0. in aspeed_ast2400_soc_realize()
/openbmc/linux/arch/arm/boot/dts/arm/
H A Dversatile-ab.dts9 interrupt-parent = <&vic>;
209 vic: interrupt-controller@10140000 { label
210 compatible = "arm,versatile-vic";
222 interrupt-parent = <&vic>;
223 interrupts = <31>; /* Cascaded to vic */
428 interrupts-extended = <&vic 22 &sic 1>;
/openbmc/linux/arch/nios2/include/asm/
H A Dprocessor.h6 * Vic Phillips (vic@microtronix.com)

12345678