Searched refs:i2c_regs (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/i2c/ |
D | mxs_i2c.c | 36 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); in mxs_i2c_get_bus_speed() local 40 timing0 = readl(&i2c_regs->hw_i2c_timing0); in mxs_i2c_get_bus_speed() 50 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); in mxs_i2c_set_bus_speed() local 79 writel((high_count << 16) | rcv_count, &i2c_regs->hw_i2c_timing0); in mxs_i2c_set_bus_speed() 80 writel((low_count << 16) | xmit_count, &i2c_regs->hw_i2c_timing1); in mxs_i2c_set_bus_speed() 84 &i2c_regs->hw_i2c_timing2); in mxs_i2c_set_bus_speed() 91 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); in mxs_i2c_reset() local 95 ret = mxs_reset_block(&i2c_regs->hw_i2c_ctrl0_reg); in mxs_i2c_reset() 104 &i2c_regs->hw_i2c_ctrl1_clr); in mxs_i2c_reset() 106 writel(I2C_QUEUECTRL_PIO_QUEUE_MODE, &i2c_regs->hw_i2c_queuectrl_set); in mxs_i2c_reset() [all …]
|
D | designware_i2c.c | 35 struct i2c_regs *regs; 41 static void dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) in dw_i2c_enable() 48 static void dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) in dw_i2c_enable() 76 static unsigned int __dw_i2c_set_bus_speed(struct i2c_regs *i2c_base, in __dw_i2c_set_bus_speed() 158 static void i2c_setaddress(struct i2c_regs *i2c_base, unsigned int i2c_addr) in i2c_setaddress() 174 static void i2c_flush_rxfifo(struct i2c_regs *i2c_base) in i2c_flush_rxfifo() 185 static int i2c_wait_for_bb(struct i2c_regs *i2c_base) in i2c_wait_for_bb() 200 static int i2c_xfer_init(struct i2c_regs *i2c_base, uchar chip, uint addr, in i2c_xfer_init() 216 static int i2c_xfer_finish(struct i2c_regs *i2c_base) in i2c_xfer_finish() 249 static int __dw_i2c_read(struct i2c_regs *i2c_base, u8 dev, uint addr, in __dw_i2c_read() [all …]
|
D | davinci_i2c.c | 27 struct i2c_regs *regs; 39 static int _wait_for_bus(struct i2c_regs *i2c_base) in _wait_for_bus() 60 static int _poll_i2c_irq(struct i2c_regs *i2c_base, int mask) in _poll_i2c_irq() 75 static void _flush_rx(struct i2c_regs *i2c_base) in _flush_rx() 87 static uint _davinci_i2c_setspeed(struct i2c_regs *i2c_base, in _davinci_i2c_setspeed() 102 static void _davinci_i2c_init(struct i2c_regs *i2c_base, in _davinci_i2c_init() 125 static int _davinci_i2c_read(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_read() 223 static int _davinci_i2c_write(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_write() 305 static int _davinci_i2c_probe_chip(struct i2c_regs *i2c_base, uint8_t chip) in _davinci_i2c_probe_chip() 342 static struct i2c_regs *davinci_get_base(struct i2c_adapter *adap) in davinci_get_base() [all …]
|
D | rk_i2c.c | 30 struct i2c_regs *regs; 69 static void rk_i2c_show_regs(struct i2c_regs *regs) in rk_i2c_show_regs() 92 struct i2c_regs *regs = i2c->regs; in rk_i2c_send_start_bit() 120 struct i2c_regs *regs = i2c->regs; in rk_i2c_send_stop_bit() 154 struct i2c_regs *regs = i2c->regs; in rk_i2c_read() 253 struct i2c_regs *regs = i2c->regs; in rk_i2c_write()
|
D | davinci_i2c.h | 14 struct i2c_regs { struct
|
D | mv_i2c.c | 397 static unsigned long i2c_regs[CONFIG_MV_I2C_NUM] = CONFIG_MV_I2C_REG; variable 408 base_glob = (struct mv_i2c *)i2c_regs[bus]; in i2c_set_bus_num() 432 base_glob = (struct mv_i2c *)i2c_regs[current_bus]; in i2c_init()
|
D | meson_i2c.c | 33 struct i2c_regs { struct 46 struct i2c_regs *regs; argument
|
D | designware_i2c.h | 10 struct i2c_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-rockchip/ |
D | i2c.h | 10 struct i2c_regs { struct
|