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()
188 ack = !getsda(adap); /* ack: sda is pulled low -> success */ in i2c_outb()
194 /* assert: scl is low (sda undef) */ in i2c_outb()
233 int scl, sda, ret; in test_bus() local
242 pr_info("%s: Testing SDA only, SCL is not readable\n", name); in test_bus()
244 sda = getsda(adap); in test_bus()
246 if (!scl || !sda) { in test_bus()
248 "%s: bus seems to be busy (scl=%d, sda=%d)\n", in test_bus()
249 name, scl, sda); in test_bus()
254 sda = getsda(adap); in test_bus()
256 if (sda) { in test_bus()
257 printk(KERN_WARNING "%s: SDA stuck high!\n", name); in test_bus()
262 "%s: SCL unexpected low while pulling SDA low!\n", in test_bus()
268 sda = getsda(adap); in test_bus()
270 if (!sda) { in test_bus()
271 printk(KERN_WARNING "%s: SDA stuck low!\n", name); in test_bus()
276 "%s: SCL unexpected low while pulling SDA high!\n", in test_bus()
282 sda = getsda(adap); in test_bus()
288 if (!sda) { in test_bus()
290 "%s: SDA unexpected low while pulling SCL low!\n", in test_bus()
296 sda = getsda(adap); in test_bus()
302 if (!sda) { in test_bus()
304 "%s: SDA unexpected low while pulling SCL high!\n", in test_bus()
404 /* assert: sda is high */ in acknak()
667 * We tried forcing SCL/SDA to an initial state here. But that caused a in __i2c_bit_add_bus()