Searched refs:ASIC_CFG_SCRATCH (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1501 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1505 write_csr(dd, ASIC_CFG_SCRATCH, scratch0 | my_bit); in __acquire_chip_resource() 1507 (void)read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1564 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1567 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in release_chip_resource() 1569 (void)read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1595 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in check_chip_resource() 1619 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources() 1621 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in clear_chip_resources() 1623 (void)read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources()
|
D | chip_registers.h | 424 #define ASIC_CFG_SCRATCH (ASIC + 0x000000000020) macro 425 #define ASIC_CFG_SCRATCH_1 (ASIC_CFG_SCRATCH + 0x08) 426 #define ASIC_CFG_SCRATCH_2 (ASIC_CFG_SCRATCH + 0x10) 427 #define ASIC_CFG_SCRATCH_3 (ASIC_CFG_SCRATCH + 0x18)
|
D | platform.c | 61 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum() 80 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH + (8 * i)); in validate_scratch_checksum() 90 temp_scratch = read_csr(dd, ASIC_CFG_SCRATCH); in validate_scratch_checksum()
|
D | debugfs.c | 562 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_read() 619 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write() 621 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in asic_flags_write() 623 (void)read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write()
|