Home
last modified time | relevance | path

Searched refs:priv2 (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dswitch.c169 struct spu_priv2 __iomem *priv2 = spu->priv2; in save_mfc_cntl() local
174 switch (in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
177 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
183 csa->priv2.mfc_control_RW = in save_mfc_cntl()
184 in_be64(&priv2->mfc_control_RW) | in save_mfc_cntl()
188 out_be64(&priv2->mfc_control_RW, MFC_CNTL_SUSPEND_DMA_QUEUE); in save_mfc_cntl()
189 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
193 csa->priv2.mfc_control_RW = in save_mfc_cntl()
194 in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
249 struct spu_priv2 __iomem *priv2 = spu->priv2; in save_mfc_stopped_status() local
[all …]
Dhw_ops.c86 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_hw_ibox_read() local
92 *data = in_be64(&priv2->puint_mb_R); in spu_hw_ibox_read()
137 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_hw_signal1_type_set() local
141 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal1_type_set()
146 out_be64(&priv2->spu_cfg_RW, tmp); in spu_hw_signal1_type_set()
152 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 1) != 0); in spu_hw_signal1_type_get()
158 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_hw_signal2_type_set() local
162 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal2_type_set()
167 out_be64(&priv2->spu_cfg_RW, tmp); in spu_hw_signal2_type_set()
173 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 2) != 0); in spu_hw_signal2_type_get()
[all …]
Dbacking_ops.c125 *data = ctx->csa.priv2.puint_mb_R; in spu_backing_ibox_read()
178 if (ctx->csa.priv2.spu_cfg_RW & 0x1) in spu_backing_signal1_write()
195 if (ctx->csa.priv2.spu_cfg_RW & 0x2) in spu_backing_signal2_write()
209 tmp = ctx->csa.priv2.spu_cfg_RW; in spu_backing_signal1_type_set()
214 ctx->csa.priv2.spu_cfg_RW = tmp; in spu_backing_signal1_type_set()
220 return ((ctx->csa.priv2.spu_cfg_RW & 1) != 0); in spu_backing_signal1_type_get()
228 tmp = ctx->csa.priv2.spu_cfg_RW; in spu_backing_signal2_type_set()
233 ctx->csa.priv2.spu_cfg_RW = tmp; in spu_backing_signal2_type_set()
239 return ((ctx->csa.priv2.spu_cfg_RW & 2) != 0); in spu_backing_signal2_type_get()
264 ctx->csa.priv2.spu_privcntl_RW = val; in spu_backing_privcntl_write()
[all …]
Dfile.c1816 ctx->csa.priv2.mfc_control_RW |= MFC_CNTL_DECREMENTER_RUNNING; in spufs_decr_status_set()
1818 ctx->csa.priv2.mfc_control_RW &= ~MFC_CNTL_DECREMENTER_RUNNING; in spufs_decr_status_set()
1826 if (ctx->csa.priv2.mfc_control_RW & MFC_CNTL_DECREMENTER_RUNNING) in spufs_decr_status_get()
1928 return ctx->csa.priv2.spu_lslr_RW; in spufs_lslr_get()
2013 data = ctx->csa.priv2.puint_mb_R; in __spufs_ibox_info_read()
2094 info.dma_info_type = ctx->csa.priv2.spu_tag_status_query_RW; in __spufs_dma_info_read()
2101 spuqp = &ctx->csa.priv2.spuq[i]; in __spufs_dma_info_read()
2158 puqp = &ctx->csa.priv2.puq[i]; in __spufs_proxydma_info_read()
2512 struct spu_priv2 __iomem *priv2 = spu->priv2; in spufs_show_ctx() local
2515 mfc_control_RW = in_be64(&priv2->mfc_control_RW); in spufs_show_ctx()
[all …]
Drun.c104 mfc_cntl = &ctx->spu->priv2->mfc_control_RW; in spu_setup_isolated()
/Linux-v5.4/arch/powerpc/platforms/cell/
Dspu_base.c68 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_invalidate_slbs() local
73 out_be64(&priv2->slb_invalidate_all_W, 0UL); in spu_invalidate_slbs()
125 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_restart_dma() local
128 out_be64(&priv2->mfc_control_RW, MFC_CNTL_RESTART_DMA_COMMAND); in spu_restart_dma()
137 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_load_slb() local
142 out_be64(&priv2->slb_index_W, slbe); in spu_load_slb()
144 out_be64(&priv2->slb_esid_RW, 0); in spu_load_slb()
146 out_be64(&priv2->slb_vsid_RW, slb->vsid); in spu_load_slb()
148 out_be64(&priv2->slb_esid_RW, slb->esid); in spu_load_slb()
453 struct spu_priv2 __iomem *priv2; in spu_init_channels() local
[all …]
Dspu_manage.c62 iounmap(spu->priv2); in spu_unmap()
150 spu->priv2 = spu_map_prop_old(spu, node, "priv2"); in spu_map_device_old()
151 if (!spu->priv2) in spu_map_device_old()
232 ret = spu_map_resource(spu, 2, (void __iomem**)&spu->priv2, NULL); in spu_map_device()
251 pr_debug(" priv2 : 0x%p\n", spu->priv2); in spu_map_device()
333 spu->priv2, spu->number); in of_create_spu()
/Linux-v5.4/arch/powerpc/platforms/ps3/
Dspu.c123 static void _dump_areas(unsigned int spe_id, unsigned long priv2, in _dump_areas() argument
128 pr_debug("%s:%d: priv2: %lxh\n", func, line, priv2); in _dump_areas()
177 iounmap(spu->priv2); in spu_unmap()
218 spu->priv2 = ioremap(spu_pdata(spu)->priv2_addr, in setup_areas()
221 if (!spu->priv2) { in setup_areas()
229 dump_areas(spu_pdata(spu)->spe_id, (unsigned long)spu->priv2, in setup_areas()
/Linux-v5.4/arch/powerpc/include/asm/
Dspu_csa.h233 struct spu_priv2_collapsed priv2; member
Dspu.h114 struct spu_priv2 __iomem *priv2; member
/Linux-v5.4/drivers/usb/gadget/function/
Duvc_configfs.c1983 void *priv2, void *priv3, in __uvcg_iter_strm_cls() argument
1996 ret = fun(h, priv2, priv3, 0, UVCG_HEADER); in __uvcg_iter_strm_cls()
2000 ret = fun(f->fmt, priv2, priv3, i++, UVCG_FORMAT); in __uvcg_iter_strm_cls()
2006 ret = fun(frm, priv2, priv3, j++, UVCG_FRAME); in __uvcg_iter_strm_cls()
2023 static int __uvcg_cnt_strm(void *priv1, void *priv2, void *priv3, int n, in __uvcg_cnt_strm() argument
2026 size_t *size = priv2; in __uvcg_cnt_strm()
2079 static int __uvcg_fill_strm(void *priv1, void *priv2, void *priv3, int n, in __uvcg_fill_strm() argument
2082 void **dest = priv2; in __uvcg_fill_strm()
/Linux-v5.4/arch/powerpc/xmon/
Dxmon.c4035 DUMP_FIELD(spu, "0x%p", priv2); in dump_spu_fields()