Lines Matching refs:hotplug
3718 if (dev_priv->hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED) in intel_hpd_enabled_irqs()
3726 u32 hotplug; in ibx_hpd_detection_setup() local
3733 hotplug = I915_READ(PCH_PORT_HOTPLUG); in ibx_hpd_detection_setup()
3734 hotplug &= ~(PORTB_PULSE_DURATION_MASK | in ibx_hpd_detection_setup()
3737 hotplug |= PORTB_HOTPLUG_ENABLE | PORTB_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3738 hotplug |= PORTC_HOTPLUG_ENABLE | PORTC_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3739 hotplug |= PORTD_HOTPLUG_ENABLE | PORTD_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3745 hotplug |= PORTA_HOTPLUG_ENABLE; in ibx_hpd_detection_setup()
3746 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in ibx_hpd_detection_setup()
3768 u32 hotplug; in icp_hpd_detection_setup() local
3770 hotplug = I915_READ(SHOTPLUG_CTL_DDI); in icp_hpd_detection_setup()
3771 hotplug |= ICP_DDIA_HPD_ENABLE | in icp_hpd_detection_setup()
3773 I915_WRITE(SHOTPLUG_CTL_DDI, hotplug); in icp_hpd_detection_setup()
3775 hotplug = I915_READ(SHOTPLUG_CTL_TC); in icp_hpd_detection_setup()
3776 hotplug |= ICP_TC_HPD_ENABLE(PORT_TC1) | in icp_hpd_detection_setup()
3780 I915_WRITE(SHOTPLUG_CTL_TC, hotplug); in icp_hpd_detection_setup()
3797 u32 hotplug; in gen11_hpd_detection_setup() local
3799 hotplug = I915_READ(GEN11_TC_HOTPLUG_CTL); in gen11_hpd_detection_setup()
3800 hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) | in gen11_hpd_detection_setup()
3804 I915_WRITE(GEN11_TC_HOTPLUG_CTL, hotplug); in gen11_hpd_detection_setup()
3806 hotplug = I915_READ(GEN11_TBT_HOTPLUG_CTL); in gen11_hpd_detection_setup()
3807 hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) | in gen11_hpd_detection_setup()
3811 I915_WRITE(GEN11_TBT_HOTPLUG_CTL, hotplug); in gen11_hpd_detection_setup()
3835 u32 val, hotplug; in spt_hpd_detection_setup() local
3846 hotplug = I915_READ(PCH_PORT_HOTPLUG); in spt_hpd_detection_setup()
3847 hotplug |= PORTA_HOTPLUG_ENABLE | in spt_hpd_detection_setup()
3851 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in spt_hpd_detection_setup()
3853 hotplug = I915_READ(PCH_PORT_HOTPLUG2); in spt_hpd_detection_setup()
3854 hotplug |= PORTE_HOTPLUG_ENABLE; in spt_hpd_detection_setup()
3855 I915_WRITE(PCH_PORT_HOTPLUG2, hotplug); in spt_hpd_detection_setup()
3872 u32 hotplug; in ilk_hpd_detection_setup() local
3879 hotplug = I915_READ(DIGITAL_PORT_HOTPLUG_CNTRL); in ilk_hpd_detection_setup()
3880 hotplug &= ~DIGITAL_PORTA_PULSE_DURATION_MASK; in ilk_hpd_detection_setup()
3881 hotplug |= DIGITAL_PORTA_HOTPLUG_ENABLE | in ilk_hpd_detection_setup()
3883 I915_WRITE(DIGITAL_PORT_HOTPLUG_CNTRL, hotplug); in ilk_hpd_detection_setup()
3915 u32 hotplug; in __bxt_hpd_detection_setup() local
3917 hotplug = I915_READ(PCH_PORT_HOTPLUG); in __bxt_hpd_detection_setup()
3918 hotplug |= PORTA_HOTPLUG_ENABLE | in __bxt_hpd_detection_setup()
3923 hotplug, enabled_irqs); in __bxt_hpd_detection_setup()
3924 hotplug &= ~BXT_DDI_HPD_INVERT_MASK; in __bxt_hpd_detection_setup()
3932 hotplug |= BXT_DDIA_HPD_INVERT; in __bxt_hpd_detection_setup()
3935 hotplug |= BXT_DDIB_HPD_INVERT; in __bxt_hpd_detection_setup()
3938 hotplug |= BXT_DDIC_HPD_INVERT; in __bxt_hpd_detection_setup()
3940 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in __bxt_hpd_detection_setup()
4820 dev_priv->hotplug.hpd_storm_threshold = HPD_STORM_DEFAULT_THRESHOLD; in intel_irq_init()