Lines Matching full:sda
126 /* assert: scl, sda are high */ in i2c_start()
194 /* read ack: SDA should be pulled down by slave, or it may in i2c_outb()
197 ack = !getsda(adap); /* ack: sda is pulled low -> success */ in i2c_outb()
203 /* assert: scl is low (sda undef) */ in i2c_outb()
242 int scl, sda, ret; in test_bus() local
251 pr_info("%s: Testing SDA only, SCL is not readable\n", name); in test_bus()
253 sda = getsda(adap); in test_bus()
255 if (!scl || !sda) { in test_bus()
257 "%s: bus seems to be busy (scl=%d, sda=%d)\n", in test_bus()
258 name, scl, sda); in test_bus()
263 sda = getsda(adap); in test_bus()
265 if (sda) { in test_bus()
266 printk(KERN_WARNING "%s: SDA stuck high!\n", name); in test_bus()
271 "%s: SCL unexpected low while pulling SDA low!\n", in test_bus()
277 sda = getsda(adap); in test_bus()
279 if (!sda) { in test_bus()
280 printk(KERN_WARNING "%s: SDA stuck low!\n", name); in test_bus()
285 "%s: SCL unexpected low while pulling SDA high!\n", in test_bus()
291 sda = getsda(adap); in test_bus()
297 if (!sda) { in test_bus()
299 "%s: SDA unexpected low while pulling SCL low!\n", in test_bus()
305 sda = getsda(adap); in test_bus()
311 if (!sda) { in test_bus()
313 "%s: SDA unexpected low while pulling SCL high!\n", in test_bus()
413 /* assert: sda is high */ in acknak()
658 * We tried forcing SCL/SDA to an initial state here. But that caused a in __i2c_bit_add_bus()