Lines Matching refs:dspregs
760 u32 dspregs[NUM_DSP_REGS + 1]; in dsp32_get() local
776 dspregs[i] = target->thread.dsp.dspr[i]; in dsp32_get()
779 dspregs[i] = target->thread.dsp.dspcontrol; in dsp32_get()
782 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp32_get()
783 sizeof(dspregs)); in dsp32_get()
795 u32 dspregs[NUM_DSP_REGS + 1]; in dsp32_set() local
809 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp32_set()
810 sizeof(dspregs)); in dsp32_set()
817 target->thread.dsp.dspr[i] = (s32)dspregs[i]; in dsp32_set()
820 target->thread.dsp.dspcontrol = (s32)dspregs[i]; in dsp32_set()
840 u64 dspregs[NUM_DSP_REGS + 1]; in dsp64_get() local
856 dspregs[i] = target->thread.dsp.dspr[i]; in dsp64_get()
859 dspregs[i] = target->thread.dsp.dspcontrol; in dsp64_get()
862 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp64_get()
863 sizeof(dspregs)); in dsp64_get()
875 u64 dspregs[NUM_DSP_REGS + 1]; in dsp64_set() local
889 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp64_set()
890 sizeof(dspregs)); in dsp64_set()
897 target->thread.dsp.dspr[i] = dspregs[i]; in dsp64_set()
900 target->thread.dsp.dspcontrol = dspregs[i]; in dsp64_set()