Lines Matching refs:data
158 /* change direction, ignore data */
176 int bit_cntr, data;
178 data = 0;
181 data <<= 1;
183 data |= sda_in(dd, 0);
195 return data;
201 * @data: the byte to write
205 static int wr_byte(struct qib_devdata *dd, u8 data)
211 bit = (data >> bit_cntr) & 1;
221 * (both clock/data high, clock high, data low while clock is high)
236 * (both clock/data low, clock high, data high while clock is high)
250 * (both clock/data low, clock high, data high while clock is high)
327 static int qib_twsi_wr(struct qib_devdata *dd, int data, int flags)
334 ret = wr_byte(dd, data); /* Leaves SCL low (from i2c_ackrcv()) */
347 * but now the general interface for data transfer from twsi devices.
353 * the "register" or "offset" within the device from which data should
402 * block devices keeps clocking data out as long as we ack,
410 * Get and store data, sending ACK if length remaining,
425 * but now the general interface for data transfer to twsi devices.
431 * the "register" or "offset" within the device to which data should