Lines Matching defs:byte
49 #define DS2482_CMD_CHANNEL_SELECT 0xC3 /* Param: Channel byte - DS2482-800 only */
50 #define DS2482_CMD_WRITE_CONFIG 0xD2 /* Param: Config byte */
52 #define DS2482_CMD_1WIRE_SINGLE_BIT 0x87 /* Param: Bit byte (bit7) */
53 #define DS2482_CMD_1WIRE_WRITE_BYTE 0xA5 /* Param: Data byte */
55 /* Note to read the byte, Set the ReadPtr to Data then read (any addr) */
56 #define DS2482_CMD_1WIRE_TRIPLET 0x78 /* Param: Dir byte (bit7) */
182 * @byte: The data to send
186 u8 cmd, u8 byte)
188 if (i2c_smbus_write_byte_data(pdev->client, cmd, byte) < 0)
317 * ds2482_w1_write_byte - Performs the write byte function.
320 * @byte: The value to write
322 static void ds2482_w1_write_byte(void *data, u8 byte)
334 /* Send the write byte command */
335 ds2482_send_cmd_data(pdev, DS2482_CMD_1WIRE_WRITE_BYTE, byte);
341 * ds2482_w1_read_byte - Performs the read byte function.
359 /* Send the read byte command */
368 /* Read the data byte */
472 /* Read the status byte - only reset bit and line should be set */