Home
last modified time | relevance | path

Searched refs:lid_timer (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dpsb_lid.c16 struct drm_psb_private *dev_priv = from_timer(dev_priv, t, lid_timer); in psb_lid_timer_func()
18 struct timer_list *lid_timer = &dev_priv->lid_timer; in psb_lid_timer_func() local
53 if (!timer_pending(lid_timer)) { in psb_lid_timer_func()
54 lid_timer->expires = jiffies + PSB_LID_DELAY; in psb_lid_timer_func()
55 add_timer(lid_timer); in psb_lid_timer_func()
62 struct timer_list *lid_timer = &dev_priv->lid_timer; in psb_lid_timer_init() local
68 timer_setup(lid_timer, psb_lid_timer_func, 0); in psb_lid_timer_init()
70 lid_timer->expires = jiffies + PSB_LID_DELAY; in psb_lid_timer_init()
72 add_timer(lid_timer); in psb_lid_timer_init()
78 del_timer_sync(&dev_priv->lid_timer); in psb_lid_timer_takedown()
Dpsb_drv.h558 struct timer_list lid_timer; member