Lines Matching refs:lscsa

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
551 if (*pos >= sizeof(lscsa->fpcr)) in spufs_fpcr_write()
558 size = simple_write_to_buffer(&lscsa->fpcr, sizeof(lscsa->fpcr), pos, in spufs_fpcr_write()
1787 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_decr_set() local
1793 lscsa->decr.slot[0] = (u32) val; in spufs_decr_set()
1801 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_decr_get() local
1802 return lscsa->decr.slot[0]; in spufs_decr_get()
1838 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_event_mask_set() local
1844 lscsa->event_mask.slot[0] = (u32) val; in spufs_event_mask_set()
1852 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_event_mask_get() local
1853 return lscsa->event_mask.slot[0]; in spufs_event_mask_get()
1875 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_srr0_set() local
1881 lscsa->srr0.slot[0] = (u32) val; in spufs_srr0_set()
1889 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_srr0_get() local
1890 return lscsa->srr0.slot[0]; in spufs_srr0_get()
2095 info.dma_info_mask = ctx->csa.lscsa->tag_mask.slot[0]; in __spufs_dma_info_read()