Searched refs:lscsa (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/platforms/cell/spufs/ |
D | lscsa_alloc.c | 36 struct spu_lscsa *lscsa; in spu_alloc_lscsa_std() local 39 lscsa = vzalloc(sizeof(struct spu_lscsa)); in spu_alloc_lscsa_std() 40 if (!lscsa) in spu_alloc_lscsa_std() 42 csa->lscsa = lscsa; in spu_alloc_lscsa_std() 45 for (p = lscsa->ls; p < lscsa->ls + LS_SIZE; p += PAGE_SIZE) in spu_alloc_lscsa_std() 56 if (csa->lscsa == NULL) in spu_free_lscsa_std() 59 for (p = csa->lscsa->ls; p < csa->lscsa->ls + LS_SIZE; p += PAGE_SIZE) in spu_free_lscsa_std() 62 vfree(csa->lscsa); in spu_free_lscsa_std() 119 csa->lscsa = vmap(pgarray, n_4k, VM_USERMAP, PAGE_KERNEL); in spu_alloc_lscsa() 121 if (csa->lscsa == NULL) in spu_alloc_lscsa() [all …]
|
D | file.c | 271 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset); in spufs_mem_mmap_fault() 533 struct spu_lscsa *lscsa = ctx->csa.lscsa; in __spufs_regs_read() local 535 lscsa->gprs, sizeof lscsa->gprs); in __spufs_regs_read() 547 if (*pos >= sizeof(ctx->csa.lscsa->gprs)) in spufs_regs_read() 563 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_regs_write() local 566 if (*pos >= sizeof(lscsa->gprs)) in spufs_regs_write() 573 size = simple_write_to_buffer(lscsa->gprs, sizeof(lscsa->gprs), pos, in spufs_regs_write() 591 struct spu_lscsa *lscsa = ctx->csa.lscsa; in __spufs_fpcr_read() local 593 &lscsa->fpcr, sizeof(lscsa->fpcr)); in __spufs_fpcr_read() 616 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_fpcr_write() local [all …]
|
D | switch.c | 735 spu_setup_kernel_slbs(spu, csa->lscsa, code, code_size); in setup_mfc_slbs() 814 unsigned long addr = (unsigned long)&csa->lscsa->ls[0]; in save_ls_16kb() 858 addr64.ull = (u64) csa->lscsa; in set_signot1() 876 addr64.ull = (u64) csa->lscsa; in set_signot2() 1157 csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P_I; in setup_spu_status_part1() 1158 csa->lscsa->stopped_status.slot[1] = status_code; in setup_spu_status_part1() 1166 csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P_H; in setup_spu_status_part1() 1167 csa->lscsa->stopped_status.slot[1] = status_code; in setup_spu_status_part1() 1174 csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_S_P; in setup_spu_status_part1() 1175 csa->lscsa->stopped_status.slot[1] = status_code; in setup_spu_status_part1() [all …]
|
D | backing_ops.c | 272 return ctx->csa.lscsa->ls; in spu_backing_get_ls()
|
/arch/powerpc/platforms/cell/ |
D | spu_base.c | 260 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, in spu_setup_kernel_slbs() argument 267 lscsa, (void *)lscsa + sizeof(*lscsa) - 1, in spu_setup_kernel_slbs()
|
/arch/powerpc/include/asm/ |
D | spu_csa.h | 243 struct spu_lscsa *lscsa; member
|
D | spu.h | 206 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa,
|