Lines Matching full:scl
81 * Raise scl line, and do checking for delays. This is necessary for slower
90 /* Not all adapters have scl sense line... */ in sclhi()
113 pr_debug("i2c-algo-bit: needed %ld jiffies for SCL to go high\n", in sclhi()
126 /* assert: scl, sda are high */ in i2c_start()
134 /* assert: scl is low */ in i2c_repstart()
145 /* assert: scl is low */ in i2c_stop()
159 * -ETIMEDOUT if an error occurred (while raising the scl line)
168 /* assert: scl is low */ in i2c_outb()
203 /* assert: scl is low (sda undef) */ in i2c_outb()
215 /* assert: scl is low */ in i2c_inb()
230 /* assert: scl is low */ in i2c_inb()
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()
254 scl = (adap->getscl == NULL) ? 1 : getscl(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()
264 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
269 if (!scl) { in test_bus()
271 "%s: SCL unexpected low while pulling SDA low!\n", in test_bus()
278 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
283 if (!scl) { in test_bus()
285 "%s: SCL unexpected low while pulling SDA high!\n", in test_bus()
292 scl = (adap->getscl == NULL) ? 0 : getscl(adap); in test_bus()
293 if (scl) { in test_bus()
294 printk(KERN_WARNING "%s: SCL stuck high!\n", name); in test_bus()
299 "%s: SDA unexpected low while pulling SCL low!\n", in test_bus()
306 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
307 if (!scl) { in test_bus()
308 printk(KERN_WARNING "%s: SCL stuck low!\n", name); in test_bus()
313 "%s: SDA unexpected low while pulling SCL high!\n", in test_bus()
658 * We tried forcing SCL/SDA to an initial state here. But that caused a in __i2c_bit_add_bus()
666 /* Complain if SCL can't be read */ in __i2c_bit_add_bus()
668 dev_warn(&adap->dev, "Not I2C compliant: can't read SCL\n"); in __i2c_bit_add_bus()