Lines Matching defs:byte
272 * sht15_send_byte() - send a single byte to the device
274 * @byte: value to be sent
276 static void sht15_send_byte(struct sht15_data *data, u8 byte)
281 sht15_send_bit(data, !!(byte & 0x80));
282 byte <<= 1;
315 * @cmd: command byte to be sent
355 * Each byte of data is acknowledged by pulling the data line
397 * sht15_read_byte() - Read a byte back from the device
403 u8 byte = 0;
406 byte <<= 1;
409 byte |= !!gpiod_get_value(data->data);
413 return byte;
417 * sht15_send_status() - write the status register byte
419 * @status: the byte to set the status register with.
845 * Note: the device sends the checksum byte reversed.