Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
A Ddebugfs.c492 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()
557 u64 scratch0; in asic_flags_write() local
577 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in asic_flags_write()
578 scratch0 &= ~clear; in asic_flags_write()
[all …]
A 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()
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()
1545 u64 scratch0, bit; in check_chip_resource() local
1552 scratch0 = read_csr(dd, ASIC_CFG_SCRATCH); in check_chip_resource()
1553 if ((scratch0 & bit) == 0) { in check_chip_resource()
[all …]
/linux/arch/powerpc/include/asm/
A Dkvm_book3s_asm.h88 ulong scratch0;
/linux/drivers/soc/tegra/
A Dpmc.c287 unsigned int scratch0; member
1106 value = tegra_pmc_scratch_readl(pmc, pmc->soc->regs->scratch0); in tegra_pmc_program_reboot_reason()
1120 tegra_pmc_scratch_writel(pmc, value, pmc->soc->regs->scratch0); in tegra_pmc_program_reboot_reason()
3210 .scratch0 = 0x50,
3816 .scratch0 = 0x2000,
4036 .scratch0 = 0x2000,
4155 .scratch0 = 0x2000,
4311 saved = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only()
4318 writel(value, pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only()
4319 value = readl(pmc->base + pmc->soc->regs->scratch0); in tegra_pmc_detect_tz_only()
[all …]
/linux/arch/powerpc/kvm/
A Dbook3s_hv_p9_entry.c736 trap = local_paca->kvm_hstate.scratch0 & ~0x2; in kvmhv_vcpu_entry_p9()
/linux/arch/powerpc/kernel/
A Dasm-offsets.c566 HSTATE_FIELD(HSTATE_SCRATCH0, scratch0); in main()
/linux/drivers/dma/
A Dimx-sdma.c369 u32 scratch0; member

Completed in 30 milliseconds