Lines Matching full:hotplug
157 struct i915_hotplug *hpd = &dev_priv->hotplug; in intel_hpd_init_pins()
289 /* For display hotplug interrupt */
307 * i915_hotplug_interrupt_update - update hotplug interrupt enable
1165 * hotplug detection results from several registers.
1190 "hotplug event received, stat 0x%08x, dig 0x%08x, pins 0x%08x, long 0x%08x\n", in intel_get_hpd_pins()
1476 * bits can itself generate a new hotplug interrupt :( in i9xx_hpd_irq_ack()
1510 dev_priv->hotplug.hpd, in i9xx_hpd_irq_handler()
1691 * unless we touch the hotplug register, even if hotplug_trigger is in ibx_hpd_irq_handler()
1710 dev_priv->hotplug.pch_hpd, in ibx_hpd_irq_handler()
1872 dev_priv->hotplug.pch_hpd, in icp_irq_handler()
1884 dev_priv->hotplug.pch_hpd, in icp_irq_handler()
1910 dev_priv->hotplug.pch_hpd, in spt_irq_handler()
1922 dev_priv->hotplug.pch_hpd, in spt_irq_handler()
1943 dev_priv->hotplug.hpd, in ilk_hpd_irq_handler()
1987 /* should clear PCH hotplug event before clear CPU irq */ in ilk_display_irq_handler()
2031 /* clear PCH hotplug event before clear CPU irq */ in ivb_display_irq_handler()
2122 dev_priv->hotplug.hpd, in bxt_hpd_irq_handler()
2142 dev_priv->hotplug.hpd, in gen11_hpd_irq_handler()
2154 dev_priv->hotplug.hpd, in gen11_hpd_irq_handler()
2984 if (dev_priv->hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED) in intel_hpd_enabled_irqs()
3004 u32 hotplug; in ibx_hpd_detection_setup() local
3007 * Enable digital hotplug on the PCH, and configure the DP short pulse in ibx_hpd_detection_setup()
3011 hotplug = I915_READ(PCH_PORT_HOTPLUG); in ibx_hpd_detection_setup()
3012 hotplug &= ~(PORTB_PULSE_DURATION_MASK | in ibx_hpd_detection_setup()
3015 hotplug |= PORTB_HOTPLUG_ENABLE | PORTB_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3016 hotplug |= PORTC_HOTPLUG_ENABLE | PORTC_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3017 hotplug |= PORTD_HOTPLUG_ENABLE | PORTD_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3023 hotplug |= PORTA_HOTPLUG_ENABLE; in ibx_hpd_detection_setup()
3024 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in ibx_hpd_detection_setup()
3031 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in ibx_hpd_irq_setup()
3032 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in ibx_hpd_irq_setup()
3042 u32 hotplug; in icp_ddi_hpd_detection_setup() local
3044 hotplug = I915_READ(SHOTPLUG_CTL_DDI); in icp_ddi_hpd_detection_setup()
3045 hotplug |= enable_mask; in icp_ddi_hpd_detection_setup()
3046 I915_WRITE(SHOTPLUG_CTL_DDI, hotplug); in icp_ddi_hpd_detection_setup()
3052 u32 hotplug; in icp_tc_hpd_detection_setup() local
3054 hotplug = I915_READ(SHOTPLUG_CTL_TC); in icp_tc_hpd_detection_setup()
3055 hotplug |= enable_mask; in icp_tc_hpd_detection_setup()
3056 I915_WRITE(SHOTPLUG_CTL_TC, hotplug); in icp_tc_hpd_detection_setup()
3064 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in icp_hpd_irq_setup()
3065 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in icp_hpd_irq_setup()
3100 u32 hotplug; in gen11_hpd_detection_setup() local
3102 hotplug = I915_READ(GEN11_TC_HOTPLUG_CTL); in gen11_hpd_detection_setup()
3103 hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) | in gen11_hpd_detection_setup()
3109 I915_WRITE(GEN11_TC_HOTPLUG_CTL, hotplug); in gen11_hpd_detection_setup()
3111 hotplug = I915_READ(GEN11_TBT_HOTPLUG_CTL); in gen11_hpd_detection_setup()
3112 hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) | in gen11_hpd_detection_setup()
3118 I915_WRITE(GEN11_TBT_HOTPLUG_CTL, hotplug); in gen11_hpd_detection_setup()
3126 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.hpd); in gen11_hpd_irq_setup()
3127 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.hpd); in gen11_hpd_irq_setup()
3147 u32 val, hotplug; in spt_hpd_detection_setup() local
3157 /* Enable digital hotplug on the PCH */ in spt_hpd_detection_setup()
3158 hotplug = I915_READ(PCH_PORT_HOTPLUG); in spt_hpd_detection_setup()
3159 hotplug |= PORTA_HOTPLUG_ENABLE | in spt_hpd_detection_setup()
3163 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in spt_hpd_detection_setup()
3165 hotplug = I915_READ(PCH_PORT_HOTPLUG2); in spt_hpd_detection_setup()
3166 hotplug |= PORTE_HOTPLUG_ENABLE; in spt_hpd_detection_setup()
3167 I915_WRITE(PCH_PORT_HOTPLUG2, hotplug); in spt_hpd_detection_setup()
3177 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in spt_hpd_irq_setup()
3178 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in spt_hpd_irq_setup()
3187 u32 hotplug; in ilk_hpd_detection_setup() local
3190 * Enable digital hotplug on the CPU, and configure the DP short pulse in ilk_hpd_detection_setup()
3194 hotplug = I915_READ(DIGITAL_PORT_HOTPLUG_CNTRL); in ilk_hpd_detection_setup()
3195 hotplug &= ~DIGITAL_PORTA_PULSE_DURATION_MASK; in ilk_hpd_detection_setup()
3196 hotplug |= DIGITAL_PORTA_HOTPLUG_ENABLE | in ilk_hpd_detection_setup()
3198 I915_WRITE(DIGITAL_PORT_HOTPLUG_CNTRL, hotplug); in ilk_hpd_detection_setup()
3205 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.hpd); in ilk_hpd_irq_setup()
3206 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.hpd); in ilk_hpd_irq_setup()
3221 u32 hotplug; in __bxt_hpd_detection_setup() local
3223 hotplug = I915_READ(PCH_PORT_HOTPLUG); in __bxt_hpd_detection_setup()
3224 hotplug |= PORTA_HOTPLUG_ENABLE | in __bxt_hpd_detection_setup()
3230 hotplug, enabled_irqs); in __bxt_hpd_detection_setup()
3231 hotplug &= ~BXT_DDI_HPD_INVERT_MASK; in __bxt_hpd_detection_setup()
3239 hotplug |= BXT_DDIA_HPD_INVERT; in __bxt_hpd_detection_setup()
3242 hotplug |= BXT_DDIB_HPD_INVERT; in __bxt_hpd_detection_setup()
3245 hotplug |= BXT_DDIC_HPD_INVERT; in __bxt_hpd_detection_setup()
3247 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in __bxt_hpd_detection_setup()
3259 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.hpd); in bxt_hpd_irq_setup()
3260 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.hpd); in bxt_hpd_irq_setup()
3875 /* Note HDMI and DP share hotplug bits */ in i915_hpd_irq_setup()
3879 to generate a spurious hotplug event about three in i915_hpd_irq_setup()
3985 dev_priv->hotplug.hpd_storm_threshold = HPD_STORM_DEFAULT_THRESHOLD; in intel_irq_init()
3992 dev_priv->hotplug.hpd_short_storm_enabled = !HAS_DP_MST(dev_priv); in intel_irq_init()
4102 * This function enables the hardware interrupt handling, but leaves the hotplug
4106 * but don't want to deal with the hassle of concurrent probe and hotplug
4141 * This stops interrupt and hotplug handling and unregisters and frees all