Home
last modified time | relevance | path

Searched refs:scratch0 (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Ddebugfs.c486 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 …]
Dfirmware.c1427 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-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s_asm.h88 ulong scratch0; member
/linux-6.1.9/drivers/soc/tegra/
Dpmc.c277 unsigned int scratch0; member
1087 value = tegra_pmc_scratch_readl(pmc, pmc->soc->regs->scratch0); in tegra_pmc_program_reboot_reason()
1101 tegra_pmc_scratch_writel(pmc, value, pmc->soc->regs->scratch0); in tegra_pmc_program_reboot_reason()
3052 .scratch0 = 0x50,
3564 .scratch0 = 0x2000,
3732 .scratch0 = 0x2000,
3814 .scratch0 = 0x2000,
3965 saved = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only()
3972 writel(value, pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only()
3973 value = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only()
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_p9_entry.c736 trap = local_paca->kvm_hstate.scratch0 & ~0x2; in kvmhv_vcpu_entry_p9()
/linux-6.1.9/arch/powerpc/kernel/
Dasm-offsets.c573 HSTATE_FIELD(HSTATE_SCRATCH0, scratch0); in main()
/linux-6.1.9/drivers/dma/
Dimx-sdma.c359 u32 scratch0; member