Searched refs:ocores_i2c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 33 struct ocores_i2c { struct 49 void (*setreg)(struct ocores_i2c *i2c, int reg, u8 value); argument 50 u8 (*getreg)(struct ocores_i2c *i2c, int reg); argument 89 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() 94 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16() 99 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32() 104 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be() 109 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be() 114 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8() 119 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16() [all …]
|