Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | transfer_info |
struct | codec_info_item |
struct | bus_info |
struct | codec_info |
struct | soundbus_dev |
struct | soundbus_driver |
Macros | |
#define | to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) |
#define | of_to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev) |
#define | to_soundbus_driver(drv) container_of(drv,struct soundbus_driver, driver) |
Enumerations | |
enum | clock_switch { CLOCK_SWITCH_PREPARE_SLAVE, CLOCK_SWITCH_PREPARE_MASTER, CLOCK_SWITCH_SLAVE, CLOCK_SWITCH_MASTER, CLOCK_SWITCH_NOTIFY } |
Variables | |
enum clock_switch | __attribute__ |
struct device_attribute | soundbus_dev_attrs [] |
#define of_to_soundbus_device | ( | d | ) | container_of(d, struct soundbus_dev, ofdev) |
Definition at line 174 of file soundbus.h.
#define to_soundbus_device | ( | d | ) | container_of(d, struct soundbus_dev, ofdev.dev) |
Definition at line 173 of file soundbus.h.
#define to_soundbus_driver | ( | drv | ) | container_of(drv,struct soundbus_driver, driver) |
Definition at line 197 of file soundbus.h.
enum clock_switch |
CLOCK_SWITCH_PREPARE_SLAVE | |
CLOCK_SWITCH_PREPARE_MASTER | |
CLOCK_SWITCH_SLAVE | |
CLOCK_SWITCH_MASTER | |
CLOCK_SWITCH_NOTIFY |
Definition at line 27 of file soundbus.h.
int soundbus_add_one | ( | struct soundbus_dev * | dev | ) |
|
read |
void soundbus_dev_put | ( | struct soundbus_dev * | dev | ) |
int soundbus_register_driver | ( | struct soundbus_driver * | drv | ) |
void soundbus_remove_one | ( | struct soundbus_dev * | dev | ) |
void soundbus_unregister_driver | ( | struct soundbus_driver * | drv | ) |
struct device_attribute soundbus_dev_attrs[] |