/linux-6.1.9/tools/testing/selftests/powerpc/dscr/ |
D | dscr_explicit_test.c | 22 unsigned long i, dscr = 0; in dscr_explicit() local 27 set_dscr(dscr); in dscr_explicit() 34 dscr++; in dscr_explicit() 35 if (dscr > DSCR_MAX) in dscr_explicit() 36 dscr = 0; in dscr_explicit() 38 set_dscr(dscr); in dscr_explicit() 42 if (cur_dscr != dscr) { in dscr_explicit() 44 "is %ld\n", dscr, cur_dscr); in dscr_explicit() 50 dscr++; in dscr_explicit() 51 if (dscr > DSCR_MAX) in dscr_explicit() [all …]
|
D | dscr_inherit_test.c | 22 unsigned long i, dscr = 0; in dscr_inherit() local 28 set_dscr(dscr); in dscr_inherit() 33 dscr++; in dscr_inherit() 34 if (dscr > DSCR_MAX) in dscr_inherit() 35 dscr = 0; in dscr_inherit() 38 set_dscr_usr(dscr); in dscr_inherit() 40 set_dscr(dscr); in dscr_inherit() 65 if (cur_dscr != dscr) { in dscr_inherit() 67 "but is %ld\n", dscr, cur_dscr); in dscr_inherit() 72 if (cur_dscr_usr != dscr) { in dscr_inherit() [all …]
|
D | dscr_inherit_exec_test.c | 44 unsigned long i, dscr = 0; in dscr_inherit_exec() local 50 dscr++; in dscr_inherit_exec() 51 if (dscr > DSCR_MAX) in dscr_inherit_exec() 52 dscr = 0; in dscr_inherit_exec() 54 if (dscr == get_default_dscr()) in dscr_inherit_exec() 58 set_dscr_usr(dscr); in dscr_inherit_exec() 60 set_dscr(dscr); in dscr_inherit_exec() 86 sprintf(dscr_str, "%ld", dscr); in dscr_inherit_exec()
|
D | dscr_default_test.c | 14 static unsigned long dscr; /* System DSCR default */ variable 32 d = dscr; in do_test() 71 dscr = 1; in dscr_default() 72 set_default_dscr(dscr); in dscr_default() 92 dscr++; in dscr_default() 93 if (dscr > DSCR_MAX) in dscr_default() 94 dscr = 0; in dscr_default() 96 set_default_dscr(dscr); in dscr_default()
|
/linux-6.1.9/drivers/misc/mei/ |
D | dma-ring.c | 22 struct mei_dma_dscr *dscr) in mei_dmam_dscr_alloc() argument 24 if (!dscr->size) in mei_dmam_dscr_alloc() 27 if (WARN_ON(!is_power_of_2(dscr->size))) in mei_dmam_dscr_alloc() 30 if (dscr->vaddr) in mei_dmam_dscr_alloc() 33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc() 35 if (!dscr->vaddr) in mei_dmam_dscr_alloc() 48 struct mei_dma_dscr *dscr) in mei_dmam_dscr_free() argument 50 if (!dscr->vaddr) in mei_dmam_dscr_free() 53 dmam_free_coherent(dev->dev, dscr->size, dscr->vaddr, dscr->daddr); in mei_dmam_dscr_free() 54 dscr->vaddr = NULL; in mei_dmam_dscr_free()
|
/linux-6.1.9/arch/arm/kernel/ |
D | hw_breakpoint.c | 226 u32 dscr; in monitor_mode_enabled() local 227 ARM_DBG_READ(c0, c1, 0, dscr); in monitor_mode_enabled() 228 return !!(dscr & ARM_DSCR_MDBGEN); in monitor_mode_enabled() 233 u32 dscr; in enable_monitor_mode() local 234 ARM_DBG_READ(c0, c1, 0, dscr); in enable_monitor_mode() 237 if (dscr & ARM_DSCR_MDBGEN) in enable_monitor_mode() 244 ARM_DBG_WRITE(c0, c1, 0, (dscr | ARM_DSCR_MDBGEN)); in enable_monitor_mode() 252 ARM_DBG_WRITE(c0, c2, 2, (dscr | ARM_DSCR_MDBGEN)); in enable_monitor_mode() 260 ARM_DBG_READ(c0, c1, 0, dscr); in enable_monitor_mode() 261 if (!(dscr & ARM_DSCR_MDBGEN)) { in enable_monitor_mode() [all …]
|
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tar.h | 30 unsigned long ppr, unsigned long dscr) in validate_tar_registers() argument 40 if (reg[2] != dscr) in validate_tar_registers()
|
D | ptrace.h | 190 unsigned long ppr, unsigned long dscr) in write_tar_registers() argument 219 *reg = dscr; in write_tar_registers() 281 unsigned long ppr, unsigned long dscr) in write_ckpt_tar_registers() argument 310 *reg = dscr; in write_ckpt_tar_registers()
|
/linux-6.1.9/tools/testing/selftests/powerpc/tm/ |
D | Makefile | 5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ 23 $(OUTPUT)/tm-resched-dscr: ../pmu/lib.c
|
D | .gitignore | 2 tm-resched-dscr
|
/linux-6.1.9/arch/mips/alchemy/common/ |
D | dbdma.c | 934 u32 au1xxx_dbdma_put_dscr(u32 chanid, au1x_ddma_desc_t *dscr) in au1xxx_dbdma_put_dscr() argument 961 dp->dscr_dest0 = dscr->dscr_dest0; in au1xxx_dbdma_put_dscr() 962 dp->dscr_source0 = dscr->dscr_source0; in au1xxx_dbdma_put_dscr() 963 dp->dscr_dest1 = dscr->dscr_dest1; in au1xxx_dbdma_put_dscr() 964 dp->dscr_source1 = dscr->dscr_source1; in au1xxx_dbdma_put_dscr() 965 dp->dscr_cmd1 = dscr->dscr_cmd1; in au1xxx_dbdma_put_dscr() 966 nbytes = dscr->dscr_cmd1; in au1xxx_dbdma_put_dscr() 969 dp->dscr_cmd0 |= dscr->dscr_cmd0 | DSCR_CMD0_V; in au1xxx_dbdma_put_dscr()
|
/linux-6.1.9/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 850 struct atmel_hlcdc_dma_channel_dscr *dscr; in atmel_hlcdc_plane_alloc_dscrs() local 853 dscr = dma_pool_alloc(dc->dscrpool, GFP_KERNEL, &dscr_dma); in atmel_hlcdc_plane_alloc_dscrs() 854 if (!dscr) in atmel_hlcdc_plane_alloc_dscrs() 857 dscr->addr = 0; in atmel_hlcdc_plane_alloc_dscrs() 858 dscr->next = dscr_dma; in atmel_hlcdc_plane_alloc_dscrs() 859 dscr->self = dscr_dma; in atmel_hlcdc_plane_alloc_dscrs() 860 dscr->ctrl = ATMEL_HLCDC_LAYER_DFETCH; in atmel_hlcdc_plane_alloc_dscrs() 862 state->dscrs[i] = dscr; in atmel_hlcdc_plane_alloc_dscrs()
|
/linux-6.1.9/sound/soc/sof/amd/ |
D | acp.c | 102 u16 dscr; in acpbus_dma_start() local 107 for (dscr = 0; dscr < dscr_count; dscr++) in acpbus_dma_start() 108 configure_dma_descriptor(adata, dscr, dscr_info++); in acpbus_dma_start()
|
/linux-6.1.9/drivers/dma/ |
D | at_hdmac_regs.h | 195 u32 dscr; /* chain to next lli */ member 406 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli() 475 desc->lli.dscr = 0; in set_desc_eol()
|
D | at_hdmac.c | 213 (*prev)->lli.dscr = desc->txd.phys; in atc_desc_chain() 321 u32 ctrla, dscr; in atc_get_bytes_left() local 338 if (desc_first->lli.dscr) { in atc_get_bytes_left() 389 dscr = channel_readl(atchan, DSCR); in atc_get_bytes_left() 404 if (likely(new_dscr == dscr)) in atc_get_bytes_left() 414 dscr = new_dscr; in atc_get_bytes_left() 422 if (desc_first->lli.dscr == dscr) in atc_get_bytes_left() 427 if (desc->lli.dscr == dscr) in atc_get_bytes_left() 1330 prev->lli.dscr = first->txd.phys; in atc_prep_dma_cyclic()
|
/linux-6.1.9/Documentation/powerpc/ |
D | dscr.rst | 16 dscr /* Thread DSCR value */ 34 now be contained in thread struct's dscr into the register instead of 43 - CPU specific DSCR default: /sys/devices/system/cpu/cpuN/dscr
|
D | index.rst | 18 dscr
|
/linux-6.1.9/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 125 *data = task->thread.dscr; in get_user_dscr() 129 static int set_user_dscr(struct task_struct *task, unsigned long dscr) in set_user_dscr() argument 131 task->thread.dscr = dscr; in set_user_dscr() 141 static int set_user_dscr(struct task_struct *task, unsigned long dscr) in set_user_dscr() argument 307 return membuf_write(&to, &target->thread.dscr, sizeof(u64)); in dscr_get() 314 &target->thread.dscr, 0, sizeof(u64)); in dscr_set()
|
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_hv_p9_entry.c | 42 if (current->thread.dscr != vcpu->arch.dscr) in load_spr_state() 43 mtspr(SPRN_DSCR, vcpu->arch.dscr); in load_spr_state() 79 vcpu->arch.dscr = mfspr(SPRN_DSCR); in store_spr_state() 179 if (current->thread.dscr != vcpu->arch.dscr) in restore_p9_host_os_sprs() 180 mtspr(SPRN_DSCR, current->thread.dscr); in restore_p9_host_os_sprs()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | idle.c | 302 u64 dscr; member 354 sprs.dscr = mfspr(SPRN_DSCR); in power7_idle_insn() 488 mtspr(SPRN_DSCR, sprs.dscr); in power7_idle_insn() 591 u64 dscr; member 668 sprs.dscr = mfspr(SPRN_DSCR); in power9_idle_stop() 784 mtspr(SPRN_DSCR, sprs.dscr); in power9_idle_stop()
|
/linux-6.1.9/tools/testing/selftests/powerpc/ |
D | Makefile | 20 dscr \
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | process.c | 1136 t->dscr = mfspr(SPRN_DSCR); in save_sprs() 1205 u64 dscr = get_paca()->dscr_default; in restore_sprs() local 1207 dscr = new_thread->dscr; in restore_sprs() 1209 if (old_thread->dscr != dscr) in restore_sprs() 1210 mtspr(SPRN_DSCR, dscr); in restore_sprs() 1808 p->thread.dscr = mfspr(SPRN_DSCR); in copy_thread()
|
D | sysfs.c | 161 current->thread.dscr = *(unsigned long *)val; in write_dscr() 166 SYSFS_SPRSETUP_SHOW_STORE(dscr); 167 static DEVICE_ATTR(dscr, 0600, show_dscr, store_dscr);
|
/linux-6.1.9/Documentation/ABI/stable/ |
D | sysfs-devices-system-cpu | 6 /sys/devices/system/cpu/cpuN/dscr on all CPUs. 12 What: /sys/devices/system/cpu/cpu[0-9]+/dscr
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 598 vcpu->arch.dscr = vcpu->arch.dscr_tm; in copy_from_checkpoint() 615 vcpu->arch.dscr_tm = vcpu->arch.dscr; in copy_to_checkpoint()
|