Home | History | Annotate | Download | only in cortexm4

Lines Matching defs:idx

46     uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp;
47 uint32_t *wordPtr = set->words + idx;
66 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp;
67 uint32_t *wordPtr = set->words + idx;
86 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(set->numBits);
90 for (idx = 0; idx < numWords; idx++, wordPtr++) {
111 return (idx * 32) + bit;
119 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(atomicallyAccessedSet->numBits);
124 for (idx = 0; idx < numWords; idx++)
125 otherSet->words[idx] = atomicXchg32bits(&atomicallyAccessedSet->words[idx], otherSet->words[idx]);
132 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(set->numBits);
137 for (idx = 0; idx < numWords; idx++)
138 dest[idx] = atomicRead32bits(&set->words[idx]);