Lines Matching refs:c
33 const char *get_cpu_subtype(struct sh_cpuinfo *c) in get_cpu_subtype() argument
35 return cpu_name[c->type]; in get_cpu_subtype()
46 static void show_cpuflags(struct seq_file *m, struct sh_cpuinfo *c) in show_cpuflags() argument
52 if (!c->flags) { in show_cpuflags()
58 if ((c->flags & (1 << i))) in show_cpuflags()
80 struct sh_cpuinfo *c = v; in show_cpuinfo() local
81 unsigned int cpu = c - cpu_data; in show_cpuinfo()
93 seq_printf(m, "cpu type\t: %s\n", get_cpu_subtype(c)); in show_cpuinfo()
94 if (c->cut_major == -1) in show_cpuinfo()
96 else if (c->cut_minor == -1) in show_cpuinfo()
97 seq_printf(m, "cut\t\t: %d.x\n", c->cut_major); in show_cpuinfo()
99 seq_printf(m, "cut\t\t: %d.%d\n", c->cut_major, c->cut_minor); in show_cpuinfo()
101 show_cpuflags(m, c); in show_cpuinfo()
110 if (c->icache.flags & SH_CACHE_COMBINED) { in show_cpuinfo()
112 show_cacheinfo(m, "cache", c->icache); in show_cpuinfo()
115 show_cacheinfo(m, "icache", c->icache); in show_cpuinfo()
116 show_cacheinfo(m, "dcache", c->dcache); in show_cpuinfo()
120 if (c->flags & CPU_HAS_L2_CACHE) in show_cpuinfo()
121 show_cacheinfo(m, "scache", c->scache); in show_cpuinfo()
123 seq_printf(m, "address sizes\t: %u bits physical\n", c->phys_bits); in show_cpuinfo()
126 c->loops_per_jiffy/(500000/HZ), in show_cpuinfo()
127 (c->loops_per_jiffy/(5000/HZ)) % 100); in show_cpuinfo()