Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pmf_handlers Struct Reference

#include <pmac_pfunc.h>

Data Fields

void *(* begin )(struct pmf_function *func, struct pmf_args *args)
 
void(* end )(struct pmf_function *func, void *instdata)
 
int(* irq_enable )(struct pmf_function *func)
 
int(* irq_disable )(struct pmf_function *func)
 
int(* write_gpio )(PMF_STD_ARGS, u8 value, u8 mask)
 
int(* read_gpio )(PMF_STD_ARGS, u8 mask, int rshift, u8 xor)
 
int(* write_reg32 )(PMF_STD_ARGS, u32 offset, u32 value, u32 mask)
 
int(* read_reg32 )(PMF_STD_ARGS, u32 offset)
 
int(* write_reg16 )(PMF_STD_ARGS, u32 offset, u16 value, u16 mask)
 
int(* read_reg16 )(PMF_STD_ARGS, u32 offset)
 
int(* write_reg8 )(PMF_STD_ARGS, u32 offset, u8 value, u8 mask)
 
int(* read_reg8 )(PMF_STD_ARGS, u32 offset)
 
int(* delay )(PMF_STD_ARGS, u32 duration)
 
int(* wait_reg32 )(PMF_STD_ARGS, u32 offset, u32 value, u32 mask)
 
int(* wait_reg16 )(PMF_STD_ARGS, u32 offset, u16 value, u16 mask)
 
int(* wait_reg8 )(PMF_STD_ARGS, u32 offset, u8 value, u8 mask)
 
int(* read_i2c )(PMF_STD_ARGS, u32 len)
 
int(* write_i2c )(PMF_STD_ARGS, u32 len, const u8 *data)
 
int(* rmw_i2c )(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata)
 
int(* read_cfg )(PMF_STD_ARGS, u32 offset, u32 len)
 
int(* write_cfg )(PMF_STD_ARGS, u32 offset, u32 len, const u8 *data)
 
int(* rmw_cfg )(PMF_STD_ARGS, u32 offset, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata)
 
int(* read_i2c_sub )(PMF_STD_ARGS, u8 subaddr, u32 len)
 
int(* write_i2c_sub )(PMF_STD_ARGS, u8 subaddr, u32 len, const u8 *data)
 
int(* set_i2c_mode )(PMF_STD_ARGS, int mode)
 
int(* rmw_i2c_sub )(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata)
 
int(* read_reg32_msrx )(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor)
 
int(* read_reg16_msrx )(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor)
 
int(* read_reg8_msrx )(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor)
 
int(* write_reg32_slm )(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask)
 
int(* write_reg16_slm )(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask)
 
int(* write_reg8_slm )(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask)
 
int(* mask_and_compare )(PMF_STD_ARGS, u32 len, const u8 *maskdata, const u8 *valuedata)
 
struct moduleowner
 

Detailed Description

Definition at line 56 of file pmac_pfunc.h.

Field Documentation

Definition at line 57 of file pmac_pfunc.h.

Definition at line 73 of file pmac_pfunc.h.

void(* end)(struct pmf_function *func, void *instdata)

Definition at line 58 of file pmac_pfunc.h.

int(* irq_disable)(struct pmf_function *func)

Definition at line 61 of file pmac_pfunc.h.

int(* irq_enable)(struct pmf_function *func)

Definition at line 60 of file pmac_pfunc.h.

int(* mask_and_compare)(PMF_STD_ARGS, u32 len, const u8 *maskdata, const u8 *valuedata)

Definition at line 107 of file pmac_pfunc.h.

struct module* owner

Definition at line 110 of file pmac_pfunc.h.

int(* read_cfg)(PMF_STD_ARGS, u32 offset, u32 len)

Definition at line 84 of file pmac_pfunc.h.

int(* read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor)

Definition at line 64 of file pmac_pfunc.h.

int(* read_i2c)(PMF_STD_ARGS, u32 len)

Definition at line 79 of file pmac_pfunc.h.

int(* read_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len)

Definition at line 89 of file pmac_pfunc.h.

int(* read_reg16)(PMF_STD_ARGS, u32 offset)

Definition at line 69 of file pmac_pfunc.h.

int(* read_reg16_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor)

Definition at line 98 of file pmac_pfunc.h.

int(* read_reg32)(PMF_STD_ARGS, u32 offset)

Definition at line 67 of file pmac_pfunc.h.

int(* read_reg32_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor)

Definition at line 96 of file pmac_pfunc.h.

int(* read_reg8)(PMF_STD_ARGS, u32 offset)

Definition at line 71 of file pmac_pfunc.h.

int(* read_reg8_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor)

Definition at line 100 of file pmac_pfunc.h.

int(* rmw_cfg)(PMF_STD_ARGS, u32 offset, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata)

Definition at line 86 of file pmac_pfunc.h.

int(* rmw_i2c)(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata)

Definition at line 81 of file pmac_pfunc.h.

int(* rmw_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata)

Definition at line 92 of file pmac_pfunc.h.

int(* set_i2c_mode)(PMF_STD_ARGS, int mode)

Definition at line 91 of file pmac_pfunc.h.

int(* wait_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask)

Definition at line 76 of file pmac_pfunc.h.

int(* wait_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask)

Definition at line 75 of file pmac_pfunc.h.

int(* wait_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask)

Definition at line 77 of file pmac_pfunc.h.

int(* write_cfg)(PMF_STD_ARGS, u32 offset, u32 len, const u8 *data)

Definition at line 85 of file pmac_pfunc.h.

int(* write_gpio)(PMF_STD_ARGS, u8 value, u8 mask)

Definition at line 63 of file pmac_pfunc.h.

int(* write_i2c)(PMF_STD_ARGS, u32 len, const u8 *data)

Definition at line 80 of file pmac_pfunc.h.

int(* write_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len, const u8 *data)

Definition at line 90 of file pmac_pfunc.h.

int(* write_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask)

Definition at line 68 of file pmac_pfunc.h.

int(* write_reg16_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask)

Definition at line 104 of file pmac_pfunc.h.

int(* write_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask)

Definition at line 66 of file pmac_pfunc.h.

int(* write_reg32_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask)

Definition at line 103 of file pmac_pfunc.h.

int(* write_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask)

Definition at line 70 of file pmac_pfunc.h.

int(* write_reg8_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask)

Definition at line 105 of file pmac_pfunc.h.


The documentation for this struct was generated from the following file: