Lines Matching refs:sda
56 : BasicPioDevice(p, 0x1000), scl(1), sda(1), state(IDLE), currBit(7),
68 * of sda and scl.
75 pkt->setRaw<uint8_t>((sda << 1) | scl);
125 message |= sda << currBit;
138 sda = 0; /* Ack */
143 message |= sda << currBit;
149 sda = 0; /* Ack */
154 sda = (message >> currBit) & 0x01;
157 if (!sda) /* Check for ack from the bus master. */
181 sda = (msg & 2) ? 1 : sda;
185 sda = (msg & 2) ? 0 : sda;
220 SERIALIZE_SCALAR(sda);
232 UNSERIALIZE_SCALAR(sda);