Searched refs:scratch_reg (Results 1 – 10 of 10) sorted by relevance
| /linux/arch/x86/entry/ |
| H A D | calling.h | 173 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req 175 mov %cr3, \scratch_reg 176 ADJUST_KERNEL_CR3 \scratch_reg 177 mov \scratch_reg, %cr3 184 .macro SWITCH_TO_USER_CR3 scratch_reg:req scratch_reg2:req 185 mov %cr3, \scratch_reg 192 movq \scratch_reg, \scratch_reg2 193 andq $(0x7FF), \scratch_reg /* mask ASID */ 194 bt \scratch_reg, THIS_CPU_user_pcid_flush_mask 198 btr \scratch_reg, THIS_CPU_user_pcid_flush_mask [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_fence.c | 71 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() 99 seq = RREG32(drv->scratch_reg); in radeon_fence_read() 764 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_start_ring() 766 rdev->fence_drv[ring].scratch_reg = 0; in radeon_fence_driver_start_ring() 781 r = radeon_scratch_get(rdev, &rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_start_ring() 787 rdev->fence_drv[ring].scratch_reg - in radeon_fence_driver_start_ring() 813 rdev->fence_drv[ring].scratch_reg = -1; in radeon_fence_driver_init_ring() 870 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_fini()
|
| H A D | radeon_atombios.c | 4099 uint32_t scratch_reg; in radeon_save_bios_scratch_regs() local 4103 scratch_reg = R600_BIOS_0_SCRATCH; in radeon_save_bios_scratch_regs() 4105 scratch_reg = RADEON_BIOS_0_SCRATCH; in radeon_save_bios_scratch_regs() 4108 rdev->bios_scratch[i] = RREG32(scratch_reg + (i * 4)); in radeon_save_bios_scratch_regs() 4113 uint32_t scratch_reg; in radeon_restore_bios_scratch_regs() local 4117 scratch_reg = R600_BIOS_0_SCRATCH; in radeon_restore_bios_scratch_regs() 4119 scratch_reg = RADEON_BIOS_0_SCRATCH; in radeon_restore_bios_scratch_regs() 4122 WREG32(scratch_reg + (i * 4), rdev->bios_scratch[i]); in radeon_restore_bios_scratch_regs()
|
| H A D | r300.c | 240 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); in r300_fence_ring_emit()
|
| H A D | r100.c | 885 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); in r100_fence_ring_emit()
|
| H 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/scripts/gdb/linux/ |
| H A D | cpus.py | 197 scratch_reg = gdb.parse_and_eval("$sscratch") 206 if (scratch_reg.cast(utils.get_ulong_type()) > current_tp.cast(utils.get_ulong_type())): 207 current_task = scratch_reg.cast(task_ptr_type)
|
| /linux/arch/mips/mm/ |
| H A D | tlbex.c | 328 static int scratch_reg; variable 337 if (scratch_reg >= 0) { in build_get_work_registers() 339 UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg); in build_get_work_registers() 371 if (scratch_reg >= 0) { in build_restore_work_registers() 373 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_work_registers() 619 if (scratch_reg >= 0) in build_restore_pagemask() 636 if (scratch_reg >= 0) in build_restore_pagemask() 637 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_pagemask() 889 if (mode == refill_scratch && scratch_reg >= 0) in build_get_pgd_vmalloc64() 910 if (scratch_reg >= 0) in build_get_pgd_vmalloc64() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | if_sdio.c | 115 unsigned int scratch_reg; member 149 scratch = sdio_readb(card->func, card->scratch_reg, &ret); in if_sdio_read_scratch() 151 scratch |= sdio_readb(card->func, card->scratch_reg + 1, in if_sdio_read_scratch() 1170 card->scratch_reg = IF_SDIO_SCRATCH_OLD; in if_sdio_probe() 1173 card->scratch_reg = IF_SDIO_SCRATCH; in if_sdio_probe() 1177 card->scratch_reg = IF_SDIO_FW_STATUS; in if_sdio_probe()
|
| /linux/arch/x86/kernel/ |
| H A D | uprobes.c | 587 scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs) in scratch_reg() function 604 unsigned long *sr = scratch_reg(auprobe, regs); in riprel_pre_xol() 615 unsigned long *sr = scratch_reg(auprobe, regs); in riprel_post_xol()
|