Searched refs:lscsa (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/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 | 242 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset); in spufs_mem_mmap_fault() 465 struct spu_lscsa *lscsa = ctx->csa.lscsa; in __spufs_regs_read() local 467 lscsa->gprs, sizeof lscsa->gprs); in __spufs_regs_read() 479 if (*pos >= sizeof(ctx->csa.lscsa->gprs)) in spufs_regs_read() 495 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_regs_write() local 498 if (*pos >= sizeof(lscsa->gprs)) in spufs_regs_write() 505 size = simple_write_to_buffer(lscsa->gprs, sizeof(lscsa->gprs), pos, in spufs_regs_write() 523 struct spu_lscsa *lscsa = ctx->csa.lscsa; in __spufs_fpcr_read() local 525 &lscsa->fpcr, sizeof(lscsa->fpcr)); in __spufs_fpcr_read() 548 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_fpcr_write() local [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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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,
|