Searched refs:ASIC_CFG_SCRATCH (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1458 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1462 write_csr(dd, ASIC_CFG_SCRATCH, scratch0 | my_bit); in __acquire_chip_resource() 1464 (void)read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1521 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1524 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in release_chip_resource() 1526 (void)read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1552 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in check_chip_resource() 1576 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources() 1578 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in clear_chip_resources() 1580 (void)read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources()
|
D | chip_registers.h | 382 #define ASIC_CFG_SCRATCH (ASIC + 0x000000000020) macro 383 #define ASIC_CFG_SCRATCH_1 (ASIC_CFG_SCRATCH + 0x08) 384 #define ASIC_CFG_SCRATCH_2 (ASIC_CFG_SCRATCH + 0x10) 385 #define ASIC_CFG_SCRATCH_3 (ASIC_CFG_SCRATCH + 0x18)
|
D | platform.c | 19 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum() 38 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH + (8 * i)); in validate_scratch_checksum() 48 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum()
|
D | debugfs.c | 520 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_read() 577 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write() 579 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in asic_flags_write() 581 (void)read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write()
|