Go to the documentation of this file.
16 #include <linux/i2c.h>
20 #include <mach/hardware.h>
23 #define FORCE_ONES 0xdc
33 static u_int force_ones;
35 static void ioc_setscl(
void *
data,
int state)
38 u_int ones = force_ones;
50 static void ioc_setsda(
void *
data,
int state)
53 u_int ones = force_ones;
65 static int ioc_getscl(
void *data)
70 static int ioc_getsda(
void *data)
86 .algo_data = &ioc_data,
89 static int __init i2c_ioc_init(
void)