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()
195 /* assert: scl is low (sda undef) */ in i2c_outb()
207 /* assert: scl is low */ in i2c_inb()
222 /* assert: scl is low */ in i2c_inb()
234 int scl, sda, ret; in test_bus() local
245 pr_info("%s: SCL is write-only, testing not possible\n", name); in test_bus()
248 scl = adap->getscl ? getscl(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()
260 pr_warn("%s: SCL unexpected low while pulling SDA low!\n", name); in test_bus()
270 pr_warn("%s: SCL unexpected low while pulling SDA high!\n", name); in test_bus()
276 pr_warn("%s: SCL stuck high!\n", name); in test_bus()
280 pr_warn("%s: SDA unexpected low while pulling SCL low!\n", name); in test_bus()
286 pr_warn("%s: SCL stuck low!\n", name); in test_bus()
290 pr_warn("%s: SDA unexpected low while pulling SCL high!\n", name); in test_bus()
654 * We tried forcing SCL/SDA to an initial state here. But that caused a in __i2c_bit_add_bus()
666 dev_warn(&adap->dev, "Not I2C compliant: can't read SCL\n"); in __i2c_bit_add_bus()