Lines Matching full:scl

72  * Raise scl line, and do checking for delays. This is necessary for slower
81 /* Not all adapters have scl sense line... */ in sclhi()
104 pr_debug("i2c-algo-bit: needed %ld jiffies for SCL to go high\n", in sclhi()
117 /* assert: scl, sda are high */ in i2c_start()
125 /* assert: scl is low */ in i2c_repstart()
136 /* assert: scl is low */ in i2c_stop()
150 * -ETIMEDOUT if an error occurred (while raising the scl line)
159 /* assert: scl is low */ in i2c_outb()
194 /* assert: scl is low (sda undef) */ in i2c_outb()
206 /* assert: scl is low */ in i2c_inb()
221 /* assert: scl is low */ in i2c_inb()
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()
245 scl = (adap->getscl == NULL) ? 1 : getscl(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()
255 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
260 if (!scl) { in test_bus()
262 "%s: SCL unexpected low while pulling SDA low!\n", in test_bus()
269 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
274 if (!scl) { in test_bus()
276 "%s: SCL unexpected low while pulling SDA high!\n", in test_bus()
283 scl = (adap->getscl == NULL) ? 0 : getscl(adap); in test_bus()
284 if (scl) { in test_bus()
285 printk(KERN_WARNING "%s: SCL stuck high!\n", name); in test_bus()
290 "%s: SDA unexpected low while pulling SCL low!\n", in test_bus()
297 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
298 if (!scl) { in test_bus()
299 printk(KERN_WARNING "%s: SCL stuck low!\n", name); in test_bus()
304 "%s: SDA unexpected low while pulling SCL high!\n", in test_bus()
667 * We tried forcing SCL/SDA to an initial state here. But that caused a in __i2c_bit_add_bus()
675 /* Complain if SCL can't be read */ in __i2c_bit_add_bus()
677 dev_warn(&adap->dev, "Not I2C compliant: can't read SCL\n"); in __i2c_bit_add_bus()