1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __MATROXFB_MAVEN_H__ 3 #define __MATROXFB_MAVEN_H__ 4 5 #include <linux/ioctl.h> 6 #include <linux/i2c.h> 7 #include <linux/i2c-algo-bit.h> 8 #include "matroxfb_base.h" 9 10 struct i2c_bit_adapter { 11 struct i2c_adapter adapter; 12 int initialized; 13 struct i2c_algo_bit_data bac; 14 struct matrox_fb_info* minfo; 15 struct { 16 unsigned int data; 17 unsigned int clock; 18 } mask; 19 }; 20 21 #endif /* __MATROXFB_MAVEN_H__ */ 22