Lines Matching refs:_offset

88 #define REG_FIELD_FOR_EACH_SENSOR11(_name, _offset, _startbit, _stopbit) \  argument
89 [_name##_##0] = REG_FIELD(_offset, _startbit, _stopbit), \
90 [_name##_##1] = REG_FIELD(_offset + 4, _startbit, _stopbit), \
91 [_name##_##2] = REG_FIELD(_offset + 8, _startbit, _stopbit), \
92 [_name##_##3] = REG_FIELD(_offset + 12, _startbit, _stopbit), \
93 [_name##_##4] = REG_FIELD(_offset + 16, _startbit, _stopbit), \
94 [_name##_##5] = REG_FIELD(_offset + 20, _startbit, _stopbit), \
95 [_name##_##6] = REG_FIELD(_offset + 24, _startbit, _stopbit), \
96 [_name##_##7] = REG_FIELD(_offset + 28, _startbit, _stopbit), \
97 [_name##_##8] = REG_FIELD(_offset + 32, _startbit, _stopbit), \
98 [_name##_##9] = REG_FIELD(_offset + 36, _startbit, _stopbit), \
99 [_name##_##10] = REG_FIELD(_offset + 40, _startbit, _stopbit)
101 #define REG_FIELD_FOR_EACH_SENSOR16(_name, _offset, _startbit, _stopbit) \ argument
102 [_name##_##0] = REG_FIELD(_offset, _startbit, _stopbit), \
103 [_name##_##1] = REG_FIELD(_offset + 4, _startbit, _stopbit), \
104 [_name##_##2] = REG_FIELD(_offset + 8, _startbit, _stopbit), \
105 [_name##_##3] = REG_FIELD(_offset + 12, _startbit, _stopbit), \
106 [_name##_##4] = REG_FIELD(_offset + 16, _startbit, _stopbit), \
107 [_name##_##5] = REG_FIELD(_offset + 20, _startbit, _stopbit), \
108 [_name##_##6] = REG_FIELD(_offset + 24, _startbit, _stopbit), \
109 [_name##_##7] = REG_FIELD(_offset + 28, _startbit, _stopbit), \
110 [_name##_##8] = REG_FIELD(_offset + 32, _startbit, _stopbit), \
111 [_name##_##9] = REG_FIELD(_offset + 36, _startbit, _stopbit), \
112 [_name##_##10] = REG_FIELD(_offset + 40, _startbit, _stopbit), \
113 [_name##_##11] = REG_FIELD(_offset + 44, _startbit, _stopbit), \
114 [_name##_##12] = REG_FIELD(_offset + 48, _startbit, _stopbit), \
115 [_name##_##13] = REG_FIELD(_offset + 52, _startbit, _stopbit), \
116 [_name##_##14] = REG_FIELD(_offset + 56, _startbit, _stopbit), \
117 [_name##_##15] = REG_FIELD(_offset + 60, _startbit, _stopbit)
119 #define REG_FIELD_SPLIT_BITS_0_15(_name, _offset) \ argument
120 [_name##_##0] = REG_FIELD(_offset, 0, 0), \
121 [_name##_##1] = REG_FIELD(_offset, 1, 1), \
122 [_name##_##2] = REG_FIELD(_offset, 2, 2), \
123 [_name##_##3] = REG_FIELD(_offset, 3, 3), \
124 [_name##_##4] = REG_FIELD(_offset, 4, 4), \
125 [_name##_##5] = REG_FIELD(_offset, 5, 5), \
126 [_name##_##6] = REG_FIELD(_offset, 6, 6), \
127 [_name##_##7] = REG_FIELD(_offset, 7, 7), \
128 [_name##_##8] = REG_FIELD(_offset, 8, 8), \
129 [_name##_##9] = REG_FIELD(_offset, 9, 9), \
130 [_name##_##10] = REG_FIELD(_offset, 10, 10), \
131 [_name##_##11] = REG_FIELD(_offset, 11, 11), \
132 [_name##_##12] = REG_FIELD(_offset, 12, 12), \
133 [_name##_##13] = REG_FIELD(_offset, 13, 13), \
134 [_name##_##14] = REG_FIELD(_offset, 14, 14), \
135 [_name##_##15] = REG_FIELD(_offset, 15, 15)
137 #define REG_FIELD_SPLIT_BITS_16_31(_name, _offset) \ argument
138 [_name##_##0] = REG_FIELD(_offset, 16, 16), \
139 [_name##_##1] = REG_FIELD(_offset, 17, 17), \
140 [_name##_##2] = REG_FIELD(_offset, 18, 18), \
141 [_name##_##3] = REG_FIELD(_offset, 19, 19), \
142 [_name##_##4] = REG_FIELD(_offset, 20, 20), \
143 [_name##_##5] = REG_FIELD(_offset, 21, 21), \
144 [_name##_##6] = REG_FIELD(_offset, 22, 22), \
145 [_name##_##7] = REG_FIELD(_offset, 23, 23), \
146 [_name##_##8] = REG_FIELD(_offset, 24, 24), \
147 [_name##_##9] = REG_FIELD(_offset, 25, 25), \
148 [_name##_##10] = REG_FIELD(_offset, 26, 26), \
149 [_name##_##11] = REG_FIELD(_offset, 27, 27), \
150 [_name##_##12] = REG_FIELD(_offset, 28, 28), \
151 [_name##_##13] = REG_FIELD(_offset, 29, 29), \
152 [_name##_##14] = REG_FIELD(_offset, 30, 30), \
153 [_name##_##15] = REG_FIELD(_offset, 31, 31)