Home
last modified time | relevance | path

Searched refs:INTEL_PCH_TYPE (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/soc/
Dintel_pch.h66 #define INTEL_PCH_TYPE(dev_priv) ((dev_priv)->pch_type) macro
68 #define HAS_PCH_DG2(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_DG2)
69 #define HAS_PCH_ADP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_ADP)
70 #define HAS_PCH_DG1(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_DG1)
71 #define HAS_PCH_TGP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_TGP)
72 #define HAS_PCH_ICP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_ICP)
73 #define HAS_PCH_CNP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_CNP)
74 #define HAS_PCH_SPT(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_SPT)
75 #define HAS_PCH_LPT(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_LPT)
82 #define HAS_PCH_CPT(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_CPT)
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_hotplug_irq.c162 if ((INTEL_PCH_TYPE(dev_priv) < PCH_DG1) && in intel_hpd_init_pins()
166 if (INTEL_PCH_TYPE(dev_priv) >= PCH_MTL) in intel_hpd_init_pins()
168 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_DG1) in intel_hpd_init_pins()
170 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in intel_hpd_init_pins()
179 MISSING_CASE(INTEL_PCH_TYPE(dev_priv)); in intel_hpd_init_pins()
852 if (INTEL_PCH_TYPE(dev_priv) <= PCH_TGP) in icp_hpd_irq_setup()
945 if (INTEL_PCH_TYPE(i915) >= PCH_ICP) in gen11_hpd_enable_detection()
963 if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in gen11_hpd_irq_setup()
1144 if (INTEL_PCH_TYPE(i915) >= PCH_LNL) in xelpdp_hpd_irq_setup()
1146 else if (INTEL_PCH_TYPE(i915) >= PCH_MTL) in xelpdp_hpd_irq_setup()
[all …]
Dintel_gmbus.c158 if (INTEL_PCH_TYPE(i915) >= PCH_MTL) { in get_gmbus_pin()
161 } else if (INTEL_PCH_TYPE(i915) >= PCH_DG2) { in get_gmbus_pin()
164 } else if (INTEL_PCH_TYPE(i915) >= PCH_DG1) { in get_gmbus_pin()
167 } else if (INTEL_PCH_TYPE(i915) >= PCH_ICP) { in get_gmbus_pin()
Dintel_pps.c363 if (INTEL_PCH_TYPE(i915) >= PCH_MTL) in intel_num_pps()
366 if (INTEL_PCH_TYPE(i915) >= PCH_DG1) in intel_num_pps()
369 if (INTEL_PCH_TYPE(i915) >= PCH_ICP) in intel_num_pps()
381 INTEL_PCH_TYPE(i915) >= PCH_ICP && in intel_pps_is_valid()
382 INTEL_PCH_TYPE(i915) <= PCH_ADP) in intel_pps_is_valid()
517 INTEL_PCH_TYPE(dev_priv) >= PCH_CNP) in intel_pps_get_registers()
Dintel_backlight.c1452 if (INTEL_PCH_TYPE(i915) >= PCH_MTL) in cnp_num_backlight_controllers()
1455 if (INTEL_PCH_TYPE(i915) >= PCH_DG1) in cnp_num_backlight_controllers()
1458 if (INTEL_PCH_TYPE(i915) >= PCH_ICP) in cnp_num_backlight_controllers()
1470 INTEL_PCH_TYPE(i915) >= PCH_ICP && in cnp_backlight_controller_is_valid()
1471 INTEL_PCH_TYPE(i915) <= PCH_ADP) in cnp_backlight_controller_is_valid()
1802 } else if (INTEL_PCH_TYPE(i915) >= PCH_CNP) { in intel_backlight_init_funcs()
1804 } else if (INTEL_PCH_TYPE(i915) >= PCH_LPT) { in intel_backlight_init_funcs()
Dintel_display_power.c1632 if (INTEL_PCH_TYPE(dev_priv) >= PCH_TGP && in icl_display_core_init()
1633 INTEL_PCH_TYPE(dev_priv) < PCH_DG1) in icl_display_core_init()
2236 if (INTEL_PCH_TYPE(i915) >= PCH_CNP && INTEL_PCH_TYPE(i915) < PCH_DG1) in intel_display_power_suspend_late()
2251 if (INTEL_PCH_TYPE(i915) >= PCH_CNP && INTEL_PCH_TYPE(i915) < PCH_DG1) in intel_display_power_resume_early()
Dintel_display_irq.c1055 drm_WARN_ON(&i915->drm, INTEL_PCH_TYPE(i915) < PCH_MTL); in gen8_read_and_ack_pch_irqs()
1210 if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in gen8_de_irq_handler()
1212 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_SPT) in gen8_de_irq_handler()
1562 if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in gen11_display_irq_reset()
1733 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in gen8_de_irq_postinstall()
Dintel_hdmi.c2811 if (INTEL_PCH_TYPE(dev_priv) >= PCH_TGP && phy >= PHY_C) in rkl_encoder_to_ddc_pin()
2831 if (INTEL_PCH_TYPE(i915) >= PCH_TGP && phy >= PHY_C) in gen9bc_tgp_encoder_to_ddc_pin()
2889 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_DG1) in intel_hdmi_default_ddc_pin()
2898 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in intel_hdmi_default_ddc_pin()
Dintel_cdclk.c3526 if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP) in cnp_rawclk()
3563 if (INTEL_PCH_TYPE(dev_priv) >= PCH_MTL) in intel_read_rawclk()
3570 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_DG1) in intel_read_rawclk()
3572 else if (INTEL_PCH_TYPE(dev_priv) >= PCH_CNP) in intel_read_rawclk()
Dintel_bios.c2245 if (INTEL_PCH_TYPE(i915) >= PCH_MTL || IS_ALDERLAKE_P(i915)) { in map_ddc_pin()
2251 } else if (INTEL_PCH_TYPE(i915) >= PCH_DG1) { in map_ddc_pin()
2253 } else if (IS_ROCKETLAKE(i915) && INTEL_PCH_TYPE(i915) == PCH_TGP) { in map_ddc_pin()
2259 } else if (INTEL_PCH_TYPE(i915) >= PCH_ICP) { in map_ddc_pin()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_debugfs.c72 seq_printf(m, "pch: %d\n", INTEL_PCH_TYPE(i915)); in i915_capabilities()