Searched refs:vic (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/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)
47 return container_of(client, struct vic, client);
50 static void vic_writel(struct vic *vic, u32 value, unsigned int offset) argument
52 writel(value, vic->regs + offset);
55 static int vic_boot(struct vic *vic) argument
61 if (vic
123 struct vic *vic = to_vic(drm); local
171 struct vic *vic = to_vic(drm); local
210 vic_load_firmware(struct vic *vic) argument
308 struct vic *vic = dev_get_drvdata(dev); local
342 struct vic *vic = dev_get_drvdata(dev); local
361 struct vic *vic = to_vic(client); local
377 struct vic *vic = to_vic(client); local
452 struct vic *vic; local
537 struct vic *vic = platform_get_drvdata(pdev); local
[all...]
H A DMakefile26 vic.o \
/linux-master/drivers/irqchip/
H A Dirq-aspeed-vic.c7 * Based on irq-vic.c:
58 static void vic_init_hw(struct aspeed_vic *vic) argument
63 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR);
64 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR + 4);
67 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR);
68 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR + 4);
71 writel(0, vic->base + AVIC_INT_SELECT);
72 writel(0, vic->base + AVIC_INT_SELECT + 4);
78 sense = readl(vic->base + AVIC_INT_SENSE);
79 vic
90 struct aspeed_vic *vic = system_avic; local
109 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); local
120 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); local
129 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); local
139 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); local
162 struct aspeed_vic *vic = d->host_data; local
188 struct aspeed_vic *vic; local
[all...]
H A Dirq-vic.c3 * linux/arch/arm/common/vic.c
23 #include <linux/irqchip/arm-vic.h>
101 static void resume_one_vic(struct vic_device *vic) argument
103 void __iomem *base = vic->base;
105 printk(KERN_DEBUG "%s: resuming vic at %p\n", __func__, base);
110 writel(vic->int_select, base + VIC_INT_SELECT);
111 writel(vic->protect, base + VIC_PROTECT);
114 writel(vic->int_enable, base + VIC_INT_ENABLE);
115 writel(~vic->int_enable, base + VIC_INT_ENABLE_CLEAR);
119 writel(vic
131 suspend_one_vic(struct vic_device *vic) argument
203 handle_one_vic(struct vic_device *vic, struct pt_regs *regs) argument
221 struct vic_device *vic = irq_desc_get_handler_data(desc); local
[all...]
H A DMakefile40 obj-$(CONFIG_ARM_VIC) += irq-vic.o
86 obj-$(CONFIG_ARCH_ASPEED) += irq-aspeed-vic.o irq-aspeed-i2c-ic.o irq-aspeed-scu-ic.o
/linux-master/drivers/gpu/drm/meson/
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_encoder_hdmi.c72 int vic = drm_match_cea_mode(mode); local
87 if (!vic) {
101 if (meson_venc_hdmi_venc_repeat(vic) ||
129 int vic = drm_match_cea_mode(mode); local
142 if (!vic) {
149 } else if (!meson_venc_hdmi_supported_vic(vic))
171 if (meson_venc_hdmi_venc_repeat(vic) ||
200 int vic; local
216 vic = drm_match_cea_mode(mode);
218 dev_dbg(priv->dev, "\"%s\" vic
[all...]
H A Dmeson_venc.c820 unsigned int vic; member in struct:meson_hdmi_venc_vic_mode
881 bool meson_venc_hdmi_supported_vic(int vic) argument
885 while (vmode->vic && vmode->mode) {
886 if (vmode->vic == vic)
920 static union meson_hdmi_venc_mode *meson_venc_hdmi_get_vic_vmode(int vic) argument
924 while (vmode->vic && vmode->mode) {
925 if (vmode->vic == vic)
933 bool meson_venc_hdmi_venc_repeat(int vic) argument
950 meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, unsigned int ycrcb_map, bool yuv420_mode, const struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_edid.c4173 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) argument
4178 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1))
4179 return &edid_cea_modes_1[vic - 1];
4180 if (vic >= 193 && vic < 193 + ARRAY_SIZE(edid_cea_modes_193))
4181 return &edid_cea_modes_193[vic - 193];
4190 static u8 cea_next_vic(u8 vic) argument
4192 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1))
4193 vic
4223 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) argument
4261 u8 vic; local
4302 u8 vic; local
4334 drm_valid_cea_vic(u8 vic) argument
4368 u8 vic; local
4406 u8 vic; local
4430 drm_valid_hdmi_vic(u8 vic) argument
4454 u8 vic = drm_match_cea_mode(mode); local
4549 u8 vic = svd_to_vic(svds[i]); local
4679 add_hdmi_mode(struct drm_connector *connector, u8 vic) argument
4798 u8 vic; local
5291 u8 vic; local
5901 u8 vic = svd_to_vic(svds[i]); local
5923 u8 vic = info->vics[i]; local
5930 cta_vdb_has_vic(const struct drm_connector *connector, u8 vic) argument
5956 u8 vic = svd_to_vic(svds[i]); local
7048 vic_for_avi_infoframe(const struct drm_connector *connector, u8 vic) argument
7072 u8 vic, hdmi_vic; local
[all...]
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_panel.h51 u32 vic; member in struct:dp_panel
/linux-master/drivers/gpu/drm/rockchip/
H A Drk3066_hdmi.c25 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ member in struct:hdmi_data_info
231 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3)
331 hdmi->hdmi_data.vic = drm_match_cea_mode(mode);
334 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 ||
335 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 ||
336 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic
489 u32 vic = drm_match_cea_mode(mode); local
[all...]
H A Dinno_hdmi.c568 u8 vic = drm_match_cea_mode(mode); local
575 if (vic == 6 || vic == 7 ||
576 vic == 21 || vic == 22 ||
577 vic == 2 || vic == 3 ||
578 vic == 17 || vic == 18)
/linux-master/include/media/
H A Dv4l2-dv-timings.h104 * @vic: CEA-861 VIC code
109 bool v4l2_find_dv_timings_cea861_vic(struct v4l2_dv_timings *t, u8 vic);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dpriv.h52 #include <engine/vic.h>
/linux-master/arch/s390/kernel/
H A Dtraps.c196 int si_code, vic; local
205 vic = (current->thread.ufpu.fpc & 0xf00) >> 8;
206 switch (vic) {
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h53 NVKM_LAYOUT_ONCE(NVKM_ENGINE_VIC , struct nvkm_engine , vic)
/linux-master/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_core.c1534 int vic; local
1542 vic = drm_match_cea_mode(mode);
1543 if ((vic == 6) || (vic == 7) || (vic == 21) || (vic == 22) ||
1544 (vic == 2) || (vic == 3) || (vic == 17) || (vic
[all...]
/linux-master/drivers/video/
H A Dhdmi.c557 else if (frame->vic != 0 || frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID)
571 if (frame->vic != 0 && frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID)
644 } else if (frame->vic) {
646 ptr[8] = frame->vic;
1537 if (hvf->vic == 0 && hvf->s3d_struct == HDMI_3D_STRUCTURE_INVALID) {
1542 if (hvf->vic)
1543 hdmi_log(" HDMI VIC: %u\n", hvf->vic);
1810 hvf->vic = ptr[4];
/linux-master/drivers/gpu/drm/stm/
H A Dltdc.c1004 int vic = drm_match_cea_mode(mode); local
1007 if (vic == 6 || vic == 7 || vic == 21 || vic == 22 ||
1008 vic == 2 || vic == 3 || vic == 17 || vic == 18)
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi5_core.c373 unsigned int vic; local
397 vic = ptr[3];
412 hdmi_write_reg(base, HDMI_CORE_FC_AVIVID, vic);
576 char vic = cfg->infoframe.video_code; local
579 range = vic > 1 ? HDMI_QUANTIZATION_RANGE_LIMITED :
/linux-master/include/linux/
H A Dhdmi.h364 u8 vic; member in struct:hdmi_vendor_infoframe
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c149 int vic; member in struct:dw_hdmi
2037 if (hdmi->vic == 39)
2249 hdmi->vic = drm_match_cea_mode(mode);
2251 if (!hdmi->vic) {
2254 dev_dbg(hdmi->dev, "CEA mode used vic=%d\n", hdmi->vic);
2257 if ((hdmi->vic == 6) || (hdmi->vic == 7) ||
2258 (hdmi->vic == 21) || (hdmi->vic
[all...]
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c1343 u8 vic; local
1355 vic = 6;
1358 vic = 21;
1361 vic = 5;
1364 vic = 20;
1367 vic = 4;
1370 vic = 19;
1375 return drm_display_mode_from_cea_vic(dev, vic);
/linux-master/arch/arm/mach-s3c/
H A Ds3c64xx.c31 #include <linux/irqchip/arm-vic.h>
214 * setup the sources the vic should advertise resume
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c239 bool v4l2_find_dv_timings_cea861_vic(struct v4l2_dv_timings *t, u8 vic) argument
248 bt->cea861_vic == vic) {
892 bool is_ce = avi->video_code || (hdmi && hdmi->vic);

Completed in 246 milliseconds

12