Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/i2c.h
| Show All 25 Lines | |||||
| #ifndef _LINUX_I2C_H_ | #ifndef _LINUX_I2C_H_ | ||||
| #define _LINUX_I2C_H_ | #define _LINUX_I2C_H_ | ||||
| #include <sys/types.h> | #include <sys/types.h> | ||||
| #include <sys/errno.h> | #include <sys/errno.h> | ||||
| #include <sys/systm.h> | #include <sys/systm.h> | ||||
| #include <linux/bits.h> | |||||
| #include <linux/mod_devicetable.h> | |||||
| #include <linux/device.h> | #include <linux/device.h> | ||||
| #include <linux/sched.h> | |||||
| #include <linux/mutex.h> | |||||
| #include <linux/regulator/consumer.h> | |||||
| #include <linux/irqdomain.h> | |||||
| #include <linux/of.h> | |||||
| #define I2C_MAX_ADAPTER_NAME_LENGTH 32 | #define I2C_MAX_ADAPTER_NAME_LENGTH 32 | ||||
| #define I2C_M_RD 0x0001 | #define I2C_M_RD 0x0001 | ||||
| #define I2C_M_NOSTART 0x0002 | #define I2C_M_NOSTART 0x0002 | ||||
| #define I2C_M_STOP 0x0004 | #define I2C_M_STOP 0x0004 | ||||
| /* No need for us */ | /* No need for us */ | ||||
| ▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines | |||||