Lines Matching defs:offset
182 const int32_t offset = 0x0c0;
186 return IOCFG_1_BASE + offset;
188 return IOCFG_2_BASE + offset;
190 return IOCFG_5_BASE + offset;
192 return IOCFG_7_BASE + offset;
224 assert(!((PULL_offset[pin].offset == (int8_t)-1) &&
228 if (PULL_offset[pin].offset == (int8_t)-1)
232 1U << PULL_offset[pin].offset);
234 if (PULL_offset[pin].offset == (int8_t)-1) {
246 1U << PULL_offset[pin].offset);
273 assert(!((PULL_offset[pin].offset == (int8_t)-1) &&
276 if (PULL_offset[pin].offset == (int8_t)-1) {
281 return ((reg & (1U << PULL_offset[pin].offset)) ? 1 : 0);
295 assert(!((PULL_offset[pin].offset == (int8_t) -1) &&
301 if (PULL_offset[pin].offset == (int8_t)-1)
305 1U << PULL_offset[pin].offset);
308 if (PULL_offset[pin].offset == (int8_t)-1)
312 1U << PULL_offset[pin].offset);
315 if (PULL_offset[pin].offset == -1)
319 1U << PULL_offset[pin].offset);
335 assert(!((PULL_offset[pin].offset == (int8_t)-1) &&
338 if (PULL_offset[pin].offset == (int8_t)-1) {
351 if ((reg & (1U << PULL_offset[pin].offset))) {
353 return ((reg & (1U << PULL_offset[pin].offset)) ?