Searched refs:scratch0 (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | debugfs.c | 528 static void check_dyn_flag(u64 scratch0, char *p, int size, int *used, in check_dyn_flag() argument 534 if (scratch0 & mask) { in check_dyn_flag() 547 u64 scratch0; in asic_flags_read() local 562 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_read() 564 "Resource flags: 0x%016llx\n", scratch0); in asic_flags_read() 567 if (scratch0 & CR_THERM_INIT) { in asic_flags_read() 575 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 577 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 579 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 581 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() [all …]
|
D | firmware.c | 1470 u64 scratch0, all_bits, my_bit; in __acquire_chip_resource() local 1501 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1502 if (scratch0 & all_bits) { in __acquire_chip_resource() 1505 write_csr(dd, ASIC_CFG_SCRATCH, scratch0 | my_bit); in __acquire_chip_resource() 1546 u64 scratch0, bit; in release_chip_resource() local 1564 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1565 if ((scratch0 & bit) != 0) { in release_chip_resource() 1566 scratch0 &= ~bit; in release_chip_resource() 1567 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in release_chip_resource() 1588 u64 scratch0, bit; in check_chip_resource() local [all …]
|
/drivers/soc/tegra/ |
D | pmc.c | 251 unsigned int scratch0; member 969 value = tegra_pmc_scratch_readl(pmc, pmc->soc->regs->scratch0); in tegra_pmc_restart_notify() 983 tegra_pmc_scratch_writel(pmc, value, pmc->soc->regs->scratch0); in tegra_pmc_restart_notify() 2672 .scratch0 = 0x50, 3174 .scratch0 = 0x2000, 3340 .scratch0 = 0x2000, 3413 .scratch0 = 0x2000, 3509 saved = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only() 3516 writel(value, pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only() 3517 value = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only() [all …]
|
/drivers/dma/ |
D | imx-sdma.c | 291 u32 scratch0; member
|