Home
last modified time | relevance | path

Searched refs:octeon_i2c (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-octeon-core.h101 struct octeon_i2c { struct
115 void (*int_enable)(struct octeon_i2c *); argument
116 void (*int_disable)(struct octeon_i2c *); argument
117 void (*hlc_int_enable)(struct octeon_i2c *); argument
118 void (*hlc_int_disable)(struct octeon_i2c *); argument
139 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 …]
H A Di2c-octeon-core.c26 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()
265 static int octeon_i2c_start(struct octeon_i2c *i2c) in octeon_i2c_start()
607 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_xfer()
658 void octeon_i2c_set_clock(struct octeon_i2c *i2c) in octeon_i2c_set_clock()
728 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_scl()
737 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_set_scl()
744 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_sda()
753 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_prepare_recovery()
[all …]
H A Di2c-thunderx-pcidrv.c40 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()
H A Di2c-octeon-platdrv.c38 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()