Searched refs:scratch0 (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | debugfs.c | 486 static void check_dyn_flag(u64 scratch0, char *p, int size, int *used, in check_dyn_flag() argument 492 if (scratch0 & mask) { in check_dyn_flag() 505 u64 scratch0; in asic_flags_read() local 520 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_read() 522 "Resource flags: 0x%016llx\n", scratch0); in asic_flags_read() 525 if (scratch0 & CR_THERM_INIT) { in asic_flags_read() 533 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 535 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 537 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 539 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() [all …]
|
D | firmware.c | 1427 u64 scratch0, all_bits, my_bit; in __acquire_chip_resource() local 1458 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in __acquire_chip_resource() 1459 if (scratch0 & all_bits) { in __acquire_chip_resource() 1462 write_csr(dd, ASIC_CFG_SCRATCH, scratch0 | my_bit); in __acquire_chip_resource() 1503 u64 scratch0, bit; in release_chip_resource() local 1521 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in release_chip_resource() 1522 if ((scratch0 & bit) != 0) { in release_chip_resource() 1523 scratch0 &= ~bit; in release_chip_resource() 1524 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in release_chip_resource() 1545 u64 scratch0, bit; in check_chip_resource() local [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | kvm_book3s_asm.h | 88 ulong scratch0;
|
/Linux-v6.6/drivers/soc/tegra/ |
D | pmc.c | 287 unsigned int scratch0; member 1105 value = tegra_pmc_scratch_readl(pmc, pmc->soc->regs->scratch0); in tegra_pmc_program_reboot_reason() 1119 tegra_pmc_scratch_writel(pmc, value, pmc->soc->regs->scratch0); in tegra_pmc_program_reboot_reason() 3244 .scratch0 = 0x50, 3845 .scratch0 = 0x2000, 4064 .scratch0 = 0x2000, 4181 .scratch0 = 0x2000, 4334 saved = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only() 4341 writel(value, pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only() 4342 value = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only() [all …]
|
/Linux-v6.6/arch/powerpc/kvm/ |
D | book3s_hv_p9_entry.c | 736 trap = local_paca->kvm_hstate.scratch0 & ~0x2; in kvmhv_vcpu_entry_p9()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | asm-offsets.c | 565 HSTATE_FIELD(HSTATE_SCRATCH0, scratch0); in main()
|
/Linux-v6.6/drivers/dma/ |
D | imx-sdma.c | 358 u32 scratch0; member
|