Searched refs:ptimer (Results 1 – 9 of 9) sorted by relevance
80 static inline void _init_timer(struct timer_list *ptimer, in _init_timer() argument84 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() argument91 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() argument96 del_timer(ptimer); in _cancel_timer()178 static inline unsigned char _cancel_timer_ex(struct timer_list *ptimer) in _cancel_timer_ex() argument180 return del_timer(ptimer); in _cancel_timer_ex()
60 void _setup_timer(struct timer_list *ptimer, void *fun, unsigned long data) in _setup_timer() argument62 ptimer->function = fun; in _setup_timer()63 ptimer->data = data; in _setup_timer()64 init_timer(ptimer); in _setup_timer()
238 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()
167 struct timer_list ptimer; /* Poll timer */ member
117 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nv04_pm_clocks_set() local133 ptimer->init(dev); in nv04_pm_clocks_set()
197 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_pm_trigger() local198 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() local571 start = ptimer->read(dev); in nouveau_hwmon_show_fan0_input()582 } while (ptimer->read(dev) - start < 250000000); in nouveau_hwmon_show_fan0_input()
1389 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nouveau_wait_eq() local1390 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() local1407 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() local1424 u64 start = ptimer->read(dev); in nouveau_wait_cb()1429 } while (ptimer->read(dev) - start < timeout); in nouveau_wait_cb()
135 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nv50_display_sync() local153 start = ptimer->read(dev); in nv50_display_sync()157 } while (ptimer->read(dev) - start < 2000000000ULL); in nv50_display_sync()
416 struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer; in nv84_graph_tlb_flush() local425 start = ptimer->read(dev); in nv84_graph_tlb_flush()443 } while (!idle && !(timeout = ptimer->read(dev) - start > 2000000000)); in nv84_graph_tlb_flush()