Lines Matching full:sda
117 /* assert: scl, sda are high */ in i2c_start()
185 /* read ack: SDA should be pulled down by slave, or it may in i2c_outb()
187 * Always report ACK if SDA is write-only. in i2c_outb()
189 ack = !adap->getsda || !getsda(adap); /* ack: sda is pulled low -> success */ in i2c_outb()
195 /* assert: scl is low (sda undef) */ in i2c_outb()
234 int scl, sda, ret; in test_bus() local
243 pr_info("%s: SDA is write-only, testing not possible\n", name); in test_bus()
247 sda = adap->getsda ? getsda(adap) : 1; in test_bus()
249 if (!scl || !sda) { in test_bus()
250 pr_warn("%s: bus seems to be busy (scl=%d, sda=%d)\n", name, scl, sda); in test_bus()
256 pr_warn("%s: SDA stuck high!\n", name); in test_bus()
260 pr_warn("%s: SCL unexpected low while pulling SDA low!\n", name); in test_bus()
266 pr_warn("%s: SDA stuck low!\n", name); in test_bus()
270 pr_warn("%s: SCL unexpected low while pulling SDA high!\n", name); in test_bus()
280 pr_warn("%s: SDA unexpected low while pulling SCL low!\n", name); in test_bus()
290 pr_warn("%s: SDA unexpected low while pulling SCL high!\n", name); in test_bus()
389 /* assert: sda is high */ in acknak()
654 * We tried forcing SCL/SDA to an initial state here. But that caused a in __i2c_bit_add_bus()
663 dev_warn(&adap->dev, "Not I2C compliant: can't read SDA\n"); in __i2c_bit_add_bus()