Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dfirmware.c1459 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource()
1463 write_csr(dd, ASIC_CFG_SCRATCH, scratch0 | my_bit); in __acquire_chip_resource()
1465 (void)read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource()
1522 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource()
1525 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in release_chip_resource()
1527 (void)read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource()
1553 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in check_chip_resource()
1577 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources()
1579 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in clear_chip_resources()
1581 (void)read_csr(dd, ASIC_CFG_SCRATCH); in clear_chip_resources()
Dchip_registers.h382 #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)
Dplatform.c19 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()
Ddebugfs.c521 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_read()
578 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write()
580 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in asic_flags_write()
582 (void)read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write()