Home
last modified time | relevance | path

Searched refs:cbe (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/sgi-gru/
Dgrufault.c304 static void gru_flush_cache_cbe(struct gru_control_block_extended *cbe) in gru_flush_cache_cbe() argument
306 if (unlikely(cbe)) { in gru_flush_cache_cbe()
307 cbe->cbrexecstatus = 0; /* make CL dirty */ in gru_flush_cache_cbe()
308 gru_flush_cache(cbe); in gru_flush_cache_cbe()
322 struct gru_control_block_extended *cbe) in gru_preload_tlb() argument
327 if (cbe->opccpy != OP_BCOPY) in gru_preload_tlb()
330 if (fault_vaddr == cbe->cbe_baddr0) in gru_preload_tlb()
331 vaddr = fault_vaddr + GRU_CACHE_LINE_BYTES * cbe->cbe_src_cl - 1; in gru_preload_tlb()
332 else if (fault_vaddr == cbe->cbe_baddr1) in gru_preload_tlb()
333 vaddr = fault_vaddr + (1 << cbe->xtypecpy) * cbe->cbe_nelemcur - 1; in gru_preload_tlb()
[all …]
Dgrumain.c476 static void gru_prefetch_context(void *gseg, void *cb, void *cbe, in gru_prefetch_context() argument
486 prefetch_data(cbe + i * GRU_HANDLE_STRIDE, 1, in gru_prefetch_context()
496 void *gseg, *cb, *cbe; in gru_load_context_data() local
502 cbe = grubase + GRU_CBE_BASE; in gru_load_context_data()
504 gru_prefetch_context(gseg, cb, cbe, cbrmap, length); in gru_load_context_data()
509 save += gru_copy_handle(cbe + i * GRU_HANDLE_STRIDE, in gru_load_context_data()
513 memset(cbe + i * GRU_HANDLE_STRIDE, 0, in gru_load_context_data()
518 gru_flush_cache(cbe + i * GRU_HANDLE_STRIDE); in gru_load_context_data()
531 void *gseg, *cb, *cbe; in gru_unload_context_data() local
537 cbe = grubase + GRU_CBE_BASE; in gru_unload_context_data()
[all …]
Dgrukservices.c402 struct gru_control_block_extended *cbe; in gru_get_cb_exception_detail() local
425 cbe = get_cbe(GRUBASE(cb), cbrnum); in gru_get_cb_exception_detail()
426 gru_flush_cache(cbe); /* CBE not coherent */ in gru_get_cb_exception_detail()
428 excdet->opc = cbe->opccpy; in gru_get_cb_exception_detail()
429 excdet->exopc = cbe->exopccpy; in gru_get_cb_exception_detail()
430 excdet->ecause = cbe->ecause; in gru_get_cb_exception_detail()
431 excdet->exceptdet0 = cbe->idef1upd; in gru_get_cb_exception_detail()
432 excdet->exceptdet1 = cbe->idef3upd; in gru_get_cb_exception_detail()
433 gru_flush_cache(cbe); in gru_get_cb_exception_detail()
Dgrukdump.c50 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local
55 cbe = grubase + GRU_CBE_BASE; in gru_dump_context_data()
65 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data()
Dgruhandles.h170 unsigned long cbe; in gru_tfh_to_cbe() local
172 cbe = (unsigned long)tfh - GRU_TFH_BASE + GRU_CBE_BASE; in gru_tfh_to_cbe()
173 return (struct gru_control_block_extended*)cbe; in gru_tfh_to_cbe()
/drivers/cpufreq/
DMakefile91 obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
92 ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o