Lines Matching defs:byte
34 #define DS2482_CMD_CHANNEL_SELECT 0xC3 /* Param: Channel byte - DS2482-800 only */
35 #define DS2482_CMD_WRITE_CONFIG 0xD2 /* Param: Config byte */
37 #define DS2482_CMD_1WIRE_SINGLE_BIT 0x87 /* Param: Bit byte (bit7) */
38 #define DS2482_CMD_1WIRE_WRITE_BYTE 0xA5 /* Param: Data byte */
40 /* Note to read the byte, Set the ReadPtr to Data then read (any addr) */
41 #define DS2482_CMD_1WIRE_TRIPLET 0x78 /* Param: Dir byte (bit7) */
177 * @param byte The data to send
181 u8 cmd, u8 byte)
183 if (i2c_smbus_write_byte_data(pdev->client, cmd, byte) < 0)
312 * Performs the write byte function.
315 * @param byte The value to write
317 static void ds2482_w1_write_byte(void *data, u8 byte)
329 /* Send the write byte command */
330 ds2482_send_cmd_data(pdev, DS2482_CMD_1WIRE_WRITE_BYTE, byte);
336 * Performs the read byte function.
354 /* Send the read byte command */
363 /* Read the data byte */
441 /* Read the status byte - only reset bit and line should be set */