Lines Matching defs:byte
50 #define DS2482_CMD_CHANNEL_SELECT 0xC3 /* Param: Channel byte - DS2482-800 only */
51 #define DS2482_CMD_WRITE_CONFIG 0xD2 /* Param: Config byte */
53 #define DS2482_CMD_1WIRE_SINGLE_BIT 0x87 /* Param: Bit byte (bit7) */
54 #define DS2482_CMD_1WIRE_WRITE_BYTE 0xA5 /* Param: Data byte */
56 /* Note to read the byte, Set the ReadPtr to Data then read (any addr) */
57 #define DS2482_CMD_1WIRE_TRIPLET 0x78 /* Param: Dir byte (bit7) */
185 * @param byte The data to send
189 u8 cmd, u8 byte)
191 if (i2c_smbus_write_byte_data(pdev->client, cmd, byte) < 0)
320 * Performs the write byte function.
323 * @param byte The value to write
325 static void ds2482_w1_write_byte(void *data, u8 byte)
337 /* Send the write byte command */
338 ds2482_send_cmd_data(pdev, DS2482_CMD_1WIRE_WRITE_BYTE, byte);
344 * Performs the read byte function.
362 /* Send the read byte command */
371 /* Read the data byte */
475 /* Read the status byte - only reset bit and line should be set */