Lines Matching refs:bitPos
80 UINT32 bitPos; in CommandAuditSet() local
87 bitPos = commandCode - TPM_CC_FIRST; in CommandAuditSet()
88 if(!BitIsSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands))) in CommandAuditSet()
91 BitSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands)); in CommandAuditSet()
121 UINT32 bitPos; in CommandAuditClear() local
129 bitPos = commandCode - TPM_CC_FIRST; in CommandAuditClear()
130 if(BitIsSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands))) in CommandAuditClear()
133 BitClear(bitPos, &gp.auditComands[0], sizeof(gp.auditComands)); in CommandAuditClear()
157 UINT32 bitPos; in CommandAuditIsRequired() local
158 bitPos = commandCode - TPM_CC_FIRST; in CommandAuditIsRequired()
160 if((gp.auditComands[bitPos/8] & (1 << (bitPos % 8))) != 0) in CommandAuditIsRequired()