Lines Matching refs:aat2870_data
106 static int __aat2870_read(struct aat2870_data *aat2870, u8 addr, u8 *val) in __aat2870_read()
137 static int __aat2870_write(struct aat2870_data *aat2870, u8 addr, u8 val) in __aat2870_write()
167 static int aat2870_read(struct aat2870_data *aat2870, u8 addr, u8 *val) in aat2870_read()
178 static int aat2870_write(struct aat2870_data *aat2870, u8 addr, u8 val) in aat2870_write()
189 static int aat2870_update(struct aat2870_data *aat2870, u8 addr, u8 mask, in aat2870_update()
213 static inline void aat2870_enable(struct aat2870_data *aat2870) in aat2870_enable()
221 static inline void aat2870_disable(struct aat2870_data *aat2870) in aat2870_disable()
230 static ssize_t aat2870_dump_reg(struct aat2870_data *aat2870, char *buf) in aat2870_dump_reg()
268 struct aat2870_data *aat2870 = file->private_data; in aat2870_reg_read_file()
289 struct aat2870_data *aat2870 = file->private_data; in aat2870_reg_write_file()
331 static void aat2870_init_debugfs(struct aat2870_data *aat2870) in aat2870_init_debugfs()
348 static void aat2870_uninit_debugfs(struct aat2870_data *aat2870) in aat2870_uninit_debugfs()
353 static inline void aat2870_init_debugfs(struct aat2870_data *aat2870) in aat2870_init_debugfs()
357 static inline void aat2870_uninit_debugfs(struct aat2870_data *aat2870) in aat2870_uninit_debugfs()
366 struct aat2870_data *aat2870; in aat2870_i2c_probe()
370 aat2870 = kzalloc(sizeof(struct aat2870_data), GFP_KERNEL); in aat2870_i2c_probe()
449 struct aat2870_data *aat2870 = i2c_get_clientdata(client); in aat2870_i2c_remove()
468 struct aat2870_data *aat2870 = i2c_get_clientdata(client); in aat2870_i2c_suspend()
478 struct aat2870_data *aat2870 = i2c_get_clientdata(client); in aat2870_i2c_resume()