Lines Matching refs:hotplug

3369 		if (dev_priv->hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED)  in intel_hpd_enabled_irqs()
3377 u32 hotplug; in ibx_hpd_detection_setup() local
3384 hotplug = I915_READ(PCH_PORT_HOTPLUG); in ibx_hpd_detection_setup()
3385 hotplug &= ~(PORTB_PULSE_DURATION_MASK | in ibx_hpd_detection_setup()
3388 hotplug |= PORTB_HOTPLUG_ENABLE | PORTB_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3389 hotplug |= PORTC_HOTPLUG_ENABLE | PORTC_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3390 hotplug |= PORTD_HOTPLUG_ENABLE | PORTD_PULSE_DURATION_2ms; in ibx_hpd_detection_setup()
3396 hotplug |= PORTA_HOTPLUG_ENABLE; in ibx_hpd_detection_setup()
3397 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in ibx_hpd_detection_setup()
3421 u32 hotplug; in icp_hpd_detection_setup() local
3423 hotplug = I915_READ(SHOTPLUG_CTL_DDI); in icp_hpd_detection_setup()
3424 hotplug |= ddi_hotplug_enable_mask; in icp_hpd_detection_setup()
3425 I915_WRITE(SHOTPLUG_CTL_DDI, hotplug); in icp_hpd_detection_setup()
3428 hotplug = I915_READ(SHOTPLUG_CTL_TC); in icp_hpd_detection_setup()
3429 hotplug |= tc_hotplug_enable_mask; in icp_hpd_detection_setup()
3430 I915_WRITE(SHOTPLUG_CTL_TC, hotplug); in icp_hpd_detection_setup()
3474 u32 hotplug; in gen11_hpd_detection_setup() local
3476 hotplug = I915_READ(GEN11_TC_HOTPLUG_CTL); in gen11_hpd_detection_setup()
3477 hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) | in gen11_hpd_detection_setup()
3481 I915_WRITE(GEN11_TC_HOTPLUG_CTL, hotplug); in gen11_hpd_detection_setup()
3483 hotplug = I915_READ(GEN11_TBT_HOTPLUG_CTL); in gen11_hpd_detection_setup()
3484 hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) | in gen11_hpd_detection_setup()
3488 I915_WRITE(GEN11_TBT_HOTPLUG_CTL, hotplug); in gen11_hpd_detection_setup()
3516 u32 val, hotplug; in spt_hpd_detection_setup() local
3527 hotplug = I915_READ(PCH_PORT_HOTPLUG); in spt_hpd_detection_setup()
3528 hotplug |= PORTA_HOTPLUG_ENABLE | in spt_hpd_detection_setup()
3532 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in spt_hpd_detection_setup()
3534 hotplug = I915_READ(PCH_PORT_HOTPLUG2); in spt_hpd_detection_setup()
3535 hotplug |= PORTE_HOTPLUG_ENABLE; in spt_hpd_detection_setup()
3536 I915_WRITE(PCH_PORT_HOTPLUG2, hotplug); in spt_hpd_detection_setup()
3553 u32 hotplug; in ilk_hpd_detection_setup() local
3560 hotplug = I915_READ(DIGITAL_PORT_HOTPLUG_CNTRL); in ilk_hpd_detection_setup()
3561 hotplug &= ~DIGITAL_PORTA_PULSE_DURATION_MASK; in ilk_hpd_detection_setup()
3562 hotplug |= DIGITAL_PORTA_HOTPLUG_ENABLE | in ilk_hpd_detection_setup()
3564 I915_WRITE(DIGITAL_PORT_HOTPLUG_CNTRL, hotplug); in ilk_hpd_detection_setup()
3596 u32 hotplug; in __bxt_hpd_detection_setup() local
3598 hotplug = I915_READ(PCH_PORT_HOTPLUG); in __bxt_hpd_detection_setup()
3599 hotplug |= PORTA_HOTPLUG_ENABLE | in __bxt_hpd_detection_setup()
3604 hotplug, enabled_irqs); in __bxt_hpd_detection_setup()
3605 hotplug &= ~BXT_DDI_HPD_INVERT_MASK; in __bxt_hpd_detection_setup()
3613 hotplug |= BXT_DDIA_HPD_INVERT; in __bxt_hpd_detection_setup()
3616 hotplug |= BXT_DDIB_HPD_INVERT; in __bxt_hpd_detection_setup()
3619 hotplug |= BXT_DDIC_HPD_INVERT; in __bxt_hpd_detection_setup()
3621 I915_WRITE(PCH_PORT_HOTPLUG, hotplug); in __bxt_hpd_detection_setup()
4377 dev_priv->hotplug.hpd_storm_threshold = HPD_STORM_DEFAULT_THRESHOLD; in intel_irq_init()
4384 dev_priv->hotplug.hpd_short_storm_enabled = !HAS_DP_MST(dev_priv); in intel_irq_init()