Home
last modified time | relevance | path

Searched refs:prob (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/platforms/cell/spufs/
Dswitch.c83 struct spu_problem __iomem *prob = spu->problem; in check_spu_isolate() local
94 return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0; in check_spu_isolate()
203 struct spu_problem __iomem *prob = spu->problem; in save_spu_runcntl() local
209 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW); in save_spu_runcntl()
222 struct spu_problem __iomem *prob = spu->problem; in save_spu_status() local
227 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) { in save_spu_status()
228 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status()
232 out_be32(&prob->spu_runcntl_RW, SPU_RUNCNTL_STOP); in save_spu_status()
234 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in save_spu_status()
239 if ((in_be32(&prob->spu_status_R) & stopped) == 0) in save_spu_status()
[all …]
Dbacking_ops.c55 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read()
61 *data = ctx->csa.prob.pu_mb_R; in spu_backing_mbox_read()
62 ctx->csa.prob.mb_stat_R &= ~(0x0000ff); in spu_backing_mbox_read()
73 return ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_read()
84 stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_poll()
120 if (ctx->csa.prob.mb_stat_R & 0xff0000) { in spu_backing_ibox_read()
126 ctx->csa.prob.mb_stat_R &= ~(0xff0000); in spu_backing_ibox_read()
144 if ((ctx->csa.prob.mb_stat_R) & 0x00ff00) { in spu_backing_wbox_write()
146 int avail = (ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8; in spu_backing_wbox_write()
155 ctx->csa.prob.mb_stat_R &= ~(0x00ff00); in spu_backing_wbox_write()
[all …]
Dhw_ops.c27 struct spu_problem __iomem *prob = spu->problem; in spu_hw_mbox_read() local
32 mbox_stat = in_be32(&prob->mb_stat_R); in spu_hw_mbox_read()
34 *data = in_be32(&prob->pu_mb_R); in spu_hw_mbox_read()
85 struct spu_problem __iomem *prob = spu->problem; in spu_hw_ibox_read() local
90 if (in_be32(&prob->mb_stat_R) & 0xff0000) { in spu_hw_ibox_read()
106 struct spu_problem __iomem *prob = spu->problem; in spu_hw_wbox_write() local
110 if (in_be32(&prob->mb_stat_R) & 0x00ff00) { in spu_hw_wbox_write()
112 out_be32(&prob->spu_mb_W, data); in spu_hw_wbox_write()
249 struct spu_problem __iomem *prob = ctx->spu->problem; in spu_hw_set_mfc_query() local
254 if (in_be32(&prob->dma_querytype_RW)) in spu_hw_set_mfc_query()
[all …]
Dfile.c1954 if (!(ctx->csa.prob.mb_stat_R & 0x0000ff)) in spufs_mbox_info_dump()
1956 return spufs_dump_emit(cprm, &ctx->csa.prob.pu_mb_R, in spufs_mbox_info_dump()
1957 sizeof(ctx->csa.prob.pu_mb_R)); in spufs_mbox_info_dump()
1971 stat = ctx->csa.prob.mb_stat_R; in spufs_mbox_info_read()
1972 data = ctx->csa.prob.pu_mb_R; in spufs_mbox_info_read()
1992 if (!(ctx->csa.prob.mb_stat_R & 0xff0000)) in spufs_ibox_info_dump()
2009 stat = ctx->csa.prob.mb_stat_R; in spufs_ibox_info_read()
2029 return (4 - ((ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8)) * sizeof(u32); in spufs_wbox_info_cnt()
2125 info->proxydma_info_type = ctx->csa.prob.dma_querytype_RW; in spufs_get_proxydma_info()
2126 info->proxydma_info_mask = ctx->csa.prob.dma_querymask_RW; in spufs_get_proxydma_info()
[all …]
/arch/powerpc/include/asm/
Dspu_csa.h231 struct spu_problem_collapsed prob; member