Lines Matching refs:work
38 static void interrupt_event_handler(struct work_struct *work);
52 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event()
54 queue_work(p_slot->wq, &info->work); in queue_interrupt_event()
393 struct work_struct work; member
403 static void shpchp_pushbutton_thread(struct work_struct *work) in shpchp_pushbutton_thread() argument
406 container_of(work, struct pushbutton_work_info, work); in shpchp_pushbutton_thread()
432 void shpchp_queue_pushbutton_work(struct work_struct *work) in shpchp_queue_pushbutton_work() argument
434 struct slot *p_slot = container_of(work, struct slot, work.work); in shpchp_queue_pushbutton_work()
444 INIT_WORK(&info->work, shpchp_pushbutton_thread); in shpchp_queue_pushbutton_work()
458 queue_work(p_slot->wq, &info->work); in shpchp_queue_pushbutton_work()
506 queue_delayed_work(p_slot->wq, &p_slot->work, 5*HZ); in handle_button_press_event()
517 cancel_delayed_work(&p_slot->work); in handle_button_press_event()
544 static void interrupt_event_handler(struct work_struct *work) in interrupt_event_handler() argument
546 struct event_info *info = container_of(work, struct event_info, work); in interrupt_event_handler()
670 cancel_delayed_work(&p_slot->work); in shpchp_sysfs_enable_slot()
705 cancel_delayed_work(&p_slot->work); in shpchp_sysfs_disable_slot()