Lines Matching refs:obe
127 } obe; member
384 struct aspeed_kcs_bmc *priv = container_of(timer, struct aspeed_kcs_bmc, obe.timer); in aspeed_kcs_check_obe()
388 spin_lock_irqsave(&priv->obe.lock, flags); in aspeed_kcs_check_obe()
389 if (priv->obe.remove) { in aspeed_kcs_check_obe()
390 spin_unlock_irqrestore(&priv->obe.lock, flags); in aspeed_kcs_check_obe()
397 spin_unlock_irqrestore(&priv->obe.lock, flags); in aspeed_kcs_check_obe()
400 spin_unlock_irqrestore(&priv->obe.lock, flags); in aspeed_kcs_check_obe()
429 mod_timer(&priv->obe.timer, jiffies + OBE_POLL_PERIOD); in aspeed_kcs_irq_mask_update()
431 del_timer(&priv->obe.timer); in aspeed_kcs_irq_mask_update()
605 spin_lock_init(&priv->obe.lock); in aspeed_kcs_probe()
606 priv->obe.remove = false; in aspeed_kcs_probe()
607 timer_setup(&priv->obe.timer, aspeed_kcs_check_obe, 0); in aspeed_kcs_probe()
655 spin_lock_irq(&priv->obe.lock); in aspeed_kcs_remove()
656 priv->obe.remove = true; in aspeed_kcs_remove()
657 spin_unlock_irq(&priv->obe.lock); in aspeed_kcs_remove()
658 del_timer_sync(&priv->obe.timer); in aspeed_kcs_remove()