/linux/tools/testing/selftests/powerpc/dscr/ |
A 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() 50 dscr++; in dscr_explicit() 51 if (dscr > DSCR_MAX) in dscr_explicit() 52 dscr = 0; in dscr_explicit() [all …]
|
A 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 …]
|
A 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()
|
A 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/drivers/misc/mei/ |
A 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/arch/arm/kernel/ |
A 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() 260 ARM_DBG_READ(c0, c1, 0, dscr); in enable_monitor_mode() 261 if (!(dscr & ARM_DSCR_MDBGEN)) { in enable_monitor_mode() 914 u32 dscr; in hw_breakpoint_pending() local 922 ARM_DBG_READ(c0, c1, 0, dscr); in hw_breakpoint_pending() [all …]
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
A 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()
|
A D | ptrace.h | 186 unsigned long ppr, unsigned long dscr) in write_tar_registers() argument 215 *reg = dscr; in write_tar_registers() 277 unsigned long ppr, unsigned long dscr) in write_ckpt_tar_registers() argument 306 *reg = dscr; in write_ckpt_tar_registers()
|
/linux/arch/mips/alchemy/common/ |
A 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/tools/testing/selftests/powerpc/tm/ |
A 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
|
A D | .gitignore | 2 tm-resched-dscr
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
A D | atmel_hlcdc_plane.c | 849 struct atmel_hlcdc_dma_channel_dscr *dscr; in atmel_hlcdc_plane_alloc_dscrs() local 852 dscr = dma_pool_alloc(dc->dscrpool, GFP_KERNEL, &dscr_dma); in atmel_hlcdc_plane_alloc_dscrs() 853 if (!dscr) in atmel_hlcdc_plane_alloc_dscrs() 856 dscr->addr = 0; in atmel_hlcdc_plane_alloc_dscrs() 857 dscr->next = dscr_dma; in atmel_hlcdc_plane_alloc_dscrs() 858 dscr->self = dscr_dma; in atmel_hlcdc_plane_alloc_dscrs() 859 dscr->ctrl = ATMEL_HLCDC_LAYER_DFETCH; in atmel_hlcdc_plane_alloc_dscrs() 861 state->dscrs[i] = dscr; in atmel_hlcdc_plane_alloc_dscrs()
|
/linux/arch/powerpc/kernel/ptrace/ |
A 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/drivers/dma/ |
A D | at_hdmac_regs.h | 195 dma_addr_t 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()
|
A D | at_hdmac.c | 213 (*prev)->lli.dscr = desc->txd.phys; in atc_desc_chain() 319 u32 ctrla, dscr, trials; in atc_get_bytes_left() local 335 if (desc_first->lli.dscr) { in atc_get_bytes_left() 386 dscr = channel_readl(atchan, DSCR); in atc_get_bytes_left() 401 if (likely(new_dscr == dscr)) in atc_get_bytes_left() 411 dscr = new_dscr; in atc_get_bytes_left() 419 if (desc_first->lli.dscr == dscr) in atc_get_bytes_left() 424 if (desc->lli.dscr == dscr) in atc_get_bytes_left() 1359 prev->lli.dscr = first->txd.phys; in atc_prep_dma_cyclic()
|
/linux/Documentation/powerpc/ |
A 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
|
A D | index.rst | 18 dscr
|
/linux/arch/powerpc/platforms/powernv/ |
A D | idle.c | 303 u64 dscr; member 355 sprs.dscr = mfspr(SPRN_DSCR); in power7_idle_insn() 490 mtspr(SPRN_DSCR, sprs.dscr); in power7_idle_insn() 591 u64 dscr; member 669 sprs.dscr = mfspr(SPRN_DSCR); in power9_idle_stop() 786 mtspr(SPRN_DSCR, sprs.dscr); in power9_idle_stop()
|
/linux/arch/powerpc/kernel/ |
A D | process.c | 1139 t->dscr = mfspr(SPRN_DSCR); in save_sprs() 1174 u64 dscr = get_paca()->dscr_default; in restore_sprs() local 1176 dscr = new_thread->dscr; in restore_sprs() 1178 if (old_thread->dscr != dscr) in restore_sprs() 1179 mtspr(SPRN_DSCR, dscr); in restore_sprs() 1776 p->thread.dscr = mfspr(SPRN_DSCR); in copy_thread()
|
A 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/tools/testing/selftests/powerpc/ |
A D | Makefile | 20 dscr \
|
/linux/Documentation/ABI/stable/ |
A 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/arch/powerpc/include/asm/ |
A D | kvm_book3s_64.h | 610 vcpu->arch.dscr = vcpu->arch.dscr_tm; in copy_from_checkpoint() 627 vcpu->arch.dscr_tm = vcpu->arch.dscr; in copy_to_checkpoint()
|
A D | processor.h | 233 unsigned long dscr; member
|
/linux/arch/mips/include/asm/mach-au1x00/ |
A D | au1xxx_dbdma.h | 375 u32 au1xxx_dbdma_put_dscr(u32 chanid, au1x_ddma_desc_t *dscr);
|