driver.h File Reference

#include <ipc/devman.h>
#include <ipc/dev_iface.h>
#include "../dev_iface.h"

Go to the source code of this file.

Data Structures

struct  ddf_dev
 Device structure. More...
struct  ddf_dev_ops
 Devices operations. More...
struct  ddf_fun
 Function structure. More...
struct  driver
 Driver structure. More...
struct  driver_ops
 Generic device driver operations. More...

Typedefs

typedef ddf_dev_ops ddf_dev_ops_t
 Devices operations.
typedef ddf_dev ddf_dev_t
typedef ddf_fun ddf_fun_t
typedef driver_ops driver_ops_t
 Generic device driver operations.
typedef driver driver_t
 Driver structure.

Functions

int ddf_driver_main (driver_t *drv)
int ddf_fun_add_match_id (ddf_fun_t *fun, const char *match_id_str, int match_score)
 Add single match ID to inner function.
int ddf_fun_add_to_class (ddf_fun_t *fun, const char *class_name)
 Add exposed function to class.
int ddf_fun_bind (ddf_fun_t *fun)
 Bind a function node.
ddf_fun_tddf_fun_create (ddf_dev_t *dev, fun_type_t ftype, const char *name)
 Create a DDF function node.
void ddf_fun_destroy (ddf_fun_t *fun)
 Destroy DDF function node.


Detailed Description

Definition in file driver.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7