Searched refs:current_cpu_data (Results 1 - 25 of 56) sorted by relevance

123

/linux-master/arch/sh/kernel/cpu/
H A Dinit.c128 waysize = current_cpu_data.dcache.sets;
139 waysize <<= current_cpu_data.dcache.entry_shift;
147 ways = current_cpu_data.dcache.ways;
155 addr += current_cpu_data.dcache.linesz)
158 addrstart += current_cpu_data.dcache.way_incr;
170 if (current_cpu_data.dcache.ways > 1)
204 l1d_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.dcache);
206 if (current_cpu_data.dcache.flags & SH_CACHE_COMBINED)
209 l1i_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.icache);
211 if (current_cpu_data
[all...]
/linux-master/arch/mips/loongson32/common/
H A Dsetup.c14 unsigned int processor_id = (&current_cpu_data)->processor_id;
/linux-master/arch/mips/loongson2ef/common/
H A Dplatform.c18 struct cpuinfo_mips *c = &current_cpu_data;
H A Denv.c39 processor_id = (&current_cpu_data)->processor_id;
/linux-master/arch/sh/mm/
H A Dcache-sh7705.c35 ways = current_cpu_data.dcache.ways;
36 waysize = current_cpu_data.dcache.sets;
37 waysize <<= current_cpu_data.dcache.entry_shift;
46 addr += current_cpu_data.dcache.linesz) {
57 addrstart += current_cpu_data.dcache.way_incr;
103 ways = current_cpu_data.dcache.ways;
104 waysize = current_cpu_data.dcache.sets;
105 waysize <<= current_cpu_data.dcache.entry_shift;
114 addr += current_cpu_data.dcache.linesz) {
124 addrstart += current_cpu_data
[all...]
H A Dcache-sh3.c44 for (j = 0; j < current_cpu_data.dcache.ways; j++) {
48 addr = addrstart | (v & current_cpu_data.dcache.entry_mask);
60 addrstart += current_cpu_data.dcache.way_incr;
85 (v & current_cpu_data.dcache.entry_mask) | SH_CACHE_ASSOC;
H A Dcache-debugfs.c49 cache = &current_cpu_data.dcache;
52 cache = &current_cpu_data.icache;
H A Dcache-sh4.c164 (current_cpu_data.dcache.sets <<
165 current_cpu_data.dcache.entry_shift) *
166 current_cpu_data.dcache.ways;
168 entry_offset = 1 << current_cpu_data.dcache.entry_shift;
248 map_coherent = (current_cpu_data.dcache.n_aliases &&
H A Dcache-sh2a.c60 nr_ways = current_cpu_data.dcache.ways;
68 end = begin + (nr_ways * current_cpu_data.dcache.way_size);
107 int nr_ways = current_cpu_data.dcache.ways;
H A Dtlb-sh3.c69 if ((current_cpu_data.flags & CPU_HAS_MMU_PAGE_ASSOC)) {
/linux-master/arch/mips/lib/
H A Dr3k_dump_tlb.c30 asid_mask = cpu_asid_mask(&current_cpu_data);
70 dump_tlb(0, current_cpu_data.tlbsize - 1);
/linux-master/arch/loongarch/kernel/
H A Dcacheinfo.c14 int cache_present = current_cpu_data.cache_leaves_present;
18 current_cpu_data.cache_leaves[cache_present - 1].level;
64 int i, cache_present = current_cpu_data.cache_leaves_present;
67 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves;
/linux-master/arch/mips/include/asm/
H A Dr4kcache.h205 unsigned long end = start + current_cpu_data.desc.waysize; \
206 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
207 unsigned long ws_end = current_cpu_data.desc.ways << \
208 current_cpu_data.desc.waybit; \
230 unsigned long indexmask = current_cpu_data.desc.waysize - 1; \
233 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
234 unsigned long ws_end = current_cpu_data.desc.ways << \
235 current_cpu_data.desc.waybit; \
321 unsigned long end = start + current_cpu_data.desc.waysize; \
322 unsigned long ws_inc = 1UL << current_cpu_data
[all...]
/linux-master/arch/mips/ath25/
H A Ddevices.h36 return (current_cpu_data.cputype == CPU_4KEC);
/linux-master/arch/mips/mm/
H A Dtlb-r4k.c74 if (current_cpu_data.tlbsizevtlb) {
79 ftlbhighset = current_cpu_data.tlbsizevtlb +
80 current_cpu_data.tlbsizeftlbsets;
81 for (entry = current_cpu_data.tlbsizevtlb;
89 while (entry < current_cpu_data.tlbsize) {
119 if (size <= (current_cpu_data.tlbsizeftlbsets ?
120 current_cpu_data.tlbsize / 8 :
121 current_cpu_data.tlbsize / 2)) {
173 if (size <= (current_cpu_data.tlbsizeftlbsets ?
174 current_cpu_data
[all...]
H A Dtlb-r3k.c44 old_ctx = read_c0_entryhi() & cpu_asid_mask(&current_cpu_data);
46 while (entry < current_cpu_data.tlbsize) {
70 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data);
83 if (size <= current_cpu_data.tlbsize) {
120 if (size <= current_cpu_data.tlbsize) {
149 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data);
181 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data);
220 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data);
/linux-master/arch/mips/kernel/
H A Dmips-cpc.c99 curr_core = cpu_core(&current_cpu_data);
119 curr_core = cpu_core(&current_cpu_data);
H A Dwatch.c24 switch (current_cpu_data.watch_reg_use_cnt) {
56 switch (current_cpu_data.watch_reg_use_cnt) {
71 if (current_cpu_data.watch_reg_use_cnt == 1 &&
89 switch (current_cpu_data.watch_reg_count) {
H A Dcacheinfo.c22 struct cpuinfo_mips *c = &current_cpu_data;
79 struct cpuinfo_mips *c = &current_cpu_data;
H A Dcpu-r3k-probe.c70 struct cpuinfo_mips *c = &current_cpu_data;
145 struct cpuinfo_mips *c = &current_cpu_data;
/linux-master/arch/loongarch/lib/
H A Ddump_tlb.c35 unsigned long asidmask = cpu_asid_mask(&current_cpu_data);
110 dump_tlb(0, current_cpu_data.tlbsize - 1);
/linux-master/arch/mips/bcm47xx/
H A Dprom.c61 struct cpuinfo_mips *c = &current_cpu_data;
130 temp_tlb_entry = current_cpu_data.tlbsize - 1;
/linux-master/arch/loongarch/mm/
H A Dcache.c48 struct cache_desc *cdesc = current_cpu_data.cache_leaves + leaf;
69 struct cache_desc *cdesc = current_cpu_data.cache_leaves;
70 unsigned int cache_present = current_cpu_data.cache_leaves_present;
119 struct cache_desc *cdesc = current_cpu_data.cache_leaves;
157 current_cpu_data.cache_leaves_present = leaf;
158 current_cpu_data.options |= LOONGARCH_CPU_PREFETCH;
H A Dtlb.c70 if (size <= (current_cpu_data.tlbsizestlbsets ?
71 current_cpu_data.tlbsize / 8 :
72 current_cpu_data.tlbsize / 2)) {
95 if (size <= (current_cpu_data.tlbsizestlbsets ?
96 current_cpu_data.tlbsize / 8 :
97 current_cpu_data.tlbsize / 2)) {
/linux-master/arch/mips/kvm/
H A Dtlb.c61 BUG_ON(idx >= current_cpu_data.tlbsize);
274 for (entry = 0; entry < current_cpu_data.tlbsize; entry++) {
340 for (entry = 0; entry < current_cpu_data.guest.tlbsize; entry++) {
512 for (i = current_cpu_data.tlbsizevtlb;
513 i < (current_cpu_data.tlbsizevtlb +
514 current_cpu_data.tlbsizeftlbsets);

Completed in 308 milliseconds

123