Searched refs:lscsa (Results 1 – 7 of 7) sorted by relevance
/linux/arch/powerpc/platforms/cell/spufs/ |
H A 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()
|
H A D | file.c | 249 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset); in spufs_mem_mmap_fault() 470 return spufs_dump_emit(cprm, ctx->csa.lscsa->gprs, in spufs_regs_dump() 471 sizeof(ctx->csa.lscsa->gprs)); in spufs_regs_dump() 483 if (*pos >= sizeof(ctx->csa.lscsa->gprs)) in spufs_regs_read() 489 ret = simple_read_from_buffer(buffer, size, pos, ctx->csa.lscsa->gprs, in spufs_regs_read() 490 sizeof(ctx->csa.lscsa->gprs)); in spufs_regs_read() 500 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_regs_write() local 503 if (*pos >= sizeof(lscsa->gprs)) in spufs_regs_write() 510 size = simple_write_to_buffer(lscsa->gprs, sizeof(lscsa->gprs), pos, in spufs_regs_write() 527 return spufs_dump_emit(cprm, &ctx->csa.lscsa->fpcr, in spufs_fpcr_dump() [all …]
|
H A 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 …]
|
H A D | backing_ops.c | 259 return ctx->csa.lscsa->ls; in spu_backing_get_ls()
|
/linux/arch/powerpc/platforms/cell/ |
H A D | spu_base.c | 249 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, in spu_setup_kernel_slbs() argument 256 lscsa, (void *)lscsa + sizeof(*lscsa) - 1, in spu_setup_kernel_slbs()
|
/linux/arch/powerpc/include/asm/ |
H A D | spu_csa.h | 230 struct spu_lscsa *lscsa; member
|
H A D | spu.h | 193 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa,
|