Lines Matching refs:hotplug

184 	struct i915_hotplug *hpd = &dev_priv->hotplug;  in intel_hpd_init_pins()
1274 if (dev_priv->hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED) in intel_hpd_enabled_irqs()
1296 u32 hotplug = 0; in intel_hpd_hotplug_enables() local
1299 hotplug |= hotplug_enables(i915, encoder->hpd_pin); in intel_hpd_hotplug_enables()
1301 return hotplug; in intel_hpd_hotplug_enables()
1639 dev_priv->hotplug.hpd, in i9xx_hpd_irq_handler()
1843 dev_priv->hotplug.pch_hpd, in ibx_hpd_irq_handler()
1988 dev_priv->hotplug.pch_hpd, in icp_irq_handler()
2000 dev_priv->hotplug.pch_hpd, in icp_irq_handler()
2026 dev_priv->hotplug.pch_hpd, in spt_irq_handler()
2038 dev_priv->hotplug.pch_hpd, in spt_irq_handler()
2059 dev_priv->hotplug.hpd, in ilk_hpd_irq_handler()
2239 dev_priv->hotplug.hpd, in bxt_hpd_irq_handler()
2259 dev_priv->hotplug.hpd, in gen11_hpd_irq_handler()
2271 dev_priv->hotplug.hpd, in gen11_hpd_irq_handler()
3290 u32 hotplug; in ibx_hpd_detection_setup() local
3297 hotplug = intel_uncore_read(&dev_priv->uncore, PCH_PORT_HOTPLUG); in ibx_hpd_detection_setup()
3298 hotplug &= ~(PORTA_HOTPLUG_ENABLE | in ibx_hpd_detection_setup()
3305 hotplug |= intel_hpd_hotplug_enables(dev_priv, ibx_hotplug_enables); in ibx_hpd_detection_setup()
3306 intel_uncore_write(&dev_priv->uncore, PCH_PORT_HOTPLUG, hotplug); in ibx_hpd_detection_setup()
3313 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in ibx_hpd_irq_setup()
3314 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in ibx_hpd_irq_setup()
3353 u32 hotplug; in icp_ddi_hpd_detection_setup() local
3355 hotplug = intel_uncore_read(&dev_priv->uncore, SHOTPLUG_CTL_DDI); in icp_ddi_hpd_detection_setup()
3356 hotplug &= ~(SHOTPLUG_CTL_DDI_HPD_ENABLE(HPD_PORT_A) | in icp_ddi_hpd_detection_setup()
3360 hotplug |= intel_hpd_hotplug_enables(dev_priv, icp_ddi_hotplug_enables); in icp_ddi_hpd_detection_setup()
3361 intel_uncore_write(&dev_priv->uncore, SHOTPLUG_CTL_DDI, hotplug); in icp_ddi_hpd_detection_setup()
3366 u32 hotplug; in icp_tc_hpd_detection_setup() local
3368 hotplug = intel_uncore_read(&dev_priv->uncore, SHOTPLUG_CTL_TC); in icp_tc_hpd_detection_setup()
3369 hotplug &= ~(ICP_TC_HPD_ENABLE(HPD_PORT_TC1) | in icp_tc_hpd_detection_setup()
3375 hotplug |= intel_hpd_hotplug_enables(dev_priv, icp_tc_hotplug_enables); in icp_tc_hpd_detection_setup()
3376 intel_uncore_write(&dev_priv->uncore, SHOTPLUG_CTL_TC, hotplug); in icp_tc_hpd_detection_setup()
3383 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in icp_hpd_irq_setup()
3384 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in icp_hpd_irq_setup()
3427 u32 hotplug; in gen11_tc_hpd_detection_setup() local
3429 hotplug = intel_uncore_read(&dev_priv->uncore, GEN11_TC_HOTPLUG_CTL); in gen11_tc_hpd_detection_setup()
3430 hotplug &= ~(GEN11_HOTPLUG_CTL_ENABLE(HPD_PORT_TC1) | in gen11_tc_hpd_detection_setup()
3436 hotplug |= intel_hpd_hotplug_enables(dev_priv, gen11_hotplug_enables); in gen11_tc_hpd_detection_setup()
3437 intel_uncore_write(&dev_priv->uncore, GEN11_TC_HOTPLUG_CTL, hotplug); in gen11_tc_hpd_detection_setup()
3442 u32 hotplug; in gen11_tbt_hpd_detection_setup() local
3444 hotplug = intel_uncore_read(&dev_priv->uncore, GEN11_TBT_HOTPLUG_CTL); in gen11_tbt_hpd_detection_setup()
3445 hotplug &= ~(GEN11_HOTPLUG_CTL_ENABLE(HPD_PORT_TC1) | in gen11_tbt_hpd_detection_setup()
3451 hotplug |= intel_hpd_hotplug_enables(dev_priv, gen11_hotplug_enables); in gen11_tbt_hpd_detection_setup()
3452 intel_uncore_write(&dev_priv->uncore, GEN11_TBT_HOTPLUG_CTL, hotplug); in gen11_tbt_hpd_detection_setup()
3460 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.hpd); in gen11_hpd_irq_setup()
3461 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.hpd); in gen11_hpd_irq_setup()
3506 u32 val, hotplug; in spt_hpd_detection_setup() local
3517 hotplug = intel_uncore_read(&dev_priv->uncore, PCH_PORT_HOTPLUG); in spt_hpd_detection_setup()
3518 hotplug &= ~(PORTA_HOTPLUG_ENABLE | in spt_hpd_detection_setup()
3522 hotplug |= intel_hpd_hotplug_enables(dev_priv, spt_hotplug_enables); in spt_hpd_detection_setup()
3523 intel_uncore_write(&dev_priv->uncore, PCH_PORT_HOTPLUG, hotplug); in spt_hpd_detection_setup()
3525 hotplug = intel_uncore_read(&dev_priv->uncore, PCH_PORT_HOTPLUG2); in spt_hpd_detection_setup()
3526 hotplug &= ~PORTE_HOTPLUG_ENABLE; in spt_hpd_detection_setup()
3527 hotplug |= intel_hpd_hotplug_enables(dev_priv, spt_hotplug2_enables); in spt_hpd_detection_setup()
3528 intel_uncore_write(&dev_priv->uncore, PCH_PORT_HOTPLUG2, hotplug); in spt_hpd_detection_setup()
3538 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in spt_hpd_irq_setup()
3539 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.pch_hpd); in spt_hpd_irq_setup()
3560 u32 hotplug; in ilk_hpd_detection_setup() local
3567 hotplug = intel_uncore_read(&dev_priv->uncore, DIGITAL_PORT_HOTPLUG_CNTRL); in ilk_hpd_detection_setup()
3568 hotplug &= ~(DIGITAL_PORTA_HOTPLUG_ENABLE | in ilk_hpd_detection_setup()
3570 hotplug |= intel_hpd_hotplug_enables(dev_priv, ilk_hotplug_enables); in ilk_hpd_detection_setup()
3571 intel_uncore_write(&dev_priv->uncore, DIGITAL_PORT_HOTPLUG_CNTRL, hotplug); in ilk_hpd_detection_setup()
3578 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.hpd); in ilk_hpd_irq_setup()
3579 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.hpd); in ilk_hpd_irq_setup()
3594 u32 hotplug; in bxt_hotplug_enables() local
3598 hotplug = PORTA_HOTPLUG_ENABLE; in bxt_hotplug_enables()
3600 hotplug |= BXT_DDIA_HPD_INVERT; in bxt_hotplug_enables()
3601 return hotplug; in bxt_hotplug_enables()
3603 hotplug = PORTB_HOTPLUG_ENABLE; in bxt_hotplug_enables()
3605 hotplug |= BXT_DDIB_HPD_INVERT; in bxt_hotplug_enables()
3606 return hotplug; in bxt_hotplug_enables()
3608 hotplug = PORTC_HOTPLUG_ENABLE; in bxt_hotplug_enables()
3610 hotplug |= BXT_DDIC_HPD_INVERT; in bxt_hotplug_enables()
3611 return hotplug; in bxt_hotplug_enables()
3619 u32 hotplug; in bxt_hpd_detection_setup() local
3621 hotplug = intel_uncore_read(&dev_priv->uncore, PCH_PORT_HOTPLUG); in bxt_hpd_detection_setup()
3622 hotplug &= ~(PORTA_HOTPLUG_ENABLE | in bxt_hpd_detection_setup()
3628 hotplug |= intel_hpd_hotplug_enables(dev_priv, bxt_hotplug_enables); in bxt_hpd_detection_setup()
3629 intel_uncore_write(&dev_priv->uncore, PCH_PORT_HOTPLUG, hotplug); in bxt_hpd_detection_setup()
3636 enabled_irqs = intel_hpd_enabled_irqs(dev_priv, dev_priv->hotplug.hpd); in bxt_hpd_irq_setup()
3637 hotplug_irqs = intel_hpd_hotplug_irqs(dev_priv, dev_priv->hotplug.hpd); in bxt_hpd_irq_setup()
4401 dev_priv->hotplug.hpd_storm_threshold = HPD_STORM_DEFAULT_THRESHOLD; in intel_irq_init()
4408 dev_priv->hotplug.hpd_short_storm_enabled = !HAS_DP_MST(dev_priv); in intel_irq_init()