Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pcf50633-adc.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/completion.h>
#include <linux/mfd/pcf50633/core.h>
#include <linux/mfd/pcf50633/adc.h>

Go to the source code of this file.

Data Structures

struct  pcf50633_adc_request
 
struct  pcf50633_adc_sync_request
 
struct  pcf50633_adc
 

Macros

#define PCF50633_MAX_ADC_FIFO_DEPTH   8
 

Functions

int pcf50633_adc_sync_read (struct pcf50633 *pcf, int mux, int avg)
 
 EXPORT_SYMBOL_GPL (pcf50633_adc_sync_read)
 
int pcf50633_adc_async_read (struct pcf50633 *pcf, int mux, int avg, void(*callback)(struct pcf50633 *, void *, int), void *callback_param)
 
 EXPORT_SYMBOL_GPL (pcf50633_adc_async_read)
 
 module_platform_driver (pcf50633_adc_driver)
 
 MODULE_AUTHOR ("Balaji Rao <[email protected]>")
 
 MODULE_DESCRIPTION ("PCF50633 adc driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:pcf50633-adc")
 

Macro Definition Documentation

#define PCF50633_MAX_ADC_FIFO_DEPTH   8

Definition at line 42 of file pcf50633-adc.c.

Function Documentation

EXPORT_SYMBOL_GPL ( pcf50633_adc_sync_read  )
EXPORT_SYMBOL_GPL ( pcf50633_adc_async_read  )
MODULE_ALIAS ( "platform:pcf50633-adc )
MODULE_AUTHOR ( "Balaji Rao <[email protected]>"  )
MODULE_DESCRIPTION ( "PCF50633 adc driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( pcf50633_adc_driver  )
int pcf50633_adc_async_read ( struct pcf50633 pcf,
int  mux,
int  avg,
void(*)(struct pcf50633 *, void *, int callback,
void callback_param 
)

Definition at line 139 of file pcf50633-adc.c.

int pcf50633_adc_sync_read ( struct pcf50633 pcf,
int  mux,
int  avg 
)

Definition at line 121 of file pcf50633-adc.c.