Searched refs:octeon_i2c (Results 1 – 4 of 4) sorted by relevance
114 struct octeon_i2c { struct128 void (*int_enable)(struct octeon_i2c *); argument129 void (*int_disable)(struct octeon_i2c *); argument130 void (*hlc_int_enable)(struct octeon_i2c *); argument131 void (*hlc_int_disable)(struct octeon_i2c *); argument152 static inline void octeon_i2c_reg_write(struct octeon_i2c *i2c, u64 eop_reg, u8 data) in octeon_i2c_reg_write()179 static inline int octeon_i2c_reg_read(struct octeon_i2c *i2c, u64 eop_reg, in octeon_i2c_reg_read()212 static inline u64 octeon_i2c_read_int(struct octeon_i2c *i2c) in octeon_i2c_read_int()222 static inline void octeon_i2c_write_int(struct octeon_i2c *i2c, u64 data) in octeon_i2c_write_int()246 int octeon_i2c_init_lowlevel(struct octeon_i2c *i2c);[all …]
31 struct octeon_i2c *i2c = dev_id; in octeon_i2c_isr()39 static bool octeon_i2c_test_iflg(struct octeon_i2c *i2c) in octeon_i2c_test_iflg()50 static int octeon_i2c_wait(struct octeon_i2c *i2c) in octeon_i2c_wait()86 static bool octeon_i2c_hlc_test_valid(struct octeon_i2c *i2c) in octeon_i2c_hlc_test_valid()91 static void octeon_i2c_hlc_int_clear(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_clear()100 static void octeon_i2c_hlc_enable(struct octeon_i2c *i2c) in octeon_i2c_hlc_enable()129 static void octeon_i2c_hlc_disable(struct octeon_i2c *i2c) in octeon_i2c_hlc_disable()144 static int octeon_i2c_hlc_wait(struct octeon_i2c *i2c) in octeon_i2c_hlc_wait()182 static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read) in octeon_i2c_check_status()261 static int octeon_i2c_recovery(struct octeon_i2c *i2c) in octeon_i2c_recovery()[all …]
38 static void octeon_i2c_int_enable(struct octeon_i2c *i2c) in octeon_i2c_int_enable()44 static void octeon_i2c_int_disable(struct octeon_i2c *i2c) in octeon_i2c_int_disable()57 static void octeon_i2c_int_enable78(struct octeon_i2c *i2c) in octeon_i2c_int_enable78()78 static void octeon_i2c_int_disable78(struct octeon_i2c *i2c) in octeon_i2c_int_disable78()90 static void octeon_i2c_hlc_int_enable78(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_enable78()97 static void octeon_i2c_hlc_int_disable78(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_disable78()105 struct octeon_i2c *i2c = dev_id; in octeon_i2c_hlc_isr78()113 static void octeon_i2c_hlc_int_enable(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_enable()139 struct octeon_i2c *i2c; in octeon_i2c_probe()258 struct octeon_i2c *i2c = platform_get_drvdata(pdev); in octeon_i2c_remove()
41 static void thunder_i2c_int_enable(struct octeon_i2c *i2c) in thunder_i2c_int_enable()50 static void thunder_i2c_int_disable(struct octeon_i2c *i2c) in thunder_i2c_int_disable()56 static void thunder_i2c_hlc_int_enable(struct octeon_i2c *i2c) in thunder_i2c_hlc_int_enable()62 static void thunder_i2c_hlc_int_disable(struct octeon_i2c *i2c) in thunder_i2c_hlc_int_disable()85 static void thunder_i2c_clock_enable(struct device *dev, struct octeon_i2c *i2c) in thunder_i2c_clock_enable()120 static int thunder_i2c_smbus_setup_of(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup_of()141 static int thunder_i2c_smbus_setup(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup()151 static void thunder_i2c_smbus_remove(struct octeon_i2c *i2c) in thunder_i2c_smbus_remove()160 struct octeon_i2c *i2c; in thunder_i2c_probe_pci()249 struct octeon_i2c *i2c = pci_get_drvdata(pdev); in thunder_i2c_remove_pci()