Searched refs:scratch_reg (Results 1 - 14 of 14) sorted by relevance

/linux-master/arch/x86/entry/
H A Dcalling.h172 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req
174 mov %cr3, \scratch_reg
175 ADJUST_KERNEL_CR3 \scratch_reg
176 mov \scratch_reg, %cr3 variable
183 .macro SWITCH_TO_USER_CR3 scratch_reg:req scratch_reg2:req
184 mov %cr3, \scratch_reg
191 movq \scratch_reg, \scratch_reg2 variable
192 andq $(0x7FF), \scratch_reg /* mask ASID */
193 bt \scratch_reg, THIS_CPU_user_pcid_flush_mask variable
197 btr \scratch_reg, THIS_CPU_user_pcid_flush_mas
212 mov \\scratch_reg, %cr3 variable
224 SWITCH_TO_USER_CR3 scratch_reg=\\scratch_reg scratch_reg2=%rax variable
232 movq \\scratch_reg, \\save_reg variable
267 btr \\scratch_reg, THIS_CPU_user_pcid_flush_mask variable
[all...]
H A Dentry_64_compat.S58 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
188 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
269 SWITCH_TO_USER_CR3_NOSTACK scratch_reg=%r8 scratch_reg2=%r9
H A Dentry_32.S57 .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
86 * \scratch_reg
88 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req
90 movl %cr3, \scratch_reg
92 testl $PTI_SWITCH_MASK, \scratch_reg
94 andl $(~PTI_SWITCH_MASK), \scratch_reg
95 movl \scratch_reg,
[all...]
H A Dentry_64.S94 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
158 SWITCH_TO_USER_CR3_STACK scratch_reg=%rdi
611 SWITCH_TO_USER_CR3 scratch_reg=%rdi scratch_reg2=%rax
686 SWITCH_TO_KERNEL_CR3 scratch_reg=%rdi /* to kernel CR3 */
714 SWITCH_TO_USER_CR3_STACK scratch_reg=%rdi
888 SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg=%rax save_reg=%r14
909 SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx
981 PARANOID_RESTORE_CR3 scratch_reg=%rax save_reg=%r14
1020 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1074 SWITCH_TO_KERNEL_CR3 scratch_reg
[all...]
/linux-master/scripts/gdb/linux/
H A Dcpus.py184 scratch_reg = gdb.parse_and_eval("$sscratch")
193 if (scratch_reg.cast(utils.get_ulong_type()) > current_tp.cast(utils.get_ulong_type())):
194 current_task = scratch_reg.cast(task_ptr_type)
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_fence.c70 if (likely(rdev->wb.enabled || !drv->scratch_reg)) {
74 WREG32(drv->scratch_reg, seq);
92 if (likely(rdev->wb.enabled || !drv->scratch_reg)) {
98 seq = RREG32(drv->scratch_reg);
812 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg);
814 rdev->fence_drv[ring].scratch_reg = 0;
829 r = radeon_scratch_get(rdev, &rdev->fence_drv[ring].scratch_reg);
835 rdev->fence_drv[ring].scratch_reg -
861 rdev->fence_drv[ring].scratch_reg = -1;
918 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg);
[all...]
H A Dradeon_atombios.c4111 uint32_t scratch_reg; local
4115 scratch_reg = R600_BIOS_0_SCRATCH;
4117 scratch_reg = RADEON_BIOS_0_SCRATCH;
4120 rdev->bios_scratch[i] = RREG32(scratch_reg + (i * 4));
4125 uint32_t scratch_reg; local
4129 scratch_reg = R600_BIOS_0_SCRATCH;
4131 scratch_reg = RADEON_BIOS_0_SCRATCH;
4134 WREG32(scratch_reg + (i * 4), rdev->bios_scratch[i]);
H A Dr300.c239 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0));
H A Dradeon.h365 uint32_t scratch_reg; member in struct:radeon_fence_driver
H A Dr100.c884 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0));
H A Dr600.c2906 radeon_ring_write(ring, ((rdev->fence_drv[fence->ring].scratch_reg - PACKET3_SET_CONFIG_REG_OFFSET) >> 2));
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dif_sdio.c115 unsigned int scratch_reg; member in struct:if_sdio_card
149 scratch = sdio_readb(card->func, card->scratch_reg, &ret);
151 scratch |= sdio_readb(card->func, card->scratch_reg + 1,
1170 card->scratch_reg = IF_SDIO_SCRATCH_OLD;
1173 card->scratch_reg = IF_SDIO_SCRATCH;
1177 card->scratch_reg = IF_SDIO_FW_STATUS;
/linux-master/arch/mips/mm/
H A Dtlbex.c328 static int scratch_reg; variable
337 if (scratch_reg >= 0) {
339 UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg);
371 if (scratch_reg >= 0) {
373 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg);
619 if (scratch_reg >= 0)
636 if (scratch_reg >= 0)
637 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg);
889 if (mode == refill_scratch && scratch_reg >= 0)
910 if (scratch_reg >
[all...]
/linux-master/arch/x86/kernel/
H A Duprobes.c457 scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs) function
474 unsigned long *sr = scratch_reg(auprobe, regs);
485 unsigned long *sr = scratch_reg(auprobe, regs);

Completed in 265 milliseconds