Lines Matching refs:scl
168 uint8_t scl; member
301 eeprom->tick, eeprom->scl, eeprom->sda, eeprom->data); in eeprom24c0x_read()
305 static void eeprom24c0x_write(eeprom24c0x_t *eeprom, int scl, int sda) in eeprom24c0x_write() argument
307 if (eeprom->scl && scl && (eeprom->sda != sda)) { in eeprom24c0x_write()
309 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda, in eeprom24c0x_write()
318 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda); in eeprom24c0x_write()
319 } else if (!eeprom->scl && scl) { in eeprom24c0x_write()
321 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda); in eeprom24c0x_write()
360 logout("%u: scl = %u->%u, sda = %u->%u\n", eeprom->tick, eeprom->scl, in eeprom24c0x_write()
361 scl, eeprom->sda, sda); in eeprom24c0x_write()
363 eeprom->scl = scl; in eeprom24c0x_write()