Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
hwmon-s3c.h File Reference

Go to the source code of this file.

Data Structures

struct  s3c_hwmon_chcfg
 
struct  s3c_hwmon_pdata
 

Macros

#define __ASM_ARCH_ADC_HWMON_H   __FILE__
 

Functions

: The name to give this channel.

s3c_hwmon_chcfg - channel configuration

: Multiply the ADC value read by this. : Divide the value from the ADC by this.

The value read from the ADC is converted to a value that hwmon expects (mV) by result = (value_read * ) / .

void __init s3c_hwmon_set_platdata (struct s3c_hwmon_pdata *pd)
 

Macro Definition Documentation

#define __ASM_ARCH_ADC_HWMON_H   __FILE__

Definition at line 15 of file hwmon-s3c.h.

Function Documentation

void __init s3c_hwmon_set_platdata ( struct s3c_hwmon_pdata pd)

s3c_hwmon_set_platdata - Set platform data for S3C HWMON device : Platform data to register to device.

Register the given platform data for use with the S3C HWMON device. The call will copy the platform data, so the board definitions can make the structure itself __initdata.