Lines Matching refs:work
38 static void interrupt_event_handler(struct work_struct *work);
50 INIT_WORK(&info->work, interrupt_event_handler); in pciehp_queue_interrupt_event()
53 queue_work(p_slot->wq, &info->work); in pciehp_queue_interrupt_event()
161 struct work_struct work; member
174 static void pciehp_power_thread(struct work_struct *work) in pciehp_power_thread() argument
177 container_of(work, struct power_work_info, work); in pciehp_power_thread()
220 INIT_WORK(&info->work, pciehp_power_thread); in pciehp_queue_power_work()
222 queue_work(p_slot->wq, &info->work); in pciehp_queue_power_work()
225 void pciehp_queue_pushbutton_work(struct work_struct *work) in pciehp_queue_pushbutton_work() argument
227 struct slot *p_slot = container_of(work, struct slot, work.work); in pciehp_queue_pushbutton_work()
266 queue_delayed_work(p_slot->wq, &p_slot->work, 5*HZ); in handle_button_press_event()
276 cancel_delayed_work(&p_slot->work); in handle_button_press_event()
325 cancel_delayed_work(&p_slot->work); in handle_link_event()
362 static void interrupt_event_handler(struct work_struct *work) in interrupt_event_handler() argument
364 struct event_info *info = container_of(work, struct event_info, work); in interrupt_event_handler()
473 cancel_delayed_work(&p_slot->work); in pciehp_sysfs_enable_slot()
510 cancel_delayed_work(&p_slot->work); in pciehp_sysfs_disable_slot()