Lines Matching refs:dspregs
704 u32 dspregs[NUM_DSP_REGS + 1]; in dsp32_get() local
713 dspregs[i] = target->thread.dsp.dspr[i]; in dsp32_get()
714 dspregs[NUM_DSP_REGS] = target->thread.dsp.dspcontrol; in dsp32_get()
715 return membuf_write(&to, dspregs, sizeof(dspregs)); in dsp32_get()
727 u32 dspregs[NUM_DSP_REGS + 1]; in dsp32_set() local
741 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp32_set()
742 sizeof(dspregs)); in dsp32_set()
749 target->thread.dsp.dspr[i] = (s32)dspregs[i]; in dsp32_set()
752 target->thread.dsp.dspcontrol = (s32)dspregs[i]; in dsp32_set()
770 u64 dspregs[NUM_DSP_REGS + 1]; in dsp64_get() local
779 dspregs[i] = target->thread.dsp.dspr[i]; in dsp64_get()
780 dspregs[NUM_DSP_REGS] = target->thread.dsp.dspcontrol; in dsp64_get()
781 return membuf_write(&to, dspregs, sizeof(dspregs)); in dsp64_get()
793 u64 dspregs[NUM_DSP_REGS + 1]; in dsp64_set() local
807 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp64_set()
808 sizeof(dspregs)); in dsp64_set()
815 target->thread.dsp.dspr[i] = dspregs[i]; in dsp64_set()
818 target->thread.dsp.dspcontrol = dspregs[i]; in dsp64_set()