Lines Matching refs:dspregs
696 u32 dspregs[NUM_DSP_REGS + 1]; in dsp32_get() local
705 dspregs[i] = target->thread.dsp.dspr[i]; in dsp32_get()
706 dspregs[NUM_DSP_REGS] = target->thread.dsp.dspcontrol; in dsp32_get()
707 return membuf_write(&to, dspregs, sizeof(dspregs)); in dsp32_get()
719 u32 dspregs[NUM_DSP_REGS + 1]; in dsp32_set() local
733 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp32_set()
734 sizeof(dspregs)); in dsp32_set()
741 target->thread.dsp.dspr[i] = (s32)dspregs[i]; in dsp32_set()
744 target->thread.dsp.dspcontrol = (s32)dspregs[i]; in dsp32_set()
762 u64 dspregs[NUM_DSP_REGS + 1]; in dsp64_get() local
771 dspregs[i] = target->thread.dsp.dspr[i]; in dsp64_get()
772 dspregs[NUM_DSP_REGS] = target->thread.dsp.dspcontrol; in dsp64_get()
773 return membuf_write(&to, dspregs, sizeof(dspregs)); in dsp64_get()
785 u64 dspregs[NUM_DSP_REGS + 1]; in dsp64_set() local
799 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0, in dsp64_set()
800 sizeof(dspregs)); in dsp64_set()
807 target->thread.dsp.dspr[i] = dspregs[i]; in dsp64_set()
810 target->thread.dsp.dspcontrol = dspregs[i]; in dsp64_set()