Searched refs:work (Results 1 - 25 of 1212) sorted by relevance

1234567891011>>

/drivers/gpu/drm/
H A Ddrm_flip_work.c28 * drm_flip_work_queue - queue work
29 * @work: the flip-work
32 * Queues work, that will later be run (passed back to drm_flip_func_t
33 * func) on a work queue after drm_flip_work_commit() is called.
35 void drm_flip_work_queue(struct drm_flip_work *work, void *val) argument
37 if (kfifo_put(&work->fifo, val)) {
38 atomic_inc(&work->pending);
40 DRM_ERROR("%s fifo full!\n", work->name);
41 work
56 drm_flip_work_commit(struct drm_flip_work *work, struct workqueue_struct *wq) argument
68 struct drm_flip_work *work = container_of(w, struct drm_flip_work, worker); local
91 drm_flip_work_init(struct drm_flip_work *work, int size, const char *name, drm_flip_func_t func) argument
119 drm_flip_work_cleanup(struct drm_flip_work *work) argument
[all...]
/drivers/media/pci/cx23885/
H A Dcx23885-av.h21 void cx23885_av_work_handler(struct work_struct *work);
H A Dcx23885-ir.h24 void cx23885_ir_rx_work_handler(struct work_struct *work);
25 void cx23885_ir_tx_work_handler(struct work_struct *work);
H A Dcx23885-av.c23 void cx23885_av_work_handler(struct work_struct *work) argument
26 container_of(work, struct cx23885_dev, cx25840_work);
/drivers/net/wireless/cw1200/
H A Dscan.h26 struct work_struct work; member in struct:cw1200_scan
45 void cw1200_scan_work(struct work_struct *work);
46 void cw1200_scan_timeout(struct work_struct *work);
47 void cw1200_clear_recent_scan_work(struct work_struct *work);
54 void cw1200_probe_work(struct work_struct *work);
H A Dsta.h61 void cw1200_event_handler(struct work_struct *work);
62 void cw1200_bss_loss_work(struct work_struct *work);
63 void cw1200_bss_params_work(struct work_struct *work);
64 void cw1200_keep_alive_work(struct work_struct *work);
65 void cw1200_tx_failure_work(struct work_struct *work);
81 void cw1200_join_timeout(struct work_struct *work);
82 void cw1200_unjoin_work(struct work_struct *work);
83 void cw1200_join_complete_work(struct work_struct *work);
84 void cw1200_wep_key_work(struct work_struct *work);
87 void cw1200_update_filtering_work(struct work_struct *work);
[all...]
H A Dtxrx.h56 void tx_policy_upload_work(struct work_struct *work);
85 void cw1200_tx_timeout(struct work_struct *work);
96 void cw1200_link_id_reset(struct work_struct *work);
102 void cw1200_link_id_work(struct work_struct *work);
103 void cw1200_link_id_gc_work(struct work_struct *work);
/drivers/staging/octeon/
H A Dethernet-rx.c143 * @work: Work queue entry pointing to the packet.
147 static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work) argument
149 if ((work->word2.snoip.err_code == 10) && (work->len <= 64)) {
158 && ((work->word2.snoip.err_code == 5)
159 || (work->word2.snoip.err_code == 7))) {
169 int interface = cvmx_helper_get_interface_num(work->ipprt);
170 int index = cvmx_helper_get_interface_index_num(work->ipprt);
177 cvmx_phys_to_ptr(work->packet_ptr.s.addr);
180 while (i < work
264 cvmx_wqe_t *work; local
[all...]
H A Dethernet-tx.c551 /* Get a work queue entry */
552 cvmx_wqe_t *work = cvmx_fpa_alloc(CVMX_FPA_WQE_POOL); local
553 if (unlikely(work == NULL)) {
554 printk_ratelimited("%s: Failed to allocate a work queue entry\n",
566 cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, DONT_WRITEBACK(1));
592 * Fill in some of the work queue fields. We may need to add
595 work->hw_chksum = skb->csum;
596 work->len = skb->len;
597 work->ipprt = priv->port;
598 work
[all...]
/drivers/infiniband/hw/ipath/
H A Dipath_user_pages.c187 struct work_struct work; member in struct:ipath_user_pages_work
194 struct ipath_user_pages_work *work = local
195 container_of(_work, struct ipath_user_pages_work, work);
197 down_write(&work->mm->mmap_sem);
198 work->mm->pinned_vm -= work->num_pages;
199 up_write(&work->mm->mmap_sem);
200 mmput(work->mm);
201 kfree(work);
206 struct ipath_user_pages_work *work; local
[all...]
/drivers/net/wireless/ti/wl1251/
H A Dps.h32 void wl1251_elp_work(struct work_struct *work);
/drivers/input/misc/
H A Dda9052_onkey.c25 struct delayed_work work; member in struct:da9052_onkey
50 * is simulated through work queue.
53 schedule_delayed_work(&onkey->work,
58 static void da9052_onkey_work(struct work_struct *work) argument
60 struct da9052_onkey *onkey = container_of(work, struct da9052_onkey,
61 work.work);
97 INIT_DELAYED_WORK(&onkey->work, da9052_onkey_work);
126 cancel_delayed_work_sync(&onkey->work);
139 cancel_delayed_work_sync(&onkey->work);
[all...]
H A Dwm831x-on.c32 struct delayed_work work; member in struct:wm831x_on
40 static void wm831x_poll_on(struct work_struct *work) argument
42 struct wm831x_on *wm831x_on = container_of(work, struct wm831x_on,
43 work.work);
59 schedule_delayed_work(&wm831x_on->work, 100);
66 schedule_delayed_work(&wm831x_on->work, 0);
86 INIT_DELAYED_WORK(&wm831x_on->work, wm831x_poll_on);
131 cancel_delayed_work_sync(&wm831x_on->work);
H A Dgpio-beeper.c22 struct work_struct work; member in struct:gpio_beeper
32 static void gpio_beeper_work(struct work_struct *work) argument
34 struct gpio_beeper *beep = container_of(work, struct gpio_beeper, work);
51 /* Schedule work to actually turn the beeper on or off */
52 schedule_work(&beep->work);
61 cancel_work_sync(&beep->work);
83 INIT_WORK(&beep->work, gpio_beeper_work);
/drivers/staging/unisys/visorutil/
H A Dperiodic_work.c19 * Helper functions to schedule periodic work in Linux kernel mode.
32 struct delayed_work work; member in struct:periodic_work
44 static void periodic_work_func(struct work_struct *work) argument
48 pw = container_of(work, struct periodic_work, work.work);
86 /** Call this from your periodic work worker function to schedule the next
89 * periodic work is no longer scheduled
101 } else if (queue_delayed_work(pw->workqueue, &pw->work,
117 /** This function returns TRUE iff new periodic work wa
[all...]
/drivers/gpu/drm/nouveau/nvif/
H A Dnotify.h23 struct work_struct work; member in struct:nvif_notify
27 int (*func)(struct nvif_notify *), bool work, u8 type,
35 bool work, u8 type, void *data, u32 size, u32 reply,
/drivers/ps3/
H A Dvuart.h35 struct work_struct work; member in struct:ps3_vuart_work
37 struct ps3_system_bus_device *dev; /* to convert work to device */
49 void (*work)(struct ps3_system_bus_device *); member in struct:ps3_vuart_port_driver
72 work);
/drivers/scsi/libsas/
H A Dsas_phy.c33 static void sas_phye_loss_of_signal(struct work_struct *work) argument
35 struct asd_sas_event *ev = to_asd_sas_event(work);
43 static void sas_phye_oob_done(struct work_struct *work) argument
45 struct asd_sas_event *ev = to_asd_sas_event(work);
52 static void sas_phye_oob_error(struct work_struct *work) argument
54 struct asd_sas_event *ev = to_asd_sas_event(work);
83 static void sas_phye_spinup_hold(struct work_struct *work) argument
85 struct asd_sas_event *ev = to_asd_sas_event(work);
97 static void sas_phye_resume_timeout(struct work_struct *work) argument
99 struct asd_sas_event *ev = to_asd_sas_event(work);
[all...]
/drivers/gpu/drm/nouveau/core/include/core/
H A Dnotify.h20 struct work_struct work; member in struct:nvkm_notify
29 int (*func)(struct nvkm_notify *), bool work,
/drivers/staging/vt6656/
H A Dwcmd.h61 void vnt_run_command(struct work_struct *work);
/drivers/leds/
H A Dleds-dac124s085.c28 struct work_struct work; member in struct:dac124s085_led
41 static void dac124s085_led_work(struct work_struct *work) argument
43 struct dac124s085_led *led = container_of(work, struct dac124s085_led,
44 work);
62 schedule_work(&led->work);
85 INIT_WORK(&led->work, dac124s085_led_work);
114 cancel_work_sync(&dac->leds[i].work);
/drivers/extcon/
H A Dextcon-gpio.c41 struct delayed_work work; member in struct:gpio_extcon_data
46 static void gpio_extcon_work(struct work_struct *work) argument
50 container_of(to_delayed_work(work), struct gpio_extcon_data,
51 work);
63 queue_delayed_work(system_power_efficient_wq, &extcon_data->work,
134 INIT_DELAYED_WORK(&extcon_data->work, gpio_extcon_work);
148 gpio_extcon_work(&extcon_data->work.work);
157 cancel_delayed_work_sync(&extcon_data->work);
171 &extcon_data->work, extcon_dat
[all...]
/drivers/gpu/drm/i915/
H A Di915_gem_userptr.c41 struct work_struct work; member in struct:i915_mm_struct
72 obj->userptr.work = NULL;
225 * either has cancelled gup work queued and we need to
451 __i915_mm_struct_free__worker(struct work_struct *work) argument
453 struct i915_mm_struct *mm = container_of(work, typeof(*mm), work);
468 INIT_WORK(&mm->work, __i915_mm_struct_free__worker);
469 schedule_work(&mm->work);
485 struct work_struct work; member in struct:get_pages_work
532 struct get_pages_work *work local
652 struct get_pages_work *work; local
[all...]
/drivers/pci/hotplug/
H A Dpciehp_ctrl.c38 static void interrupt_event_handler(struct work_struct *work);
50 INIT_WORK(&info->work, interrupt_event_handler);
52 queue_work(p_slot->wq, &info->work);
279 struct work_struct work; member in struct:power_work_info
287 * @work: &struct work_struct describing work to be done
292 static void pciehp_power_thread(struct work_struct *work) argument
295 container_of(work, struct power_work_info, work);
333 void pciehp_queue_pushbutton_work(struct work_struct *work) argument
517 interrupt_event_handler(struct work_struct *work) argument
[all...]
/drivers/infiniband/core/
H A Dcm.c186 struct delayed_work work; member in struct:cm_work
197 struct cm_work work; /* Must be first. */ member in struct:cm_timewait_info
247 static void cm_work_handler(struct work_struct *work);
579 __be32 remote_id = timewait_info->work.remote_id;
585 if (be32_lt(remote_id, cur_timewait_info->work.remote_id))
587 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id))
611 if (be32_lt(remote_id, timewait_info->work.remote_id))
613 else if (be32_gt(remote_id, timewait_info->work.remote_id))
734 struct cm_work *work; local
739 work
744 cm_free_work(struct cm_work *work) argument
842 struct cm_work *work; local
1282 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument
1316 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument
1395 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument
1438 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument
1521 cm_req_handler(struct cm_work *work) argument
1754 cm_format_rep_event(struct cm_work *work, enum ib_qp_type qp_type) argument
1775 cm_dup_rep_handler(struct cm_work *work) argument
1818 cm_rep_handler(struct cm_work *work) argument
1905 cm_establish_handler(struct cm_work *work) argument
1937 cm_rtu_handler(struct cm_work *work) argument
2127 cm_dreq_handler(struct cm_work *work) argument
2201 cm_drep_handler(struct cm_work *work) argument
2300 cm_format_rej_event(struct cm_work *work) argument
2347 cm_rej_handler(struct cm_work *work) argument
2505 cm_mra_handler(struct cm_work *work) argument
2686 cm_lap_handler(struct cm_work *work) argument
2826 cm_apr_handler(struct cm_work *work) argument
2869 cm_timewait_handler(struct cm_work *work) argument
2971 cm_format_sidr_req_event(struct cm_work *work, struct ib_cm_id *listen_id) argument
2986 cm_sidr_req_handler(struct cm_work *work) argument
3111 cm_format_sidr_rep_event(struct cm_work *work) argument
3127 cm_sidr_rep_handler(struct cm_work *work) argument
3250 struct cm_work *work = container_of(_work, struct cm_work, work.work); local
3304 struct cm_work *work; local
3392 struct cm_work *work; local
[all...]

Completed in 694 milliseconds

1234567891011>>