Searched refs:octeon_i2c (Results 1 – 4 of 4) sorted by relevance
26 struct octeon_i2c *i2c = dev_id; in octeon_i2c_isr()34 static bool octeon_i2c_test_iflg(struct octeon_i2c *i2c) in octeon_i2c_test_iflg()45 static int octeon_i2c_wait(struct octeon_i2c *i2c) in octeon_i2c_wait()81 static bool octeon_i2c_hlc_test_valid(struct octeon_i2c *i2c) in octeon_i2c_hlc_test_valid()86 static void octeon_i2c_hlc_int_clear(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_clear()95 static void octeon_i2c_hlc_enable(struct octeon_i2c *i2c) in octeon_i2c_hlc_enable()124 static void octeon_i2c_hlc_disable(struct octeon_i2c *i2c) in octeon_i2c_hlc_disable()139 static int octeon_i2c_hlc_wait(struct octeon_i2c *i2c) in octeon_i2c_hlc_wait()177 static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read) in octeon_i2c_check_status()248 static int octeon_i2c_recovery(struct octeon_i2c *i2c) in octeon_i2c_recovery()[all …]
101 struct octeon_i2c { struct115 void (*int_enable)(struct octeon_i2c *); argument116 void (*int_disable)(struct octeon_i2c *); argument117 void (*hlc_int_enable)(struct octeon_i2c *); argument118 void (*hlc_int_disable)(struct octeon_i2c *); argument139 static inline void octeon_i2c_reg_write(struct octeon_i2c *i2c, u64 eop_reg, u8 data) in octeon_i2c_reg_write()166 static inline int octeon_i2c_reg_read(struct octeon_i2c *i2c, u64 eop_reg, in octeon_i2c_reg_read()199 static inline u64 octeon_i2c_read_int(struct octeon_i2c *i2c) in octeon_i2c_read_int()209 static inline void octeon_i2c_write_int(struct octeon_i2c *i2c, u64 data) in octeon_i2c_write_int()217 int octeon_i2c_init_lowlevel(struct octeon_i2c *i2c);[all …]
40 static void thunder_i2c_int_enable(struct octeon_i2c *i2c) in thunder_i2c_int_enable()49 static void thunder_i2c_int_disable(struct octeon_i2c *i2c) in thunder_i2c_int_disable()55 static void thunder_i2c_hlc_int_enable(struct octeon_i2c *i2c) in thunder_i2c_hlc_int_enable()61 static void thunder_i2c_hlc_int_disable(struct octeon_i2c *i2c) in thunder_i2c_hlc_int_disable()84 static void thunder_i2c_clock_enable(struct device *dev, struct octeon_i2c *i2c) in thunder_i2c_clock_enable()118 static int thunder_i2c_smbus_setup_of(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup_of()139 static int thunder_i2c_smbus_setup(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup()149 static void thunder_i2c_smbus_remove(struct octeon_i2c *i2c) in thunder_i2c_smbus_remove()158 struct octeon_i2c *i2c; in thunder_i2c_probe_pci()240 struct octeon_i2c *i2c = pci_get_drvdata(pdev); in thunder_i2c_remove_pci()
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()