• Home
  • Raw
  • Download

Lines Matching defs:i2c

80 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value)  in oc_setreg_8()
85 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16()
90 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32()
95 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be()
100 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be()
105 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8()
110 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16()
115 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32()
120 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be()
125 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be()
130 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg()
135 static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg) in oc_getreg()
140 static void ocores_process(struct ocores_i2c *i2c) in ocores_process()
209 struct ocores_i2c *i2c = dev_id; in ocores_isr() local
218 struct ocores_i2c *i2c = i2c_get_adapdata(adap); in ocores_xfer() local
238 static int ocores_init(struct device *dev, struct ocores_i2c *i2c) in ocores_init()
303 static u8 oc_getreg_grlib(struct ocores_i2c *i2c, int reg) in oc_getreg_grlib()
316 static void oc_setreg_grlib(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_grlib()
335 struct ocores_i2c *i2c) in ocores_i2c_of_probe()
408 #define ocores_i2c_of_probe(pdev,i2c) -ENODEV argument
413 struct ocores_i2c *i2c; in ocores_i2c_probe() local
515 struct ocores_i2c *i2c = platform_get_drvdata(pdev); in ocores_i2c_remove() local
533 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_suspend() local
546 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_resume() local