Home
last modified time | relevance | path

Searched refs:ptimer (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/rtl8712/
Dosdep_service.h80 static inline void _init_timer(struct timer_list *ptimer, in _init_timer() argument
84 ptimer->function = pfunc; in _init_timer()
85 ptimer->data = (addr_t)cntx; in _init_timer()
86 init_timer(ptimer); in _init_timer()
89 static inline void _set_timer(struct timer_list *ptimer, u32 delay_time) in _set_timer() argument
91 mod_timer(ptimer, (jiffies+(delay_time*HZ/1000))); in _set_timer()
94 static inline void _cancel_timer(struct timer_list *ptimer, u8 *bcancelled) in _cancel_timer() argument
96 del_timer(ptimer); in _cancel_timer()
178 static inline unsigned char _cancel_timer_ex(struct timer_list *ptimer) in _cancel_timer_ex() argument
180 return del_timer(ptimer); in _cancel_timer_ex()
/drivers/staging/rtl8192e/
Drtllib_module.c60 void _setup_timer(struct timer_list *ptimer, void *fun, unsigned long data) in _setup_timer() argument
62 ptimer->function = fun; in _setup_timer()
63 ptimer->data = data; in _setup_timer()
64 init_timer(ptimer); in _setup_timer()
/drivers/isdn/act2000/
Dmodule.c238 mod_timer(&card->ptimer, jiffies + 3); in act2000_poll()
267 card->ptimer.expires = jiffies + 3; in act2000_command()
268 card->ptimer.function = act2000_poll; in act2000_command()
269 card->ptimer.data = (unsigned long)card; in act2000_command()
270 add_timer(&card->ptimer); in act2000_command()
589 init_timer(&card->ptimer); in act2000_alloccard()
799 del_timer(&card->ptimer); in act2000_exit()
Dact2000.h167 struct timer_list ptimer; /* Poll timer */ member
/drivers/gpu/drm/nouveau/
Dnv04_pm.c117 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nv04_pm_clocks_set() local
133 ptimer->init(dev); in nv04_pm_clocks_set()
Dnouveau_pm.c197 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_pm_trigger() local
198 u64 time0 = ptimer->read(dev); in nouveau_pm_trigger()
206 ptimer->read(dev) - time0); in nouveau_pm_trigger()
557 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_hwmon_show_fan0_input() local
571 start = ptimer->read(dev); in nouveau_hwmon_show_fan0_input()
582 } while (ptimer->read(dev) - start < 250000000); in nouveau_hwmon_show_fan0_input()
Dnouveau_state.c1389 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_wait_eq() local
1390 uint64_t start = ptimer->read(dev); in nouveau_wait_eq()
1395 } while (ptimer->read(dev) - start < timeout); in nouveau_wait_eq()
1406 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_wait_ne() local
1407 uint64_t start = ptimer->read(dev); in nouveau_wait_ne()
1412 } while (ptimer->read(dev) - start < timeout); in nouveau_wait_ne()
1423 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_wait_cb() local
1424 u64 start = ptimer->read(dev); in nouveau_wait_cb()
1429 } while (ptimer->read(dev) - start < timeout); in nouveau_wait_cb()
Dnv50_display.c135 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nv50_display_sync() local
153 start = ptimer->read(dev); in nv50_display_sync()
157 } while (ptimer->read(dev) - start < 2000000000ULL); in nv50_display_sync()
Dnv50_graph.c416 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nv84_graph_tlb_flush() local
425 start = ptimer->read(dev); in nv84_graph_tlb_flush()
443 } while (!idle && !(timeout = ptimer->read(dev) - start > 2000000000)); in nv84_graph_tlb_flush()