Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | gio_device_id |
struct | gio_device |
struct | gio_driver |
Macros | |
#define | to_gio_device(d) container_of(d, struct gio_device, dev) |
#define | to_gio_driver(drv) container_of(drv, struct gio_driver, driver) |
#define | gio_get_drvdata(_dev) drv_get_drvdata(&(_dev)->dev) |
#define | gio_set_drvdata(_dev, data) drv_set_drvdata(&(_dev)->dev, (data)) |
#define gio_get_drvdata | ( | _dev | ) | drv_get_drvdata(&(_dev)->dev) |
Definition at line 53 of file gio_device.h.
Definition at line 54 of file gio_device.h.
#define to_gio_device | ( | d | ) | container_of(d, struct gio_device, dev) |
Definition at line 19 of file gio_device.h.
#define to_gio_driver | ( | drv | ) | container_of(drv, struct gio_driver, driver) |
Definition at line 34 of file gio_device.h.
|
read |
Definition at line 53 of file ip22-gio.c.
void gio_dev_put | ( | struct gio_device * | ) |
Definition at line 67 of file ip22-gio.c.
int gio_device_register | ( | struct gio_device * | ) |
Definition at line 90 of file ip22-gio.c.
void gio_device_unregister | ( | struct gio_device * | ) |
Definition at line 98 of file ip22-gio.c.
|
read |
gio_match_device - Tell if an of_device structure has a matching gio_match structure : array of of device match structures to search in : the of device structure to match against
Used by a driver to check whether an of_device present in the system is in its list of supported devices.
Definition at line 40 of file ip22-gio.c.
int gio_register_driver | ( | struct gio_driver * | ) |
Definition at line 219 of file ip22-gio.c.
gio_release_dev - free an gio device structure when all users of it are finished. : device that's been disconnected
Will be called only by the device core when all users of this gio device are done.
Definition at line 81 of file ip22-gio.c.
void gio_set_master | ( | struct gio_device * | ) |
Definition at line 239 of file ip22-gio.c.
void gio_unregister_driver | ( | struct gio_driver * | ) |
Definition at line 233 of file ip22-gio.c.