Home
last modified time | relevance | path

Searched refs:hwadapnr (Results 1 – 10 of 10) sorted by relevance

/u-boot/drivers/i2c/
A Dlpc32xx_i2c.c231 __i2c_init(lpc32xx_i2c[adap->hwadapnr], requested_speed, slaveadd, in lpc32xx_i2c_init()
232 adap->hwadapnr); in lpc32xx_i2c_init()
237 return __i2c_probe_chip(lpc32xx_i2c[adap->hwadapnr], dev); in lpc32xx_i2c_probe_chip()
243 return __i2c_read(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_read()
250 return __i2c_write(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_write()
257 return __i2c_set_bus_speed(lpc32xx_i2c[adap->hwadapnr], speed, in lpc32xx_i2c_set_bus_speed()
258 adap->hwadapnr); in lpc32xx_i2c_set_bus_speed()
A Dfsl_i2c.c503 __i2c_init(i2c_base[adap->hwadapnr], speed, slaveadd, in fsl_i2c_init()
504 get_i2c_clock(adap->hwadapnr), adap->hwadapnr); in fsl_i2c_init()
509 return __i2c_probe_chip(i2c_base[adap->hwadapnr], chip); in fsl_i2c_probe_chip()
517 return __i2c_read(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_read()
526 return __i2c_write(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_write()
532 return __i2c_set_bus_speed(i2c_base[adap->hwadapnr], speed, in fsl_i2c_set_bus_speed()
533 get_i2c_clock(adap->hwadapnr)); in fsl_i2c_set_bus_speed()
A Dsh_i2c.c246 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_read()
263 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_write()
285 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_set_bus_speed()
A Ddavinci_i2c.c346 switch (adap->hwadapnr) { in davinci_get_base()
359 printf("wrong hwadapnr: %d\n", adap->hwadapnr); in davinci_get_base()
A Dmvtwsi.c197 switch (adap->hwadapnr) { in twsi_get_base()
223 printf("Missing mvtwsi controller %d base\n", adap->hwadapnr); in twsi_get_base()
A Ddesignware_i2c.c621 switch (adap->hwadapnr) { in i2c_get_base()
637 printf("Wrong I2C-adapter number %d\n", adap->hwadapnr); in i2c_get_base()
A Domap24xx_i2c.c846 switch (adap->hwadapnr) { in omap24_get_base()
869 printf("wrong hwadapnr: %d\n", adap->hwadapnr); in omap24_get_base()
A Dmxc_i2c.c738 return &mxc_i2c_buses[adap->hwadapnr]; in i2c_get_base()
808 bus_i2c_init(adap->hwadapnr, speed, slaveaddr, NULL, NULL); in mxc_i2c_init()
A Dkona_i2c.c619 return &g_i2c_devs[adap->hwadapnr]; in kona_get_dev()
/u-boot/include/
A Di2c.h637 int hwadapnr; member
652 .hwadapnr = _hwadapnr, \
691 #define I2C_ADAP_HWNR (I2C_ADAP->hwadapnr)

Completed in 17 milliseconds