scratch_reg 350 arch/mips/mm/tlbex.c static int scratch_reg; scratch_reg 359 arch/mips/mm/tlbex.c if (scratch_reg >= 0) { scratch_reg 361 arch/mips/mm/tlbex.c UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg); scratch_reg 393 arch/mips/mm/tlbex.c if (scratch_reg >= 0) { scratch_reg 395 arch/mips/mm/tlbex.c UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); scratch_reg 660 arch/mips/mm/tlbex.c if (scratch_reg >= 0) scratch_reg 677 arch/mips/mm/tlbex.c if (scratch_reg >= 0) scratch_reg 678 arch/mips/mm/tlbex.c UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); scratch_reg 930 arch/mips/mm/tlbex.c if (mode == refill_scratch && scratch_reg >= 0) scratch_reg 951 arch/mips/mm/tlbex.c if (scratch_reg >= 0) scratch_reg 952 arch/mips/mm/tlbex.c UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); scratch_reg 1315 arch/mips/mm/tlbex.c if (IS_ENABLED(CONFIG_64BIT) && (scratch_reg >= 0 || scratchpad_available()) && use_bbit_insns()) { scratch_reg 1317 arch/mips/mm/tlbex.c scratch_reg); scratch_reg 2641 arch/mips/mm/tlbex.c scratch_reg = allocate_kscratch(); scratch_reg 199 arch/x86/entry/calling.h .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req scratch_reg 210 arch/x86/entry/calling.h .macro SWITCH_TO_USER_CR3_NOSTACK scratch_reg:req scratch_reg2:req scratch_reg 244 arch/x86/entry/calling.h .macro SWITCH_TO_USER_CR3_STACK scratch_reg:req scratch_reg 246 arch/x86/entry/calling.h SWITCH_TO_USER_CR3_NOSTACK scratch_reg=\scratch_reg scratch_reg2=%rax scratch_reg 250 arch/x86/entry/calling.h .macro SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg:req save_reg:req scratch_reg 268 arch/x86/entry/calling.h .macro RESTORE_CR3 scratch_reg:req save_reg:req scratch_reg 306 arch/x86/entry/calling.h .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req scratch_reg 308 arch/x86/entry/calling.h .macro SWITCH_TO_USER_CR3_NOSTACK scratch_reg:req scratch_reg2:req scratch_reg 310 arch/x86/entry/calling.h .macro SWITCH_TO_USER_CR3_STACK scratch_reg:req scratch_reg 312 arch/x86/entry/calling.h .macro SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg:req save_reg:req scratch_reg 314 arch/x86/entry/calling.h .macro RESTORE_CR3 scratch_reg:req save_reg:req scratch_reg 473 arch/x86/kernel/uprobes.c unsigned long *sr = scratch_reg(auprobe, regs); scratch_reg 484 arch/x86/kernel/uprobes.c unsigned long *sr = scratch_reg(auprobe, regs); scratch_reg 874 drivers/gpu/drm/radeon/r100.c radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); scratch_reg 242 drivers/gpu/drm/radeon/r300.c radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); scratch_reg 2906 drivers/gpu/drm/radeon/r600.c radeon_ring_write(ring, ((rdev->fence_drv[fence->ring].scratch_reg - PACKET3_SET_CONFIG_REG_OFFSET) >> 2)); scratch_reg 361 drivers/gpu/drm/radeon/radeon.h uint32_t scratch_reg; scratch_reg 4111 drivers/gpu/drm/radeon/radeon_atombios.c uint32_t scratch_reg; scratch_reg 4115 drivers/gpu/drm/radeon/radeon_atombios.c scratch_reg = R600_BIOS_0_SCRATCH; scratch_reg 4117 drivers/gpu/drm/radeon/radeon_atombios.c scratch_reg = RADEON_BIOS_0_SCRATCH; scratch_reg 4120 drivers/gpu/drm/radeon/radeon_atombios.c rdev->bios_scratch[i] = RREG32(scratch_reg + (i * 4)); scratch_reg 4125 drivers/gpu/drm/radeon/radeon_atombios.c uint32_t scratch_reg; scratch_reg 4129 drivers/gpu/drm/radeon/radeon_atombios.c scratch_reg = R600_BIOS_0_SCRATCH; scratch_reg 4131 drivers/gpu/drm/radeon/radeon_atombios.c scratch_reg = RADEON_BIOS_0_SCRATCH; scratch_reg 4134 drivers/gpu/drm/radeon/radeon_atombios.c WREG32(scratch_reg + (i * 4), rdev->bios_scratch[i]); scratch_reg 71 drivers/gpu/drm/radeon/radeon_fence.c if (likely(rdev->wb.enabled || !drv->scratch_reg)) { scratch_reg 76 drivers/gpu/drm/radeon/radeon_fence.c WREG32(drv->scratch_reg, seq); scratch_reg 94 drivers/gpu/drm/radeon/radeon_fence.c if (likely(rdev->wb.enabled || !drv->scratch_reg)) { scratch_reg 101 drivers/gpu/drm/radeon/radeon_fence.c seq = RREG32(drv->scratch_reg); scratch_reg 838 drivers/gpu/drm/radeon/radeon_fence.c radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); scratch_reg 840 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].scratch_reg = 0; scratch_reg 855 drivers/gpu/drm/radeon/radeon_fence.c r = radeon_scratch_get(rdev, &rdev->fence_drv[ring].scratch_reg); scratch_reg 861 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].scratch_reg - scratch_reg 887 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].scratch_reg = -1; scratch_reg 948 drivers/gpu/drm/radeon/radeon_fence.c radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); scratch_reg 115 drivers/net/wireless/marvell/libertas/if_sdio.c unsigned int scratch_reg; scratch_reg 148 drivers/net/wireless/marvell/libertas/if_sdio.c scratch = sdio_readb(card->func, card->scratch_reg, &ret); scratch_reg 150 drivers/net/wireless/marvell/libertas/if_sdio.c scratch |= sdio_readb(card->func, card->scratch_reg + 1, scratch_reg 1169 drivers/net/wireless/marvell/libertas/if_sdio.c card->scratch_reg = IF_SDIO_SCRATCH_OLD; scratch_reg 1172 drivers/net/wireless/marvell/libertas/if_sdio.c card->scratch_reg = IF_SDIO_SCRATCH; scratch_reg 1176 drivers/net/wireless/marvell/libertas/if_sdio.c card->scratch_reg = IF_SDIO_FW_STATUS;