Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/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()
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 in vic_boot()
123 struct vic *vic = to_vic(drm); vic_init() local
171 struct vic *vic = to_vic(drm); vic_exit() local
210 vic_load_firmware(struct vic *vic) vic_load_firmware() argument
308 struct vic *vic = dev_get_drvdata(dev); vic_runtime_resume() local
342 struct vic *vic = dev_get_drvdata(dev); vic_runtime_suspend() local
361 struct vic *vic = to_vic(client); vic_open_channel() local
377 struct vic *vic = to_vic(client); vic_can_use_memory_ctx() local
452 struct vic *vic; vic_probe() local
537 struct vic *vic = platform_get_drvdata(pdev); vic_remove() local
[all...]
H A DMakefile26 vic.o \
/kernel/linux/linux-5.10/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()
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 in vic_runtime_resume()
82 struct vic *vic = dev_get_drvdata(dev); vic_runtime_suspend() local
98 vic_boot(struct vic *vic) vic_boot() argument
167 struct vic *vic = to_vic(drm); vic_init() local
215 struct vic *vic = to_vic(drm); vic_exit() local
249 vic_load_firmware(struct vic *vic) vic_load_firmware() argument
313 struct vic *vic = to_vic(client); vic_open_channel() local
343 struct vic *vic = to_vic(context->client); vic_close_channel() local
402 struct vic *vic; vic_probe() local
492 struct vic *vic = platform_get_drvdata(pdev); vic_remove() local
[all...]
H A DMakefile23 vic.o
/kernel/linux/linux-5.10/drivers/irqchip/
H A Dirq-aspeed-vic.c7 * 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()
79 vic in vic_init_hw()
90 struct aspeed_vic *vic = system_avic; avic_handle_irq() local
109 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_ack_irq() local
120 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_mask_irq() local
129 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_unmask_irq() local
139 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_mask_ack_irq() local
162 struct aspeed_vic *vic = d->host_data; avic_map() local
188 struct aspeed_vic *vic; avic_of_init() local
[all...]
H A Dirq-vic.c3 * linux/arch/arm/common/vic.c
23 #include <linux/irqchip/arm-vic.h>
102 static void resume_one_vic(struct vic_device *vic) in resume_one_vic() argument
104 void __iomem *base = vic->base; in resume_one_vic()
106 printk(KERN_DEBUG "%s: resuming vic at %p\n", __func__, base); in resume_one_vic()
111 writel(vic->int_select, base + VIC_INT_SELECT); in resume_one_vic()
112 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
115 writel(vic->int_enable, base + VIC_INT_ENABLE); in resume_one_vic()
116 writel(~vic->int_enable, base + VIC_INT_ENABLE_CLEAR); in resume_one_vic()
120 writel(vic in resume_one_vic()
132 suspend_one_vic(struct vic_device *vic) suspend_one_vic() argument
204 handle_one_vic(struct vic_device *vic, struct pt_regs *regs) handle_one_vic() argument
222 struct vic_device *vic = irq_desc_get_handler_data(desc); vic_handle_irq_cascaded() local
[all...]
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-aspeed-vic.c7 * 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()
79 vic in vic_init_hw()
90 struct aspeed_vic *vic = system_avic; avic_handle_irq() local
109 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_ack_irq() local
120 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_mask_irq() local
129 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_unmask_irq() local
139 struct aspeed_vic *vic = irq_data_get_irq_chip_data(d); avic_mask_ack_irq() local
162 struct aspeed_vic *vic = d->host_data; avic_map() local
188 struct aspeed_vic *vic; avic_of_init() local
[all...]
H A Dirq-vic.c3 * linux/arch/arm/common/vic.c
23 #include <linux/irqchip/arm-vic.h>
102 static void resume_one_vic(struct vic_device *vic) in resume_one_vic() argument
104 void __iomem *base = vic->base; in resume_one_vic()
106 printk(KERN_DEBUG "%s: resuming vic at %p\n", __func__, base); in resume_one_vic()
111 writel(vic->int_select, base + VIC_INT_SELECT); in resume_one_vic()
112 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
115 writel(vic->int_enable, base + VIC_INT_ENABLE); in resume_one_vic()
116 writel(~vic->int_enable, base + VIC_INT_ENABLE_CLEAR); in resume_one_vic()
120 writel(vic in resume_one_vic()
132 suspend_one_vic(struct vic_device *vic) suspend_one_vic() argument
204 handle_one_vic(struct vic_device *vic, struct pt_regs *regs) handle_one_vic() argument
222 struct vic_device *vic = irq_desc_get_handler_data(desc); vic_handle_irq_cascaded() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_edid.c4169 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 in cea_next_vic()
4219 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) cea_mode_alternate_timings() argument
4257 u8 vic; drm_match_cea_mode_clock_tolerance() local
4298 u8 vic; drm_match_cea_mode() local
4330 drm_valid_cea_vic(u8 vic) drm_valid_cea_vic() argument
4364 u8 vic; drm_match_hdmi_mode_clock_tolerance() local
4402 u8 vic; drm_match_hdmi_mode() local
4426 drm_valid_hdmi_vic(u8 vic) drm_valid_hdmi_vic() argument
4450 u8 vic = drm_match_cea_mode(mode); add_alternate_cea_modes() local
4545 u8 vic = svd_to_vic(svds[i]); do_y420vdb_modes() local
4675 add_hdmi_mode(struct drm_connector *connector, u8 vic) add_hdmi_mode() argument
4794 u8 vic; do_hdmi_vsdb_modes() local
5287 u8 vic; fixup_detailed_cea_mode_clock() local
5880 u8 vic = svd_to_vic(svds[i]); parse_cta_vdb() local
5902 u8 vic = info->vics[i]; update_cta_y420cmdb() local
5909 cta_vdb_has_vic(const struct drm_connector *connector, u8 vic) cta_vdb_has_vic() argument
5935 u8 vic = svd_to_vic(svds[i]); parse_cta_y420vdb() local
7045 vic_for_avi_infoframe(const struct drm_connector *connector, u8 vic) vic_for_avi_infoframe() argument
7069 u8 vic, hdmi_vic; drm_hdmi_avi_infoframe_from_display_mode() local
[all...]
/kernel/linux/linux-5.10/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
948 meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, unsigned int ycrcb_map, bool yuv420_mode, const struct drm_display_mode *mode) meson_venc_hdmi_mode_set() argument
[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
656 if (!vic) { 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
800 DRM_DEBUG_DRIVER("\"%s\" vic %d\n", mode->name, vic); in meson_venc_hdmi_encoder_mode_set()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_edid.c3332 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 in cea_next_vic()
3382 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) cea_mode_alternate_timings() argument
3420 u8 vic; drm_match_cea_mode_clock_tolerance() local
3459 u8 vic; drm_match_cea_mode() local
3489 drm_valid_cea_vic(u8 vic) drm_valid_cea_vic() argument
3523 u8 vic; drm_match_hdmi_mode_clock_tolerance() local
3561 u8 vic; drm_match_hdmi_mode() local
3585 drm_valid_hdmi_vic(u8 vic) drm_valid_hdmi_vic() argument
3609 u8 vic = drm_match_cea_mode(mode); add_alternate_cea_modes() local
3678 u8 vic; drm_display_mode_from_vic_index() local
3714 u8 vic = svd_to_vic(svds[i]); do_y420vdb_modes() local
3743 u8 vic = svd_to_vic(svd); drm_add_cmdb_modes() local
3875 add_hdmi_mode(struct drm_connector *connector, u8 vic) add_hdmi_mode() argument
3987 u8 vic; do_hdmi_vsdb_modes() local
4319 u8 vic; fixup_detailed_cea_mode_clock() local
5582 vic_for_avi_infoframe(const struct drm_connector *connector, u8 vic) vic_for_avi_infoframe() argument
5605 u8 vic, hdmi_vic; drm_hdmi_avi_infoframe_from_display_mode() local
[all...]
H A Ddrm_dp_helper.c898 u8 vic; in drm_dp_downstream_mode() local
910 vic = 6; in drm_dp_downstream_mode()
913 vic = 21; in drm_dp_downstream_mode()
916 vic = 5; in drm_dp_downstream_mode()
919 vic = 20; in drm_dp_downstream_mode()
922 vic = 4; in drm_dp_downstream_mode()
925 vic = 19; in drm_dp_downstream_mode()
930 return drm_display_mode_from_cea_vic(dev, vic); in drm_dp_downstream_mode()
/kernel/linux/linux-6.6/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); 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
142 if (!vic) { 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
216 vic = drm_match_cea_mode(mode); in meson_encoder_hdmi_atomic_enable()
218 dev_dbg(priv->dev, "\"%s\" vic in meson_encoder_hdmi_atomic_enable()
[all...]
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
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) meson_venc_hdmi_mode_set() argument
[all...]
/kernel/linux/linux-5.10/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 in rk3066_hdmi_setup()
488 u32 vic = drm_match_cea_mode(mode); rk3066_hdmi_connector_mode_valid() local
[all...]
H A Dinno_hdmi.c32 int vic; member
436 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in inno_hdmi_setup()
441 if ((hdmi->hdmi_data.vic == 6) || (hdmi->hdmi_data.vic == 7) || in inno_hdmi_setup()
442 (hdmi->hdmi_data.vic == 21) || (hdmi->hdmi_data.vic == 22) || in inno_hdmi_setup()
443 (hdmi->hdmi_data.vic == 2) || (hdmi->hdmi_data.vic == 3) || in inno_hdmi_setup()
444 (hdmi->hdmi_data.vic == 17) || (hdmi->hdmi_data.vic in inno_hdmi_setup()
[all...]
/kernel/linux/linux-6.6/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 in rk3066_hdmi_setup()
499 u32 vic = drm_match_cea_mode(mode); rk3066_hdmi_connector_mode_valid() local
[all...]
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 in inno_hdmi_setup()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dtraps.c190 int si_code, vic; in vector_exception() local
199 vic = (current->thread.fpu.fpc & 0xf00) >> 8; in vector_exception()
200 switch (vic) { in vector_exception()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dtraps.c194 int si_code, vic; in vector_exception() local
203 vic = (current->thread.fpu.fpc & 0xf00) >> 8; in vector_exception()
204 switch (vic) { in vector_exception()
/kernel/linux/linux-5.10/arch/arm/mach-nspire/
H A Dnspire.c12 #include <linux/irqchip/arm-vic.h>
/kernel/linux/linux-5.10/drivers/video/
H A Dhdmi.c509 else if (frame->vic != 0 || frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID) in hdmi_vendor_infoframe_length()
523 if (frame->vic != 0 && frame->s3d_struct != HDMI_3D_STRUCTURE_INVALID) in hdmi_vendor_infoframe_check_only()
596 } else if (frame->vic) { in hdmi_vendor_infoframe_pack_only()
598 ptr[8] = frame->vic; in hdmi_vendor_infoframe_pack_only()
1489 if (hvf->vic == 0 && hvf->s3d_struct == HDMI_3D_STRUCTURE_INVALID) { in hdmi_vendor_any_infoframe_log()
1494 if (hvf->vic) in hdmi_vendor_any_infoframe_log()
1495 hdmi_log(" HDMI VIC: %u\n", hvf->vic); in hdmi_vendor_any_infoframe_log()
1761 hvf->vic = ptr[4]; in hdmi_vendor_any_infoframe_unpack()

Completed in 30 milliseconds

123