Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-octeon-core.c31 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()
138 static void octeon_i2c_block_enable(struct octeon_i2c *i2c) in octeon_i2c_block_enable()
151 static void octeon_i2c_block_disable(struct octeon_i2c *i2c) in octeon_i2c_block_disable()
170 static int octeon_i2c_hlc_wait(struct octeon_i2c *i2c) in octeon_i2c_hlc_wait()
[all …]
H A Di2c-octeon-core.h124 struct octeon_i2c { struct
139 void (*int_enable)(struct octeon_i2c *); argument
140 void (*int_disable)(struct octeon_i2c *); argument
141 void (*hlc_int_enable)(struct octeon_i2c *); argument
142 void (*hlc_int_disable)(struct octeon_i2c *); argument
163 static inline void octeon_i2c_reg_write(struct octeon_i2c *i2c, u64 eop_reg, u8 data) in octeon_i2c_reg_write()
190 static inline int octeon_i2c_reg_read(struct octeon_i2c *i2c, u64 eop_reg, in octeon_i2c_reg_read()
223 static inline u64 octeon_i2c_read_int(struct octeon_i2c *i2c) in octeon_i2c_read_int()
233 static inline void octeon_i2c_write_int(struct octeon_i2c *i2c, u64 data) in octeon_i2c_write_int()
257 int octeon_i2c_init_lowlevel(struct octeon_i2c *i2c);
[all …]
H A Di2c-thunderx-pcidrv.c41 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()
252 struct octeon_i2c *i2c = pci_get_drvdata(pdev); in thunder_i2c_remove_pci()