Lines Matching +full:1 +full:x64 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * 1-Wire implementation for the ds2780 chip
7 * Author: Clifton Barnes <cabarnes@indesign-llc.com>
9 * Based on w1-ds2760 driver
51 /* Register 0x1C - 0x1E Reserved */
54 /* Register 0x20 - 0x2F User EEPROM */
56 /* Register 0x30 - 0x5F Reserved */
62 #define DS2780_VCHG_REG 0x64
88 /* Register 0x7D - 0xFF Reserved */
94 #define DS2780_STATUS_REG_CHGTF (1 << 7)
95 #define DS2780_STATUS_REG_AEF (1 << 6)
96 #define DS2780_STATUS_REG_SEF (1 << 5)
97 #define DS2780_STATUS_REG_LEARNF (1 << 4)
98 /* Bit 3 Reserved */
99 #define DS2780_STATUS_REG_UVF (1 << 2)
100 #define DS2780_STATUS_REG_PORF (1 << 1)
101 /* Bit 0 Reserved */
104 /* Bit 7 Reserved */
105 #define DS2780_CONTROL_REG_UVEN (1 << 6)
106 #define DS2780_CONTROL_REG_PMOD (1 << 5)
107 #define DS2780_CONTROL_REG_RNAOP (1 << 4)
108 /* Bit 0 - 3 Reserved */
111 /* Bit 1 - 7 Reserved */
112 #define DS2780_SFR_REG_PIOSC (1 << 0)
115 #define DS2780_EEPROM_REG_EEC (1 << 7)
116 #define DS2780_EEPROM_REG_LOCK (1 << 6)
117 /* Bit 2 - 6 Reserved */
118 #define DS2780_EEPROM_REG_BL1 (1 << 1)
119 #define DS2780_EEPROM_REG_BL0 (1 << 0)