Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/cell/
H A Dspu_base.c223 * Given an array of @nr_slbs SLB entries, @slbs, return non-zero if the
226 static inline int __slb_present(struct copro_slb *slbs, int nr_slbs, in __slb_present() argument
233 if (!((slbs[i].esid ^ ea) & ESID_MASK)) in __slb_present()
251 struct copro_slb slbs[4]; in spu_setup_kernel_slbs() local
259 /* check the set of addresses, and create a new entry in the slbs array in spu_setup_kernel_slbs()
262 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs()
265 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs()
272 spu_load_slb(spu, i, &slbs[i]); in spu_setup_kernel_slbs()