ltc2991.c (a1ff5a7d78a036d6c2178ee5acd6ba4946243800) | ltc2991.c (6a422a96bc84cf9b9f0ff741f293a1f9059e0883) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2023 Analog Devices, Inc. 4 * Author: Antoniu Miclaus <antoniu.miclaus@analog.com> 5 */ 6 7#include <linux/bitops.h> 8#include <linux/err.h> --- 28 unchanged lines hidden (view full) --- 37#define LTC2991_V3_V4_DIFF_EN BIT(4) 38#define LTC2991_V1_V2_FILT_EN BIT(3) 39#define LTC2991_V1_V2_TEMP_EN BIT(1) 40#define LTC2991_V1_V2_DIFF_EN BIT(0) 41 42#define LTC2991_V7_V8_FILT_EN BIT(7) 43#define LTC2991_V7_V8_TEMP_EN BIT(5) 44#define LTC2991_V7_V8_DIFF_EN BIT(4) | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2023 Analog Devices, Inc. 4 * Author: Antoniu Miclaus <antoniu.miclaus@analog.com> 5 */ 6 7#include <linux/bitops.h> 8#include <linux/err.h> --- 28 unchanged lines hidden (view full) --- 37#define LTC2991_V3_V4_DIFF_EN BIT(4) 38#define LTC2991_V1_V2_FILT_EN BIT(3) 39#define LTC2991_V1_V2_TEMP_EN BIT(1) 40#define LTC2991_V1_V2_DIFF_EN BIT(0) 41 42#define LTC2991_V7_V8_FILT_EN BIT(7) 43#define LTC2991_V7_V8_TEMP_EN BIT(5) 44#define LTC2991_V7_V8_DIFF_EN BIT(4) |
45#define LTC2991_V5_V6_FILT_EN BIT(7) 46#define LTC2991_V5_V6_TEMP_EN BIT(5) 47#define LTC2991_V5_V6_DIFF_EN BIT(4) | 45#define LTC2991_V5_V6_FILT_EN BIT(3) 46#define LTC2991_V5_V6_TEMP_EN BIT(1) 47#define LTC2991_V5_V6_DIFF_EN BIT(0) |
48 49#define LTC2991_REPEAT_ACQ_EN BIT(4) 50#define LTC2991_T_INT_FILT_EN BIT(3) 51 52#define LTC2991_MAX_CHANNEL 4 53#define LTC2991_T_INT_CH_NR 4 54#define LTC2991_VCC_CH_NR 0 55 --- 375 unchanged lines hidden --- | 48 49#define LTC2991_REPEAT_ACQ_EN BIT(4) 50#define LTC2991_T_INT_FILT_EN BIT(3) 51 52#define LTC2991_MAX_CHANNEL 4 53#define LTC2991_T_INT_CH_NR 4 54#define LTC2991_VCC_CH_NR 0 55 --- 375 unchanged lines hidden --- |