Lines Matching refs:vc4_hdmi
130 void vc4_hdmi_phy_init(struct vc4_hdmi *vc4_hdmi, in vc4_hdmi_phy_init() argument
139 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init()
144 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init()
147 void vc4_hdmi_phy_disable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_disable() argument
151 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable()
153 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable()
156 void vc4_hdmi_phy_rng_enable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_rng_enable() argument
160 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable()
164 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable()
167 void vc4_hdmi_phy_rng_disable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_rng_disable() argument
171 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_disable()
175 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_disable()
355 static void vc5_hdmi_reset_phy(struct vc4_hdmi *vc4_hdmi) in vc5_hdmi_reset_phy() argument
357 lockdep_assert_held(&vc4_hdmi->hw_lock); in vc5_hdmi_reset_phy()
363 void vc5_hdmi_phy_init(struct vc4_hdmi *vc4_hdmi, in vc5_hdmi_phy_init() argument
367 const struct vc4_hdmi_variant *variant = vc4_hdmi->variant; in vc5_hdmi_phy_init()
376 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_init()
378 vc5_hdmi_reset_phy(vc4_hdmi); in vc5_hdmi_phy_init()
528 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_init()
531 void vc5_hdmi_phy_disable(struct vc4_hdmi *vc4_hdmi) in vc5_hdmi_phy_disable() argument
535 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_disable()
536 vc5_hdmi_reset_phy(vc4_hdmi); in vc5_hdmi_phy_disable()
537 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_disable()
540 void vc5_hdmi_phy_rng_enable(struct vc4_hdmi *vc4_hdmi) in vc5_hdmi_phy_rng_enable() argument
544 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_rng_enable()
548 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_rng_enable()
551 void vc5_hdmi_phy_rng_disable(struct vc4_hdmi *vc4_hdmi) in vc5_hdmi_phy_rng_disable() argument
555 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_rng_disable()
559 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_rng_disable()