Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dplatform.c58 u64 checksum = 0, temp_scratch = 0; in validate_scratch_checksum() local
61 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum()
62 version = (temp_scratch & BITMAP_VERSION_SMASK) >> BITMAP_VERSION_SHIFT; in validate_scratch_checksum()
80 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH + (8 * i)); in validate_scratch_checksum()
82 checksum += (temp_scratch & 0xFFFF); in validate_scratch_checksum()
83 temp_scratch >>= 16; in validate_scratch_checksum()
90 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum()
91 temp_scratch &= CHECKSUM_SMASK; in validate_scratch_checksum()
92 temp_scratch >>= CHECKSUM_SHIFT; in validate_scratch_checksum()
94 if (checksum + temp_scratch == 0xFFFF) in validate_scratch_checksum()
[all …]