Searched refs:octeon_i2c (Results 1 – 4 of 4) sorted by relevance
31 struct octeon_i2c *i2c = dev_id; in octeon_i2c_isr()50 static int octeon_i2c_wait(struct octeon_i2c *i2c) in octeon_i2c_wait()278 static int octeon_i2c_start(struct octeon_i2c *i2c) in octeon_i2c_start()302 static void octeon_i2c_stop(struct octeon_i2c *i2c) in octeon_i2c_stop()617 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_xfer()670 void octeon_i2c_set_clock(struct octeon_i2c *i2c) in octeon_i2c_set_clock()784 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_scl()793 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_set_scl()800 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_sda()809 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_prepare_recovery()[all …]
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 …]
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()