Lines Matching defs:pmf_handlers

57 struct pmf_handlers {  struct
58 void * (*begin)(struct pmf_function *func, struct pmf_args *args);
59 void (*end)(struct pmf_function *func, void *instdata);
61 int (*irq_enable)(struct pmf_function *func);
62 int (*irq_disable)(struct pmf_function *func);
64 int (*write_gpio)(PMF_STD_ARGS, u8 value, u8 mask);
65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
67 int (*write_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
68 int (*read_reg32)(PMF_STD_ARGS, u32 offset);
69 int (*write_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
70 int (*read_reg16)(PMF_STD_ARGS, u32 offset);
71 int (*write_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
72 int (*read_reg8)(PMF_STD_ARGS, u32 offset);
74 int (*delay)(PMF_STD_ARGS, u32 duration);
76 int (*wait_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
77 int (*wait_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
78 int (*wait_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
80 int (*read_i2c)(PMF_STD_ARGS, u32 len);
81 int (*write_i2c)(PMF_STD_ARGS, u32 len, const u8 *data);
82 int (*rmw_i2c)(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen,
85 int (*read_cfg)(PMF_STD_ARGS, u32 offset, u32 len);
86 int (*write_cfg)(PMF_STD_ARGS, u32 offset, u32 len, const u8 *data);
87 int (*rmw_cfg)(PMF_STD_ARGS, u32 offset, u32 masklen, u32 valuelen,
90 int (*read_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len);
91 int (*write_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len, const u8 *data);
92 int (*set_i2c_mode)(PMF_STD_ARGS, int mode);
93 int (*rmw_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen,
97 int (*read_reg32_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
99 int (*read_reg16_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
101 int (*read_reg8_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
104 int (*write_reg32_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
105 int (*write_reg16_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
106 int (*write_reg8_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
108 int (*mask_and_compare)(PMF_STD_ARGS, u32 len, const u8 *maskdata,
111 struct module *owner;