Lines Matching refs:work
69 struct delayed_work work; member
354 static void em28xx_ir_work(struct work_struct *work) in em28xx_ir_work() argument
356 struct em28xx_IR *ir = container_of(work, struct em28xx_IR, work.work); in em28xx_ir_work()
362 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in em28xx_ir_work()
369 INIT_DELAYED_WORK(&ir->work, em28xx_ir_work); in em28xx_ir_start()
370 schedule_delayed_work(&ir->work, 0); in em28xx_ir_start()
379 cancel_delayed_work_sync(&ir->work); in em28xx_ir_stop()
490 static void em28xx_query_buttons(struct work_struct *work) in em28xx_query_buttons() argument
493 container_of(work, struct em28xx, buttons_query_work.work); in em28xx_query_buttons()
866 cancel_delayed_work_sync(&ir->work); in em28xx_ir_suspend()
885 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in em28xx_ir_resume()