Lines Matching defs:cbe
304 static void gru_flush_cache_cbe(struct gru_control_block_extended *cbe)
306 if (unlikely(cbe)) {
307 cbe->cbrexecstatus = 0; /* make CL dirty */
308 gru_flush_cache(cbe);
322 struct gru_control_block_extended *cbe)
327 if (cbe->opccpy != OP_BCOPY)
330 if (fault_vaddr == cbe->cbe_baddr0)
331 vaddr = fault_vaddr + GRU_CACHE_LINE_BYTES * cbe->cbe_src_cl - 1;
332 else if (fault_vaddr == cbe->cbe_baddr1)
333 vaddr = fault_vaddr + (1 << cbe->xtypecpy) * cbe->cbe_nelemcur - 1;
368 struct gru_control_block_extended *cbe = NULL;
384 cbe = gru_tfh_to_cbe(tfh);
385 prefetchw(cbe);
435 if (unlikely(cbe) && pageshift == PAGE_SHIFT) {
436 gru_preload_tlb(gru, gts, atomic, vaddr, asid, write, tlb_preload_count, tfh, cbe);
437 gru_flush_cache_cbe(cbe);
460 gru_flush_cache_cbe(cbe);
466 gru_flush_cache_cbe(cbe);
474 gru_flush_cache_cbe(cbe);
482 gru_flush_cache_cbe(cbe);
493 gru_flush_cache_cbe(cbe);
503 gru_flush_cache_cbe(cbe);
514 gru_flush_cache_cbe(cbe);
697 struct gru_control_block_extended *cbe;
715 cbe = get_cbe_by_index(gts->ts_gru, cbrnum);
716 gru_flush_cache(cbe); /* CBE not coherent */
718 excdet.opc = cbe->opccpy;
719 excdet.exopc = cbe->exopccpy;
720 excdet.ecause = cbe->ecause;
721 excdet.exceptdet0 = cbe->idef1upd;
722 excdet.exceptdet1 = cbe->idef3upd;
723 excdet.cbrstate = cbe->cbrstate;
724 excdet.cbrexecstatus = cbe->cbrexecstatus;
725 gru_flush_cache_cbe(cbe);