Searched refs:zero_mask (Results 1 – 3 of 3) sorted by relevance
25 static const u8 zero_mask[] = { 0xFF, 0xFE, 0xFC, 0xF8, 0xF0, variable41 zero_mask[pos]); in are_bits_clear()43 if (*map++ & zero_mask[pos]) in are_bits_clear()89 mask = fill_mask[pos + nbits] & zero_mask[pos]; in are_bits_set()93 mask = zero_mask[pos]; in are_bits_set()
135 u32 zero_mask; in tpm_tis_i2c_sanity_check_read() local155 zero_mask = TPM_ACCESS_READ_ZERO; in tpm_tis_i2c_sanity_check_read()158 zero_mask = TPM_INT_ENABLE_ZERO; in tpm_tis_i2c_sanity_check_read()161 zero_mask = TPM_STS_READ_ZERO; in tpm_tis_i2c_sanity_check_read()164 zero_mask = TPM_INTF_CAPABILITY_ZERO; in tpm_tis_i2c_sanity_check_read()167 zero_mask = TPM_I2C_INTERFACE_CAPABILITY_ZERO; in tpm_tis_i2c_sanity_check_read()174 if (unlikely((value & zero_mask) != 0x00)) { in tpm_tis_i2c_sanity_check_read()
151 u8 zero_mask[ISL1208_RTC_SECTION_LEN] = { in isl1208_i2c_validate_client() local162 if (regs[i] & zero_mask[i]) /* check if bits are cleared */ in isl1208_i2c_validate_client()