/* * Copyright (C) 2005 Mips Technologies * Author: Chris Dearman, chris@mips.com derived from fpu.h * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #ifndef _ASM_DSP_H #define _ASM_DSP_H #include <asm/cpu.h> #include <asm/cpu-features.h> #include <asm/hazards.h> #include <asm/mipsregs.h> #define DSP_DEFAULT 0x00000000 #define DSP_MASK 0x3f #define __enable_dsp_hazard() \ do { \ asm("_ehb"); \ } while (0)
static inline void __init_dsp(void) { mthi1(0); mtlo1(0); mthi2(0); mtlo2(0); mthi3(0); mtlo3(0); wrdsp(DSP_DEFAULT, DSP_MASK); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 46 | 100.00% | 1 | 100.00% |
Total | 46 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 137 | 99.28% | 2 | 66.67% |
Steven J. Hill | 1 | 0.72% | 1 | 33.33% |
Total | 138 | 100.00% | 3 | 100.00% |