Searched refs:hwadapnr (Results 1 – 12 of 12) sorted by relevance
/external/u-boot/drivers/i2c/ |
D | lpc32xx_i2c.c | 230 __i2c_init(lpc32xx_i2c[adap->hwadapnr], requested_speed, slaveadd, in lpc32xx_i2c_init() 231 adap->hwadapnr); in lpc32xx_i2c_init() 236 return __i2c_probe_chip(lpc32xx_i2c[adap->hwadapnr], dev); in lpc32xx_i2c_probe_chip() 242 return __i2c_read(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_read() 249 return __i2c_write(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_write() 256 return __i2c_set_bus_speed(lpc32xx_i2c[adap->hwadapnr], speed, in lpc32xx_i2c_set_bus_speed() 257 adap->hwadapnr); in lpc32xx_i2c_set_bus_speed()
|
D | fsl_i2c.c | 499 __i2c_init(i2c_base[adap->hwadapnr], speed, slaveadd, in fsl_i2c_init() 500 get_i2c_clock(adap->hwadapnr), adap->hwadapnr); in fsl_i2c_init() 505 return __i2c_probe_chip(i2c_base[adap->hwadapnr], chip); in fsl_i2c_probe_chip() 513 return __i2c_read(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_read() 522 return __i2c_write(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_write() 528 return __i2c_set_bus_speed(i2c_base[adap->hwadapnr], speed, in fsl_i2c_set_bus_speed() 529 get_i2c_clock(adap->hwadapnr)); in fsl_i2c_set_bus_speed()
|
D | sh_i2c.c | 243 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_read() 260 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_write() 282 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_set_bus_speed()
|
D | davinci_i2c.c | 344 switch (adap->hwadapnr) { in davinci_get_base() 357 printf("wrong hwadapnr: %d\n", adap->hwadapnr); in davinci_get_base()
|
D | designware_i2c.c | 399 switch (adap->hwadapnr) { in i2c_get_base() 415 printf("Wrong I2C-adapter number %d\n", adap->hwadapnr); in i2c_get_base()
|
D | mvtwsi.c | 194 switch (adap->hwadapnr) { in twsi_get_base() 220 printf("Missing mvtwsi controller %d base\n", adap->hwadapnr); in twsi_get_base()
|
D | omap24xx_i2c.c | 700 switch (adap->hwadapnr) { 723 printf("wrong hwadapnr: %d\n", adap->hwadapnr);
|
D | mxs_i2c.c | 28 if (adap->hwadapnr == 0) in mxs_i2c_get_base()
|
D | zynq_i2c.c | 71 return adap->hwadapnr ? in i2c_select()
|
D | mxc_i2c.c | 632 return &mxc_i2c_buses[adap->hwadapnr]; in i2c_get_base() 718 bus_i2c_init(adap->hwadapnr, speed, slaveaddr, NULL, NULL); in mxc_i2c_init()
|
D | kona_i2c.c | 623 return &g_i2c_devs[adap->hwadapnr]; in kona_get_dev()
|
/external/u-boot/include/ |
D | i2c.h | 592 int hwadapnr; member 607 .hwadapnr = _hwadapnr, \ 646 #define I2C_ADAP_HWNR (I2C_ADAP->hwadapnr)
|