Searched refs:bitPosition (Results 1 – 1 of 1) sorted by relevance
503 #define SetBitInWord(theWord,bitPosition) (*theWord) |= (0x0001 << bitPosition) argument504 #define SetBitInDWord(theWord,bitPosition) (*theWord) |= (0x00000001 << bitPosition) argument505 #define ClearBitInWord(theWord,bitPosition) (*theWord) &= ~(0x0001 << bitPosition) argument506 #define ClearBitInDWord(theWord,bitPosition) (*theWord) &= ~(0x00000001 << bitPosition) argument879 int bitPosition; in snd_korg1212_WriteADCSensitivity() local957 for (bitPosition = 15; bitPosition >= 0; bitPosition--) { // for all the bits in snd_korg1212_WriteADCSensitivity()959 if (sensVals.l.leftSensBits & (0x0001 << bitPosition)) in snd_korg1212_WriteADCSensitivity()964 if (sensVals.r.rightSensBits & (0x0001 << bitPosition)) in snd_korg1212_WriteADCSensitivity()