Lines Matching full:isa
14 #include <asm/isa-rev.h>
18 #define __isa(isa) (cpu_data[0].isa_level & (isa)) argument
22 * Check if MIPS_ISA_REV is >= isa *and* an option or ASE is detected during
26 * older ISA *cannot* run on a CPU which supports the feature in question. For
28 * built for an older ISA cannot run on a MIPSr6 CPU. This should not be used
32 #define __isa_ge_and_ase(isa, ase) ((MIPS_ISA_REV >= (isa)) && __ase(ase)) argument
33 #define __isa_ge_and_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) && __opt(opt)) argument
36 * Check if MIPS_ISA_REV is >= isa *or* an option or ASE is detected during
39 * These are for use with features that are optional up until a particular ISA
42 #define __isa_ge_or_ase(isa, ase) ((MIPS_ISA_REV >= (isa)) || __ase(ase)) argument
43 #define __isa_ge_or_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) || __opt(opt)) argument
46 * Check if MIPS_ISA_REV is < isa *and* an option or ASE is detected during
49 * These are for use with features that are optional up until a particular ISA
51 * the given ISA revision.
53 #define __isa_lt_and_ase(isa, ase) ((MIPS_ISA_REV < (isa)) && __ase(ase)) argument
54 #define __isa_lt_and_opt(isa, opt) ((MIPS_ISA_REV < (isa)) && __opt(opt)) argument
57 * Similarly allow for ISA level checks that take into account knowledge of the
58 * ISA targeted by the kernel build, provided by MIPS_ISA_REV.
60 #define __isa_ge_and_flag(isa, flag) ((MIPS_ISA_REV >= (isa)) && __isa(flag)) argument
61 #define __isa_ge_or_flag(isa, flag) ((MIPS_ISA_REV >= (isa)) || __isa(flag)) argument
62 #define __isa_lt_and_flag(isa, flag) ((MIPS_ISA_REV < (isa)) && __isa(flag)) argument