Searched refs:lscsa (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
D | lscsa_alloc.c | 23 struct spu_lscsa *lscsa; in spu_alloc_lscsa() local 26 lscsa = vzalloc(sizeof(*lscsa)); in spu_alloc_lscsa() 27 if (!lscsa) in spu_alloc_lscsa() 29 csa->lscsa = lscsa; in spu_alloc_lscsa() 32 for (p = lscsa->ls; p < lscsa->ls + LS_SIZE; p += PAGE_SIZE) in spu_alloc_lscsa() 43 if (csa->lscsa == NULL) in spu_free_lscsa() 46 for (p = csa->lscsa->ls; p < csa->lscsa->ls + LS_SIZE; p += PAGE_SIZE) in spu_free_lscsa() 49 vfree(csa->lscsa); in spu_free_lscsa()
|
D | file.c | 249 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset); in spufs_mem_mmap_fault() 471 return spufs_dump_emit(cprm, ctx->csa.lscsa->gprs, in spufs_regs_dump() 472 sizeof(ctx->csa.lscsa->gprs)); in spufs_regs_dump() 484 if (*pos >= sizeof(ctx->csa.lscsa->gprs)) in spufs_regs_read() 490 ret = simple_read_from_buffer(buffer, size, pos, ctx->csa.lscsa->gprs, in spufs_regs_read() 491 sizeof(ctx->csa.lscsa->gprs)); in spufs_regs_read() 501 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_regs_write() local 504 if (*pos >= sizeof(lscsa->gprs)) in spufs_regs_write() 511 size = simple_write_to_buffer(lscsa->gprs, sizeof(lscsa->gprs), pos, in spufs_regs_write() 528 return spufs_dump_emit(cprm, &ctx->csa.lscsa->fpcr, in spufs_fpcr_dump() [all …]
|
D | switch.c | 721 spu_setup_kernel_slbs(spu, csa->lscsa, code, code_size); in setup_mfc_slbs() 800 unsigned long addr = (unsigned long)&csa->lscsa->ls[0]; in save_ls_16kb() 844 addr64.ull = (u64) csa->lscsa; in set_signot1() 862 addr64.ull = (u64) csa->lscsa; in set_signot2() 1143 csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P_I; in setup_spu_status_part1() 1144 csa->lscsa->stopped_status.slot[1] = status_code; in setup_spu_status_part1() 1152 csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P_H; in setup_spu_status_part1() 1153 csa->lscsa->stopped_status.slot[1] = status_code; in setup_spu_status_part1() 1160 csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_S_P; in setup_spu_status_part1() 1161 csa->lscsa->stopped_status.slot[1] = status_code; in setup_spu_status_part1() [all …]
|
D | backing_ops.c | 259 return ctx->csa.lscsa->ls; in spu_backing_get_ls()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
D | spu_base.c | 250 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, in spu_setup_kernel_slbs() argument 257 lscsa, (void *)lscsa + sizeof(*lscsa) - 1, in spu_setup_kernel_slbs()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | spu_csa.h | 230 struct spu_lscsa *lscsa; member
|
D | spu.h | 193 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa,
|