Searched refs:scratch_reg (Results 1 – 13 of 13) sorted by relevance
| /linux/arch/x86/entry/ |
| A D | calling.h | 174 mov %cr3, \scratch_reg 176 mov \scratch_reg, %cr3 185 mov %cr3, \scratch_reg 204 SET_NOFLUSH_BIT \scratch_reg 213 mov \scratch_reg, %cr3 219 SWITCH_TO_USER_CR3_NOSTACK scratch_reg=\scratch_reg scratch_reg2=%rax 225 movq %cr3, \scratch_reg 226 movq \scratch_reg, \save_reg 236 movq \scratch_reg, %cr3 258 andq $(0x7FF), \scratch_reg [all …]
|
| A D | entry_32.S | 57 .macro SWITCH_TO_USER_CR3 scratch_reg:req 60 movl %cr3, \scratch_reg 61 orl $PTI_SWITCH_MASK, \scratch_reg 62 movl \scratch_reg, %cr3 90 movl %cr3, \scratch_reg 92 testl $PTI_SWITCH_MASK, \scratch_reg 94 andl $(~PTI_SWITCH_MASK), \scratch_reg 95 movl \scratch_reg, %cr3 97 orl $PTI_SWITCH_MASK, \scratch_reg 613 SWITCH_TO_USER_CR3 scratch_reg=%eax [all …]
|
| A D | entry_64.S | 93 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp 212 SWITCH_TO_USER_CR3_STACK scratch_reg=%rdi 607 SWITCH_TO_USER_CR3_STACK scratch_reg=%rdi 676 SWITCH_TO_KERNEL_CR3 scratch_reg=%rdi /* to kernel CR3 */ 704 SWITCH_TO_USER_CR3_STACK scratch_reg=%rdi 891 SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx 945 RESTORE_CR3 scratch_reg=%rax save_reg=%r14 982 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax 1037 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax 1128 SWITCH_TO_KERNEL_CR3 scratch_reg=%rdx [all …]
|
| A D | entry_64_compat.S | 55 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax 208 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp 306 SWITCH_TO_USER_CR3_NOSTACK scratch_reg=%r8 scratch_reg2=%r9 363 SWITCH_TO_KERNEL_CR3 scratch_reg=%rdi
|
| /linux/drivers/gpu/drm/radeon/ |
| A D | radeon_fence.c | 70 if (likely(rdev->wb.enabled || !drv->scratch_reg)) { in radeon_fence_write() 75 WREG32(drv->scratch_reg, seq); in radeon_fence_write() 93 if (likely(rdev->wb.enabled || !drv->scratch_reg)) { in radeon_fence_read() 100 seq = RREG32(drv->scratch_reg); in radeon_fence_read() 821 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_start_ring() 823 rdev->fence_drv[ring].scratch_reg = 0; in radeon_fence_driver_start_ring() 838 r = radeon_scratch_get(rdev, &rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_start_ring() 844 rdev->fence_drv[ring].scratch_reg - in radeon_fence_driver_start_ring() 870 rdev->fence_drv[ring].scratch_reg = -1; in radeon_fence_driver_init_ring() 928 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_fini()
|
| A D | radeon_atombios.c | 4105 uint32_t scratch_reg; in radeon_save_bios_scratch_regs() local 4109 scratch_reg = R600_BIOS_0_SCRATCH; in radeon_save_bios_scratch_regs() 4111 scratch_reg = RADEON_BIOS_0_SCRATCH; in radeon_save_bios_scratch_regs() 4114 rdev->bios_scratch[i] = RREG32(scratch_reg + (i * 4)); in radeon_save_bios_scratch_regs() 4119 uint32_t scratch_reg; in radeon_restore_bios_scratch_regs() local 4123 scratch_reg = R600_BIOS_0_SCRATCH; in radeon_restore_bios_scratch_regs() 4125 scratch_reg = RADEON_BIOS_0_SCRATCH; in radeon_restore_bios_scratch_regs() 4128 WREG32(scratch_reg + (i * 4), rdev->bios_scratch[i]); in radeon_restore_bios_scratch_regs()
|
| A D | r300.c | 240 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); in r300_fence_ring_emit()
|
| A D | radeon.h | 365 uint32_t scratch_reg; member
|
| A D | r100.c | 883 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); in r100_fence_ring_emit()
|
| A D | r600.c | 2907 …radeon_ring_write(ring, ((rdev->fence_drv[fence->ring].scratch_reg - PACKET3_SET_CONFIG_REG_OFFSET… in r600_fence_ring_emit()
|
| /linux/arch/mips/mm/ |
| A D | tlbex.c | 348 static int scratch_reg; variable 357 if (scratch_reg >= 0) { in build_get_work_registers() 359 UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg); in build_get_work_registers() 391 if (scratch_reg >= 0) { in build_restore_work_registers() 393 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_work_registers() 658 if (scratch_reg >= 0) in build_restore_pagemask() 675 if (scratch_reg >= 0) in build_restore_pagemask() 676 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_pagemask() 949 if (scratch_reg >= 0) in build_get_pgd_vmalloc64() 1316 scratch_reg); in build_r4000_tlb_refill_handler() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| A D | if_sdio.c | 115 unsigned int scratch_reg; member 148 scratch = sdio_readb(card->func, card->scratch_reg, &ret); in if_sdio_read_scratch() 150 scratch |= sdio_readb(card->func, card->scratch_reg + 1, in if_sdio_read_scratch() 1169 card->scratch_reg = IF_SDIO_SCRATCH_OLD; in if_sdio_probe() 1172 card->scratch_reg = IF_SDIO_SCRATCH; in if_sdio_probe() 1176 card->scratch_reg = IF_SDIO_FW_STATUS; in if_sdio_probe()
|
| /linux/arch/x86/kernel/ |
| A D | uprobes.c | 457 scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs) in scratch_reg() function 474 unsigned long *sr = scratch_reg(auprobe, regs); in riprel_pre_xol() 485 unsigned long *sr = scratch_reg(auprobe, regs); in riprel_post_xol()
|
Completed in 55 milliseconds