/external/u-boot/drivers/i2c/ |
D | intel_i2c.c | 204 static int intel_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in intel_i2c_xfer() argument 209 debug("i2c_xfer: %d messages\n", nmsgs); in intel_i2c_xfer() 217 if (nmsgs > 2 || nmsgs == 0) { in intel_i2c_xfer() 222 omsg = nmsgs == 1 ? &dummy : msg; in intel_i2c_xfer() 223 dmsg = nmsgs == 1 ? msg : msg + 1; in intel_i2c_xfer()
|
D | cros_ec_ldo.c | 20 int nmsgs) in cros_ec_ldo_xfer() argument 22 bool is_read = nmsgs > 1; in cros_ec_ldo_xfer() 29 if (!nmsgs || !msg->len || (msg->flags & I2C_M_RD)) { in cros_ec_ldo_xfer()
|
D | ast_i2c.c | 271 static int ast_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in ast_i2c_xfer() argument 279 debug("i2c_xfer: %d messages\n", nmsgs); in ast_i2c_xfer() 280 for (; nmsgs > 0; nmsgs--, msg++) { in ast_i2c_xfer() 285 msg->len, (nmsgs == 1)); in ast_i2c_xfer() 290 msg->len, (nmsgs == 1)); in ast_i2c_xfer()
|
D | sandbox_i2c.c | 66 int nmsgs) in sandbox_i2c_xfer() argument 92 is_read = nmsgs > 1; in sandbox_i2c_xfer() 99 return ops->xfer(emul, msg, nmsgs); in sandbox_i2c_xfer()
|
D | i2c-uniphier.c | 151 int nmsgs) in uniphier_i2c_xfer() argument 157 for (; nmsgs > 0; nmsgs--, msg++) { in uniphier_i2c_xfer() 159 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_i2c_xfer()
|
D | i2c-cdns.c | 365 int nmsgs) in cdns_i2c_xfer() argument 373 if (nmsgs > 1) { in cdns_i2c_xfer() 381 for (count = 0; (count < nmsgs - 1) && hold_quirk; count++) { in cdns_i2c_xfer() 394 debug("i2c_xfer: %d messages\n", nmsgs); in cdns_i2c_xfer() 395 for (; nmsgs > 0; nmsgs--, msg++) { in cdns_i2c_xfer()
|
D | lpc32xx_i2c.c | 298 int nmsgs) 309 if (nmsgs > 2 || nmsgs == 0) { 314 omsg = nmsgs == 1 ? &dummy : msg; 315 dmsg = nmsgs == 1 ? msg : msg + 1;
|
D | tegra186_bpmp_i2c.c | 37 int nmsgs) in tegra186_bpmp_i2c_xfer() argument 49 for (i = 0; i < nmsgs; i++) { in tegra186_bpmp_i2c_xfer() 78 for (i = 0; i < nmsgs; i++) { in tegra186_bpmp_i2c_xfer()
|
D | cros_ec_tunnel.c | 25 int nmsgs) in cros_ec_i2c_xfer() argument 29 return cros_ec_i2c_tunnel(dev->parent, i2c_bus->remote_bus, msg, nmsgs); in cros_ec_i2c_xfer()
|
D | ihs_i2c.c | 294 static int ihs_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in ihs_i2c_xfer() argument 303 if (nmsgs > 2 || nmsgs == 0) { in ihs_i2c_xfer() 308 omsg = nmsgs == 1 ? &dummy : msg; in ihs_i2c_xfer() 309 dmsg = nmsgs == 1 ? msg : msg + 1; in ihs_i2c_xfer()
|
D | tegra_i2c.c | 474 int nmsgs) in tegra_i2c_xfer() argument 479 debug("i2c_xfer: %d messages\n", nmsgs); in tegra_i2c_xfer() 480 for (; nmsgs > 0; nmsgs--, msg++) { in tegra_i2c_xfer() 481 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in tegra_i2c_xfer()
|
D | i2c-gpio.c | 254 static int i2c_gpio_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in i2c_gpio_xfer() argument 259 for (; nmsgs > 0; nmsgs--, msg++) { in i2c_gpio_xfer() 260 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in i2c_gpio_xfer()
|
D | i2c-uniphier-f.c | 248 int nmsgs) in uniphier_fi2c_xfer() argument 258 for (; nmsgs > 0; nmsgs--, msg++) { in uniphier_fi2c_xfer() 260 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_fi2c_xfer()
|
D | mv_i2c.c | 536 static int mv_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) in mv_i2c_xfer() argument 547 if (nmsgs > 2 || nmsgs == 0) { in mv_i2c_xfer() 552 omsg = nmsgs == 1 ? &dummy : msg; in mv_i2c_xfer() 553 dmsg = nmsgs == 1 ? msg : msg + 1; in mv_i2c_xfer()
|
D | rk_i2c.c | 330 int nmsgs) in rockchip_i2c_xfer() argument 335 debug("i2c_xfer: %d messages\n", nmsgs); in rockchip_i2c_xfer() 336 for (; nmsgs > 0; nmsgs--, msg++) { in rockchip_i2c_xfer()
|
D | fsl_i2c.c | 606 static int fsl_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) 616 if (nmsgs > 2 || nmsgs == 0) { 621 omsg = nmsgs == 1 ? &dummy : msg; 622 dmsg = nmsgs == 1 ? msg : msg + 1;
|
D | rcar_iic.c | 177 static int rcar_iic_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs) in rcar_iic_xfer() argument 181 for (; nmsgs > 0; nmsgs--, msg++) { in rcar_iic_xfer()
|
D | mvtwsi.c | 830 static int mvtwsi_i2c_xfer(struct udevice *bus, struct i2c_msg *msg, int nmsgs) 839 if (nmsgs > 2 || nmsgs == 0) { 844 omsg = nmsgs == 1 ? &dummy : msg; 845 dmsg = nmsgs == 1 ? msg : msg + 1;
|
D | meson_i2c.c | 208 int nmsgs) in meson_i2c_xfer() argument 213 for (i = 0; i < nmsgs; i++) { in meson_i2c_xfer() 214 ret = meson_i2c_xfer_msg(i2c, msg + i, i == nmsgs - 1); in meson_i2c_xfer()
|
D | davinci_i2c.c | 435 int nmsgs) 440 debug("i2c_xfer: %d messages\n", nmsgs); 441 for (; nmsgs > 0; nmsgs--, msg++) {
|
D | designware_i2c.c | 488 int nmsgs) 493 debug("i2c_xfer: %d messages\n", nmsgs); 494 for (; nmsgs > 0; nmsgs--, msg++) {
|
/external/u-boot/drivers/power/pmic/ |
D | i2c_pmic_emul.c | 82 int nmsgs) in sandbox_i2c_pmic_xfer() argument 86 for (; nmsgs > 0; nmsgs--, msg++) { in sandbox_i2c_pmic_xfer() 87 bool next_is_read = nmsgs > 1 && (msg[1].flags & I2C_M_RD); in sandbox_i2c_pmic_xfer()
|
/external/u-boot/drivers/misc/ |
D | i2c_eeprom_emul.c | 48 int nmsgs) in sandbox_i2c_eeprom_xfer() argument 55 for (; nmsgs > 0; nmsgs--, msg++) { in sandbox_i2c_eeprom_xfer()
|
/external/u-boot/include/ |
D | i2c.h | 116 uint nmsgs; member 203 int dm_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, int nmsgs); 370 int (*xfer)(struct udevice *bus, struct i2c_msg *msg, int nmsgs); 537 void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs);
|
/external/u-boot/drivers/rtc/ |
D | i2c_rtc_emul.c | 163 int nmsgs) in sandbox_i2c_rtc_xfer() argument 173 for (; nmsgs > 0; nmsgs--, msg++) { in sandbox_i2c_rtc_xfer()
|