Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
soc.c File Reference
#include <linux/sysfs.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/idr.h>
#include <linux/spinlock.h>
#include <linux/sys_soc.h>
#include <linux/err.h>

Go to the source code of this file.

Data Structures

struct  soc_device
 

Functions

struct devicesoc_device_to_device (struct soc_device *soc_dev)
 
struct soc_devicesoc_device_register (struct soc_device_attribute *soc_dev_attr)
 
void soc_device_unregister (struct soc_device *soc_dev)
 
 core_initcall (soc_bus_register)
 
 module_exit (soc_bus_unregister)
 

Function Documentation

core_initcall ( soc_bus_register  )
module_exit ( soc_bus_unregister  )
struct soc_device* soc_device_register ( struct soc_device_attribute soc_plat_dev_attr)
read

soc_device_register - register SoC as a device : Attributes passed from platform to be attributed to a SoC

Definition at line 113 of file soc.c.

struct device* soc_device_to_device ( struct soc_device soc)
read

soc_device_to_device - helper function to fetch struct device : Previously registered SoC device container

Definition at line 40 of file soc.c.

void soc_device_unregister ( struct soc_device soc_dev)

soc_device_unregister - unregister SoC device : SoC device to be unregistered

Definition at line 162 of file soc.c.