Home
last modified time | relevance | path

Searched refs:priv1 (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c45 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and()
46 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and()
53 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or()
54 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or()
59 out_be64(&spu->priv1->int_mask_RW[class], mask); in int_mask_set()
64 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get()
69 out_be64(&spu->priv1->int_stat_RW[class], stat); in int_stat_clear()
74 return in_be64(&spu->priv1->int_stat_RW[class]); in int_stat_get()
92 out_be64(&spu->priv1->int_route_RW, route); in cpu_affinity_set()
97 return in_be64(&spu->priv1->mfc_dar_RW); in mfc_dar_get()
[all …]
DMakefile21 spu-priv1-$(CONFIG_PPC_CELL_COMMON) += spu_priv1_mmio.o
27 $(spu-priv1-y) \
Dspu_manage.c74 iounmap(spu->priv1); in spu_unmap()
165 spu->priv1 = spu_map_prop_old(spu, node, "priv1"); in spu_map_device_old()
166 if (!spu->priv1) in spu_map_device_old()
264 (void __iomem**)&spu->priv1, NULL); in spu_map_device()
276 pr_debug(" priv1 : 0x%p\n", spu->priv1); in spu_map_device()
356 spu->local_store, spu->problem, spu->priv1, in of_create_spu()
/arch/powerpc/platforms/cell/spufs/
Dbacking_ops.c109 ctx->csa.priv1.int_stat_class2_RW &= in spu_backing_mbox_stat_poll()
111 ctx->csa.priv1.int_mask_class2_RW |= in spu_backing_mbox_stat_poll()
119 ctx->csa.priv1.int_stat_class2_RW &= in spu_backing_mbox_stat_poll()
121 ctx->csa.priv1.int_mask_class2_RW |= in spu_backing_mbox_stat_poll()
146 ctx->csa.priv1.int_mask_class2_RW |= CLASS2_ENABLE_MAILBOX_INTR; in spu_backing_ibox_read()
176 ctx->csa.priv1.int_mask_class2_RW |= in spu_backing_wbox_write()
315 sr1 = csa->priv1.mfc_sr1_RW | MFC_STATE1_MASTER_RUN_CONTROL_MASK; in spu_backing_master_start()
316 csa->priv1.mfc_sr1_RW = sr1; in spu_backing_master_start()
326 sr1 = csa->priv1.mfc_sr1_RW & ~MFC_STATE1_MASTER_RUN_CONTROL_MASK; in spu_backing_master_stop()
327 csa->priv1.mfc_sr1_RW = sr1; in spu_backing_master_stop()
Dswitch.c126 csa->priv1.int_mask_class0_RW = spu_int_mask_get(spu, 0); in disable_interrupts()
127 csa->priv1.int_mask_class1_RW = spu_int_mask_get(spu, 1); in disable_interrupts()
128 csa->priv1.int_mask_class2_RW = spu_int_mask_get(spu, 2); in disable_interrupts()
231 csa->priv1.mfc_sr1_RW = spu_mfc_sr1_get(spu); in save_mfc_sr1()
456 csa->priv1.mfc_tclass_id_RW = spu_mfc_tclass_id_get(spu); in save_mfc_tclass_id()
593 csa->priv1.resource_allocation_groupID_RW = in save_mfc_rag()
595 csa->priv1.resource_allocation_enable_RW = in save_mfc_rag()
1247 csa->priv1.resource_allocation_groupID_RW); in restore_mfc_rag()
1249 csa->priv1.resource_allocation_enable_RW); in restore_mfc_rag()
1526 spu_mfc_tclass_id_set(spu, csa->priv1.mfc_tclass_id_RW); in restore_mfc_tclass_id()
[all …]
/arch/powerpc/include/asm/
Dspu_csa.h251 struct spu_priv1_collapsed priv1; member
Dspu.h163 struct spu_priv1 __iomem *priv1; member