Home
last modified time | relevance | path

Searched refs:scratch_reg (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_fence.c65 if (likely(rdev->wb.enabled || !drv->scratch_reg)) { in radeon_fence_write()
70 WREG32(drv->scratch_reg, seq); in radeon_fence_write()
88 if (likely(rdev->wb.enabled || !drv->scratch_reg)) { in radeon_fence_read()
95 seq = RREG32(drv->scratch_reg); in radeon_fence_read()
806 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_start_ring()
808 rdev->fence_drv[ring].scratch_reg = 0; in radeon_fence_driver_start_ring()
823 r = radeon_scratch_get(rdev, &rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_start_ring()
829 rdev->fence_drv[ring].scratch_reg - in radeon_fence_driver_start_ring()
855 rdev->fence_drv[ring].scratch_reg = -1; in radeon_fence_driver_init_ring()
916 radeon_scratch_free(rdev, rdev->fence_drv[ring].scratch_reg); in radeon_fence_driver_fini()
Dradeon_atombios.c4098 uint32_t scratch_reg; in radeon_save_bios_scratch_regs() local
4102 scratch_reg = R600_BIOS_0_SCRATCH; in radeon_save_bios_scratch_regs()
4104 scratch_reg = RADEON_BIOS_0_SCRATCH; in radeon_save_bios_scratch_regs()
4107 rdev->bios_scratch[i] = RREG32(scratch_reg + (i * 4)); in radeon_save_bios_scratch_regs()
4112 uint32_t scratch_reg; in radeon_restore_bios_scratch_regs() local
4116 scratch_reg = R600_BIOS_0_SCRATCH; in radeon_restore_bios_scratch_regs()
4118 scratch_reg = RADEON_BIOS_0_SCRATCH; in radeon_restore_bios_scratch_regs()
4121 WREG32(scratch_reg + (i * 4), rdev->bios_scratch[i]); in radeon_restore_bios_scratch_regs()
Dr300.c236 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); in r300_fence_ring_emit()
Dradeon.h356 uint32_t scratch_reg; member
Dr100.c866 radeon_ring_write(ring, PACKET0(rdev->fence_drv[fence->ring].scratch_reg, 0)); in r100_fence_ring_emit()
Dr600.c2904 …radeon_ring_write(ring, ((rdev->fence_drv[fence->ring].scratch_reg - PACKET3_SET_CONFIG_REG_OFFSET… in r600_fence_ring_emit()
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_sdio.c119 unsigned int scratch_reg; member
152 scratch = sdio_readb(card->func, card->scratch_reg, &ret); in if_sdio_read_scratch()
154 scratch |= sdio_readb(card->func, card->scratch_reg + 1, in if_sdio_read_scratch()
1219 card->scratch_reg = IF_SDIO_SCRATCH_OLD; in if_sdio_probe()
1222 card->scratch_reg = IF_SDIO_SCRATCH; in if_sdio_probe()
1226 card->scratch_reg = IF_SDIO_FW_STATUS; in if_sdio_probe()
/linux-4.4.14/arch/mips/mm/
Dtlbex.c346 static int scratch_reg; variable
354 if (scratch_reg >= 0) { in build_get_work_registers()
356 UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg); in build_get_work_registers()
388 if (scratch_reg >= 0) { in build_restore_work_registers()
389 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_work_registers()
672 if (scratch_reg >= 0) in build_restore_pagemask()
673 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_pagemask()
913 if (scratch_reg >= 0) in build_get_pgd_vmalloc64()
914 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_get_pgd_vmalloc64()
1258 if (IS_ENABLED(CONFIG_64BIT) && (scratch_reg >= 0 || scratchpad_available()) && use_bbit_insns()) { in build_r4000_tlb_refill_handler()
[all …]
/linux-4.4.14/arch/x86/kernel/
Duprobes.c462 scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs) in scratch_reg() function
479 unsigned long *sr = scratch_reg(auprobe, regs); in riprel_pre_xol()
490 unsigned long *sr = scratch_reg(auprobe, regs); in riprel_post_xol()