Searched refs:work (Results 201 - 225 of 1212) sorted by relevance

1234567891011>>

/drivers/video/backlight/
H A Dlm3630a_bl.c39 struct delayed_work work; member in struct:lm3630a_chip
106 static void lm3630a_delayed_func(struct work_struct *work) argument
111 pchip = container_of(work, struct lm3630a_chip, work.work);
129 queue_delayed_work(pchip->irqthread, &pchip->work, delay);
147 INIT_DELAYED_WORK(&pchip->work, lm3630a_delayed_func);
/drivers/acpi/
H A Ddevice_pm.c386 if (adev->wakeup.context.work.func)
387 queue_pm_work(&adev->wakeup.context.work);
407 void (*work_func)(struct work_struct *work))
422 INIT_WORK(&adev->wakeup.context.work, work_func);
455 if (adev->wakeup.context.work.func) {
456 cancel_work_sync(&adev->wakeup.context.work);
457 adev->wakeup.context.work.func = NULL;
643 * acpi_pm_notify_work_func - ACPI devices wakeup notification work function.
644 * @work: Work item to handle.
646 static void acpi_pm_notify_work_func(struct work_struct *work) argument
406 acpi_add_pm_notifier(struct acpi_device *adev, struct device *dev, void (*work_func)(struct work_struct *work)) argument
[all...]
H A Dosl.c59 struct work_struct work; member in struct:acpi_os_dpc
664 * Only calling e820_add_reserve does not work and the
1107 static void acpi_os_execute_deferred(struct work_struct *work) argument
1109 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work);
1164 INIT_WORK(&dpc->work, acpi_os_execute_deferred);
1167 INIT_WORK(&dpc->work, acpi_os_execute_deferred);
1177 ret = queue_work_on(0, queue, &dpc->work);
1196 struct work_struct work; member in struct:acpi_hp_work
1201 static void acpi_hotplug_work_fn(struct work_struct *work) argument
1238 acpi_queue_hotplug_work(struct work_struct *work) argument
[all...]
/drivers/input/keyboard/
H A Dadp5588-keys.c43 struct delayed_work work; member in struct:adp5588_kpad
292 static void adp5588_work(struct work_struct *work) argument
294 struct adp5588_kpad *kpad = container_of(work,
295 struct adp5588_kpad, work.work);
324 schedule_delayed_work(&kpad->work, kpad->delay);
508 INIT_DELAYED_WORK(&kpad->work, adp5588_work);
590 cancel_delayed_work_sync(&kpad->work);
607 cancel_delayed_work_sync(&kpad->work);
622 cancel_delayed_work_sync(&kpad->work);
[all...]
H A Dmatrix_keypad.c37 struct delayed_work work; member in struct:matrix_keypad
47 * be input, and it should work on most platforms.
116 static void matrix_keypad_scan(struct work_struct *work) argument
119 container_of(work, struct matrix_keypad, work.work);
191 schedule_delayed_work(&keypad->work,
210 schedule_delayed_work(&keypad->work, 0);
221 flush_work(&keypad->work.work);
[all...]
/drivers/thunderbolt/
H A Dnhi.c164 static void ring_work(struct work_struct *work) argument
166 struct tb_ring *ring = container_of(work, typeof(*ring), work);
215 mutex_unlock(&ring->lock); /* allow callbacks to schedule new work */
267 INIT_WORK(&ring->work, ring_work);
382 * schedule ring->work to invoke callbacks on all remaining frames.
384 schedule_work(&ring->work);
385 flush_work(&ring->work);
403 * nhi_interrupt_work cannot reschedule ring->work.
430 * ring->work ca
439 nhi_interrupt_work(struct work_struct *work) argument
[all...]
/drivers/rapidio/
H A Drio.c1815 struct work_struct work; member in struct:rio_disc_work
1821 struct rio_disc_work *work; local
1823 work = container_of(_work, struct rio_disc_work, work);
1824 pr_debug("RIO: discovery work for mport %d %s\n",
1825 work->mport->id, work->mport->name);
1826 if (try_module_get(work->mport->nscan->owner)) {
1827 work->mport->nscan->discover(work
1835 struct rio_disc_work *work; local
[all...]
/drivers/target/tcm_fc/
H A Dtfc_io.c205 static void ft_execute_work(struct work_struct *work) argument
207 struct ft_cmd *cmd = container_of(work, struct ft_cmd, work);
337 INIT_WORK(&cmd->work, ft_execute_work);
338 queue_work(cmd->sess->tport->tpg->workqueue, &cmd->work);
/drivers/devfreq/
H A Ddevfreq.c33 * devfreq core provides delayed work based load monitoring helper
212 * @work: the work struct used to run devfreq_monitor periodically.
215 static void devfreq_monitor(struct work_struct *work) argument
218 struct devfreq *devfreq = container_of(work,
219 struct devfreq, work.work);
226 queue_delayed_work(devfreq_wq, &devfreq->work,
236 * default delayed work based monitoring is supported. Function
242 INIT_DEFERRABLE_WORK(&devfreq->work, devfreq_monito
[all...]
/drivers/power/
H A Dab8500_charger.c1671 /* Cancel any pending Vbat check work */
1982 * @work pointer to the work_struct structure
1989 static void ab8500_charger_check_vbat_work(struct work_struct *work) argument
1992 struct ab8500_charger *di = container_of(work,
1993 struct ab8500_charger, check_vbat_work.work);
2030 * @work: pointer to the work_struct structure
2034 static void ab8500_charger_check_hw_failure_work(struct work_struct *work) argument
2039 struct ab8500_charger *di = container_of(work,
2040 struct ab8500_charger, check_hw_failure_work.work);
2077 * @work
2089 ab8500_charger_kick_watchdog_work(struct work_struct *work) argument
2112 ab8500_charger_ac_work(struct work_struct *work) argument
2139 ab8500_charger_usb_attached_work(struct work_struct *work) argument
2176 ab8500_charger_ac_attached_work(struct work_struct *work) argument
2223 ab8500_charger_detect_usb_type_work(struct work_struct *work) argument
2283 ab8500_charger_usb_link_attach_work(struct work_struct *work) argument
2307 ab8500_charger_usb_link_status_work(struct work_struct *work) argument
2437 ab8500_charger_usb_state_changed_work(struct work_struct *work) argument
2504 ab8500_charger_check_usbchargernotok_work(struct work_struct *work) argument
2542 ab8500_charger_check_main_thermal_prot_work( struct work_struct *work) argument
2572 ab8500_charger_check_usb_thermal_prot_work( struct work_struct *work) argument
2700 ab8500_charger_vbus_drop_end_work(struct work_struct *work) argument
[all...]
H A Dbq27x00_battery.c9 * Based on a previous work by Copyright (C) 2008 Texas Instruments, Inc.
114 struct delayed_work work; member in struct:bq27x00_device_info
504 static void bq27x00_battery_poll(struct work_struct *work) argument
507 container_of(work, struct bq27x00_device_info, work.work);
513 set_timer_slack(&di->work.timer, poll_interval * HZ / 4);
514 schedule_delayed_work(&di->work, poll_interval * HZ);
652 cancel_delayed_work_sync(&di->work);
653 bq27x00_battery_poll(&di->work
[all...]
H A Dds2760_battery.c337 static void ds2760_battery_work(struct work_struct *work) argument
339 struct ds2760_device_info *di = container_of(work,
340 struct ds2760_device_info, monitor_work.work);
362 static void ds2760_battery_set_charged_work(struct work_struct *work) argument
365 struct ds2760_device_info *di = container_of(work,
366 struct ds2760_device_info, set_charged_work.work);
401 /* postpone the actual work by 20 secs. This is for debouncing GPIO
/drivers/media/i2c/
H A Dsaa7115.c2 * This driver can work with saa7111, saa7111a, saa7113, saa7114,
203 * work with NTSC, too */
1636 u8 work; local
1643 work = saa711x_read(sd, R_08_SYNC_CNTL);
1644 work &= ~SAA7113_R_08_HTC_MASK;
1645 work |= ((*data->saa7113_r08_htc) << SAA7113_R_08_HTC_OFFSET);
1646 saa711x_write(sd, R_08_SYNC_CNTL, work);
1650 work = saa711x_read(sd, R_10_CHROMA_CNTL_2);
1651 work &= ~SAA7113_R_10_VRLN_MASK;
1653 work |
[all...]
/drivers/char/hw_random/
H A Dn2-drv.c409 schedule_delayed_work(&np->work, 0);
419 * work during that time. So we have to keep probing until the device
588 static void n2rng_work(struct work_struct *work) argument
590 struct n2rng *np = container_of(work, struct n2rng, work.work);
610 schedule_delayed_work(&np->work, HZ * 2);
640 INIT_DELAYED_WORK(&np->work, n2rng_work);
705 schedule_delayed_work(&np->work, 0);
722 cancel_delayed_work_sync(&np->work);
[all...]
/drivers/hwmon/
H A Dabx500.c8 * a periodic work is used. It is more important to not wake up the CPU than
38 schedule_delayed_work(&data->work, DEFAULT_MONITOR_DELAY);
51 cancel_delayed_work_sync(&data->work);
55 static void gpadc_monitor(struct work_struct *work) argument
62 data = container_of(work, struct abx500_temp, work.work);
405 INIT_DEFERRABLE_WORK(&data->work, gpadc_monitor);
440 cancel_delayed_work_sync(&data->work);
453 cancel_delayed_work_sync(&data->work);
[all...]
/drivers/leds/
H A Dleds-lm3533.c57 struct work_struct work; member in struct:lm3533_led
126 static void lm3533_led_work(struct work_struct *work) argument
128 struct lm3533_led *led = container_of(work, struct lm3533_led, work);
146 schedule_work(&led->work);
704 INIT_WORK(&led->work, lm3533_led_work);
736 flush_work(&led->work);
749 flush_work(&led->work);
763 flush_work(&led->work);
H A Dleds-tca6507.c177 struct work_struct work; member in struct:tca6507_chip
353 static void tca6507_work(struct work_struct *work) argument
355 struct tca6507_chip *tca = container_of(work, struct tca6507_chip,
356 work);
550 schedule_work(&tca->work);
618 schedule_work(&tca->work);
776 INIT_WORK(&tca->work, tca6507_work);
803 schedule_work(&tca->work);
825 cancel_work_sync(&tca->work);
H A Dleds-lm3642.c212 static void lm3642_deferred_torch_brightness_set(struct work_struct *work) argument
215 container_of(work, struct lm3642_chip_data, work_torch);
269 static void lm3642_deferred_strobe_brightness_set(struct work_struct *work) argument
272 container_of(work, struct lm3642_chip_data, work_flash);
290 static void lm3642_deferred_indicator_brightness_set(struct work_struct *work) argument
293 container_of(work, struct lm3642_chip_data, work_indicator);
/drivers/staging/octeon/
H A Dethernet.c131 static void cvm_oct_rx_refill_worker(struct work_struct *work);
134 static void cvm_oct_rx_refill_worker(struct work_struct *work) argument
150 static void cvm_oct_periodic_worker(struct work_struct *work) argument
152 struct octeon_ethernet *priv = container_of(work,
154 port_periodic_work.work);
186 * cvm_oct_free_work- Free a work queue entry
194 cvmx_wqe_t *work = work_queue_entry; local
196 int segments = work->word2.s.bufs;
197 union cvmx_buf_ptr segment_ptr = work->packet_ptr;
209 cvmx_fpa_free(work, CVMX_FPA_WQE_POO
[all...]
/drivers/media/usb/em28xx/
H A Dem28xx-input.c69 struct delayed_work work; member in struct:em28xx_IR
131 * work with the provided RC5 IR.
354 static void em28xx_ir_work(struct work_struct *work) argument
356 struct em28xx_IR *ir = container_of(work, struct em28xx_IR, work.work);
362 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling));
369 INIT_DELAYED_WORK(&ir->work, em28xx_ir_work);
370 schedule_delayed_work(&ir->work, 0);
379 cancel_delayed_work_sync(&ir->work);
490 em28xx_query_buttons(struct work_struct *work) argument
[all...]
/drivers/edac/
H A Dedac_device.c393 queue_delayed_work(edac_workqueue, &edac_dev->work,
396 queue_delayed_work(edac_workqueue, &edac_dev->work,
417 INIT_DELAYED_WORK(&edac_dev->work, edac_device_workq_function);
425 queue_delayed_work(edac_workqueue, &edac_dev->work,
428 queue_delayed_work(edac_workqueue, &edac_dev->work,
443 status = cancel_delayed_work(&edac_dev->work);
/drivers/mtd/ubi/
H A Dblock.c87 struct work_struct work; member in struct:ubiblock
252 * work. Notice that this means we serialize all the I/O operations,
263 static void ubiblock_do_work(struct work_struct *work) argument
266 container_of(work, struct ubiblock, work);
302 queue_work(dev->wq, &dev->work);
441 INIT_WORK(&dev->work, ubiblock_do_work);
494 /* Flush pending work and stop this workqueue */
624 /* Flush pending work and stop workqueue */
/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c56 struct work_struct work; member in struct:mlx5_pages_req
407 static void pages_work_handler(struct work_struct *work) argument
409 struct mlx5_pages_req *req = container_of(work, struct mlx5_pages_req, work);
439 INIT_WORK(&req->work, pages_work_handler);
440 queue_work(dev->priv.pg_wq, &req->work);
/drivers/nfc/
H A Dnfcsim.c256 static void nfcsim_wq_recv(struct work_struct *work) argument
258 struct nfcsim *dev = container_of(work, struct nfcsim,
259 recv_work.work);
386 static void nfcsim_wq_poll(struct work_struct *work) argument
388 struct nfcsim *dev = container_of(work, struct nfcsim, poll_work.work);
391 /* These work items run on an ordered workqueue and are therefore
427 * Because the wq is ordered and only 1 work item is executed at a time,
/drivers/spi/
H A Dspi-txx9.c76 struct work_struct work; member in struct:txx9spi
281 static void txx9spi_work(struct work_struct *work) argument
283 struct txx9spi *c = container_of(work, struct txx9spi, work);
318 queue_work(c->workqueue, &c->work);
339 INIT_WORK(&c->work, txx9spi_work);
421 /* work with hotplug and coldplug */

Completed in 550 milliseconds

1234567891011>>