Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dplatform.c16 u64 checksum = 0, temp_scratch = 0; in validate_scratch_checksum() local
19 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum()
20 version = (temp_scratch & BITMAP_VERSION_SMASK) >> BITMAP_VERSION_SHIFT; in validate_scratch_checksum()
38 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH + (8 * i)); in validate_scratch_checksum()
40 checksum += (temp_scratch & 0xFFFF); in validate_scratch_checksum()
41 temp_scratch >>= 16; in validate_scratch_checksum()
48 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum()
49 temp_scratch &= CHECKSUM_SMASK; in validate_scratch_checksum()
50 temp_scratch >>= CHECKSUM_SHIFT; in validate_scratch_checksum()
52 if (checksum + temp_scratch == 0xFFFF) in validate_scratch_checksum()
[all …]