Lines Matching refs:lscsa
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()
529 sizeof(ctx->csa.lscsa->fpcr)); in spufs_fpcr_dump()
542 ret = simple_read_from_buffer(buffer, size, pos, &ctx->csa.lscsa->fpcr, in spufs_fpcr_read()
543 sizeof(ctx->csa.lscsa->fpcr)); in spufs_fpcr_read()
553 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_fpcr_write() local
556 if (*pos >= sizeof(lscsa->fpcr)) in spufs_fpcr_write()
563 size = simple_write_to_buffer(&lscsa->fpcr, sizeof(lscsa->fpcr), pos, in spufs_fpcr_write()
1774 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_decr_set() local
1780 lscsa->decr.slot[0] = (u32) val; in spufs_decr_set()
1788 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_decr_get() local
1789 return lscsa->decr.slot[0]; in spufs_decr_get()
1825 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_event_mask_set() local
1831 lscsa->event_mask.slot[0] = (u32) val; in spufs_event_mask_set()
1839 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_event_mask_get() local
1840 return lscsa->event_mask.slot[0]; in spufs_event_mask_get()
1862 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_srr0_set() local
1868 lscsa->srr0.slot[0] = (u32) val; in spufs_srr0_set()
1876 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_srr0_get() local
1877 return lscsa->srr0.slot[0]; in spufs_srr0_get()
2071 info->dma_info_mask = ctx->csa.lscsa->tag_mask.slot[0]; in spufs_get_dma_info()