Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
H A Dspu_base.c225 * Given an array of @nr_slbs SLB entries, @slbs, return non-zero if the
228 static inline int __slb_present(struct copro_slb *slbs, int nr_slbs, in __slb_present() argument
235 if (!((slbs[i].esid ^ ea) & ESID_MASK)) in __slb_present()
253 struct copro_slb slbs[4]; in spu_setup_kernel_slbs() local
261 /* check the set of addresses, and create a new entry in the slbs array in spu_setup_kernel_slbs()
264 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs()
267 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs()
274 spu_load_slb(spu, i, &slbs[i]); in spu_setup_kernel_slbs()
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
H A Dspu_base.c224 * Given an array of @nr_slbs SLB entries, @slbs, return non-zero if the
227 static inline int __slb_present(struct copro_slb *slbs, int nr_slbs, in __slb_present() argument
234 if (!((slbs[i].esid ^ ea) & ESID_MASK)) in __slb_present()
252 struct copro_slb slbs[4]; in spu_setup_kernel_slbs() local
260 /* check the set of addresses, and create a new entry in the slbs array in spu_setup_kernel_slbs()
263 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs()
266 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs()
273 spu_load_slb(spu, i, &slbs[i]); in spu_setup_kernel_slbs()

Completed in 2 milliseconds