Lines Matching full:isa
22 const char *isa; in riscv_of_processor_hartid() local
40 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_of_processor_hartid()
41 pr_warn("CPU with hartid=%lu has no \"riscv,isa\" property\n", *hart); in riscv_of_processor_hartid()
44 if (isa[0] != 'r' || isa[1] != 'v') { in riscv_of_processor_hartid()
45 pr_warn("CPU with hartid=%lu has an invalid ISA of \"%s\"\n", *hart, isa); in riscv_of_processor_hartid()
170 * These are the only valid base (single letter) ISA extensions as per the spec.
177 static void print_isa(struct seq_file *f, const char *isa) in print_isa() argument
181 seq_puts(f, "isa\t\t: "); in print_isa()
183 seq_write(f, isa, 4); in print_isa()
186 /* Print only enabled the base ISA extensions */ in print_isa()
240 const char *compat, *isa; in c_show() local
244 if (!of_property_read_string(node, "riscv,isa", &isa)) in c_show()
245 print_isa(m, isa); in c_show()