lib/delayed_work.c File Reference

Delayed work abstraction. More...

#include <delayed_work.h>

Include dependency graph for delayed_work.c:

Go to the source code of this file.

Functions

void delayed_work_init (struct delayed_work *dw, struct timer *timer, struct workqueue *wq)
 Initialize delayed work structure.


Detailed Description

Delayed work abstraction.

Delayed work abstraction using timer to schedule an item on a timeout and add specified work to a workqueue on timeout.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file delayed_work.c.


Function Documentation

void delayed_work_init ( struct delayed_work dw,
struct timer *  timer,
struct workqueue wq 
)

Initialize delayed work structure.

Parameters:
dw Delayed wortk structure
timer Timer to use for delay
wq Workqueue to add work to

Definition at line 54 of file delayed_work.c.

References delayed_work::timer, timer_init_task(), delayed_work::timer_task, and delayed_work::wq.

Referenced by sdmmc_cd_init(), sdmmc_mcihost_init(), and sdmmc_probe_init().

Here is the call graph for this function:


Generated on Tue Sep 15 10:22:08 2009 for libavr32 by  doxygen 1.5.8