/external/u-boot/drivers/i2c/ |
D | mxs_i2c.c | 26 static struct mxs_i2c_regs *mxs_i2c_get_base(struct i2c_adapter *adap) in mxs_i2c_get_base() 34 static unsigned int mxs_i2c_get_bus_speed(struct i2c_adapter *adap) in mxs_i2c_get_bus_speed() 48 static uint mxs_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in mxs_i2c_set_bus_speed() 89 static void mxs_i2c_reset(struct i2c_adapter *adap) in mxs_i2c_reset() 111 static void mxs_i2c_setup_read(struct i2c_adapter *adap, uint8_t chip, int len) in mxs_i2c_setup_read() 129 static int mxs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in mxs_i2c_write() 187 static int mxs_i2c_wait_for_ack(struct i2c_adapter *adap) in mxs_i2c_wait_for_ack() 225 static int mxs_i2c_if_read(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_read() 276 static int mxs_i2c_if_write(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_write() 294 static int mxs_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxs_i2c_probe() [all …]
|
D | davinci_i2c.c | 342 static struct i2c_regs *davinci_get_base(struct i2c_adapter *adap) in davinci_get_base() 363 static uint davinci_i2c_setspeed(struct i2c_adapter *adap, uint speed) in davinci_i2c_setspeed() 374 static void davinci_i2c_init(struct i2c_adapter *adap, int speed, in davinci_i2c_init() 385 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_read() 392 static int davinci_i2c_write(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_write() 400 static int davinci_i2c_probe_chip(struct i2c_adapter *adap, uint8_t chip) in davinci_i2c_probe_chip()
|
D | lpc32xx_i2c.c | 227 static void lpc32xx_i2c_init(struct i2c_adapter *adap, in lpc32xx_i2c_init() 234 static int lpc32xx_i2c_probe_chip(struct i2c_adapter *adap, u8 dev) in lpc32xx_i2c_probe_chip() 239 static int lpc32xx_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in lpc32xx_i2c_read() 246 static int lpc32xx_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in lpc32xx_i2c_write() 253 static unsigned int lpc32xx_i2c_set_bus_speed(struct i2c_adapter *adap, in lpc32xx_i2c_set_bus_speed()
|
D | zynq_i2c.c | 69 static struct zynq_i2c_registers *i2c_select(struct i2c_adapter *adap) in i2c_select() 79 static void zynq_i2c_init(struct i2c_adapter *adap, int requested_speed, in zynq_i2c_init() 159 static int zynq_i2c_probe(struct i2c_adapter *adap, u8 dev) in zynq_i2c_probe() 180 static int zynq_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in zynq_i2c_read() 249 static int zynq_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in zynq_i2c_write() 293 static unsigned int zynq_i2c_set_bus_speed(struct i2c_adapter *adap, in zynq_i2c_set_bus_speed()
|
D | designware_i2c.c | 397 static struct i2c_regs *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() 421 static unsigned int dw_i2c_set_bus_speed(struct i2c_adapter *adap, in dw_i2c_set_bus_speed() 428 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in dw_i2c_init() 433 static int dw_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in dw_i2c_read() 439 static int dw_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in dw_i2c_write() 446 static int dw_i2c_probe(struct i2c_adapter *adap, u8 dev) in dw_i2c_probe()
|
D | sh_i2c.c | 205 sh_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) in sh_i2c_init() 239 static int sh_i2c_read(struct i2c_adapter *adap, uint8_t chip, in sh_i2c_read() 257 static int sh_i2c_write(struct i2c_adapter *adap, uint8_t chip, uint addr, in sh_i2c_write() 272 sh_i2c_probe(struct i2c_adapter *adap, u8 dev) in sh_i2c_probe() 279 static unsigned int sh_i2c_set_bus_speed(struct i2c_adapter *adap, in sh_i2c_set_bus_speed()
|
D | soft_i2c.c | 284 static void soft_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in soft_i2c_init() 307 static int soft_i2c_probe(struct i2c_adapter *adap, uint8_t addr) in soft_i2c_probe() 325 static int soft_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in soft_i2c_read() 400 static int soft_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in soft_i2c_write()
|
D | omap24xx_i2c.c | 698 static struct i2c *omap24_get_base(struct i2c_adapter *adap) 730 static int omap24_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, 740 static int omap24_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, 749 static uint omap24_i2c_setspeed(struct i2c_adapter *adap, uint speed) 765 static void omap24_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) 772 static int omap24_i2c_probe(struct i2c_adapter *adap, uchar chip)
|
D | fsl_i2c.c | 497 static void fsl_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) in fsl_i2c_init() 503 static int fsl_i2c_probe_chip(struct i2c_adapter *adap, uchar chip) in fsl_i2c_probe_chip() 508 static int fsl_i2c_read(struct i2c_adapter *adap, u8 chip_addr, uint offset, in fsl_i2c_read() 517 static int fsl_i2c_write(struct i2c_adapter *adap, u8 chip_addr, uint offset, in fsl_i2c_write() 526 static uint fsl_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in fsl_i2c_set_bus_speed()
|
D | ihs_i2c.c | 354 static void ihs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in ihs_i2c_init() 366 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe() 376 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_read() 387 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_write() 398 static unsigned int ihs_i2c_set_bus_speed(struct i2c_adapter *adap, in ihs_i2c_set_bus_speed()
|
D | mxc_i2c.c | 630 struct mxc_i2c_bus *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() 635 static int mxc_i2c_read(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_read() 642 static int mxc_i2c_write(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_write() 652 static int mxc_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxc_i2c_probe() 716 static void mxc_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in mxc_i2c_init() 724 static u32 mxc_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in mxc_i2c_set_bus_speed()
|
D | mvtwsi.c | 192 static struct mvtwsi_registers *twsi_get_base(struct i2c_adapter *adap) in twsi_get_base() 673 static void twsi_i2c_init(struct i2c_adapter *adap, int speed, in twsi_i2c_init() 680 static uint twsi_i2c_set_bus_speed(struct i2c_adapter *adap, in twsi_i2c_set_bus_speed() 688 static int twsi_i2c_probe(struct i2c_adapter *adap, uchar chip) in twsi_i2c_probe() 694 static int twsi_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in twsi_i2c_read() 709 static int twsi_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in twsi_i2c_write()
|
D | kona_i2c.c | 621 struct bcm_kona_i2c_dev *kona_get_dev(struct i2c_adapter *adap) in kona_get_dev() 626 static void kona_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in kona_i2c_init() 636 static int kona_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in kona_i2c_read() 665 static int kona_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in kona_i2c_write() 690 static int kona_i2c_probe(struct i2c_adapter *adap, uchar chip) in kona_i2c_probe() 700 static uint kona_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in kona_i2c_set_bus_speed()
|
D | i2c_core.c | 58 static int i2c_mux_set(struct i2c_adapter *adap, int mux_id, int chip, in i2c_mux_set()
|