Home
last modified time | relevance | path

Searched refs:zero_mask (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/ntfs3/
Dbitfunc.c25 static const u8 zero_mask[] = { 0xFF, 0xFE, 0xFC, 0xF8, 0xF0, variable
41 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()
/linux-6.1.9/drivers/char/tpm/
Dtpm_tis_i2c.c135 u32 zero_mask; in tpm_tis_i2c_sanity_check_read() local
155 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()
/linux-6.1.9/drivers/rtc/
Drtc-isl1208.c151 u8 zero_mask[ISL1208_RTC_SECTION_LEN] = { in isl1208_i2c_validate_client() local
162 if (regs[i] & zero_mask[i]) /* check if bits are cleared */ in isl1208_i2c_validate_client()