Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1777 ctx->csa.priv2.mfc_control_RW |= MFC_CNTL_DECREMENTER_RUNNING; in spufs_decr_status_set()
1779 ctx->csa.priv2.mfc_control_RW &= ~MFC_CNTL_DECREMENTER_RUNNING; in spufs_decr_status_set()
1787 if (ctx->csa.priv2.mfc_control_RW & MFC_CNTL_DECREMENTER_RUNNING) in spufs_decr_status_get()
1889 return ctx->csa.priv2.spu_lslr_RW; in spufs_lslr_get()
1968 return spufs_dump_emit(cprm, &ctx->csa.priv2.puint_mb_R, in spufs_ibox_info_dump()
1969 sizeof(ctx->csa.priv2.puint_mb_R)); in spufs_ibox_info_dump()
1984 data = ctx->csa.priv2.puint_mb_R; in spufs_ibox_info_read()
2044 info->dma_info_type = ctx->csa.priv2.spu_tag_status_query_RW; in spufs_get_dma_info()
2051 struct mfc_cq_sr *spuqp = &ctx->csa.priv2.spuq[i]; in spufs_get_dma_info()
2104 struct mfc_cq_sr *puqp = &ctx->csa.priv2.puq[i]; in spufs_get_proxydma_info()
[all …]
Drun.c104 mfc_cntl = &ctx->spu->priv2->mfc_control_RW; in spu_setup_isolated()
/linux-6.12.1/include/linux/
Diov_iter.h16 void *priv, void *priv2);
18 void *priv, void *priv2);
24 size_t iterate_ubuf(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_ubuf() argument
30 remain = step(base + iter->iov_offset, 0, len, priv, priv2); in iterate_ubuf()
41 size_t iterate_iovec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_iovec() argument
52 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_iovec()
75 size_t iterate_kvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_kvec() argument
86 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_kvec()
109 size_t iterate_bvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_bvec() argument
123 remain = step(kaddr + offset % PAGE_SIZE, progress, part, priv, priv2); in iterate_bvec()
[all …]
/linux-6.12.1/arch/powerpc/platforms/cell/
Dspu_base.c67 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_invalidate_slbs() local
72 out_be64(&priv2->slb_invalidate_all_W, 0UL); in spu_invalidate_slbs()
124 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_restart_dma() local
127 out_be64(&priv2->mfc_control_RW, MFC_CNTL_RESTART_DMA_COMMAND); in spu_restart_dma()
136 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_load_slb() local
141 out_be64(&priv2->slb_index_W, slbe); in spu_load_slb()
143 out_be64(&priv2->slb_esid_RW, 0); in spu_load_slb()
145 out_be64(&priv2->slb_vsid_RW, slb->vsid); in spu_load_slb()
147 out_be64(&priv2->slb_esid_RW, slb->esid); in spu_load_slb()
446 struct spu_priv2 __iomem *priv2; in spu_init_channels() local
[all …]
Dspu_manage.c64 iounmap(spu->priv2); in spu_unmap()
152 spu->priv2 = spu_map_prop_old(spu, node, "priv2"); in spu_map_device_old()
153 if (!spu->priv2) in spu_map_device_old()
234 ret = spu_map_resource(spu, 2, (void __iomem**)&spu->priv2, NULL); in spu_map_device()
253 pr_debug(" priv2 : 0x%p\n", spu->priv2); in spu_map_device()
335 spu->priv2, spu->number); in of_create_spu()
/linux-6.12.1/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-6.12.1/lib/
Diov_iter.c18 size_t len, void *from, void *priv2) in copy_to_user_iter() argument
32 size_t len, void *from, void *priv2) in copy_to_user_iter_nofault() argument
46 size_t len, void *to, void *priv2) in copy_from_user_iter() argument
63 size_t len, void *from, void *priv2) in memcpy_to_iter() argument
71 size_t len, void *to, void *priv2) in memcpy_from_iter() argument
193 size_t len, void *from, void *priv2) in copy_to_user_iter_mc() argument
205 size_t len, void *from, void *priv2) in memcpy_to_iter_mc() argument
266 size_t len, void *to, void *priv2) in copy_from_user_iter_nocache() argument
285 size_t len, void *to, void *priv2) in copy_from_user_iter_flushcache() argument
292 size_t len, void *to, void *priv2) in memcpy_from_iter_flushcache() argument
[all …]
/linux-6.12.1/net/core/
Ddatagram.c744 size_t len, void *from, void *priv2) in copy_to_user_iter_csum() argument
746 __wsum next, *csum = priv2; in copy_to_user_iter_csum()
755 size_t len, void *from, void *priv2) in memcpy_to_iter_csum() argument
757 __wsum *csum = priv2; in memcpy_to_iter_csum()
Dskbuff.c7257 size_t len, void *to, void *priv2) in memcpy_from_iter_csum() argument
7259 __wsum *csum = priv2; in memcpy_from_iter_csum()
7268 size_t len, void *to, void *priv2) in copy_from_user_iter_csum() argument
7270 __wsum next, *csum = priv2; in copy_from_user_iter_csum()
/linux-6.12.1/arch/powerpc/include/asm/
Dspu_csa.h233 struct spu_priv2_collapsed priv2; member
Dspu.h114 struct spu_priv2 __iomem *priv2; member
/linux-6.12.1/fs/smb/client/
Dcifsencrypt.c29 void *priv, void *priv2) in cifs_shash_step() argument
32 int ret, *pret = priv2; in cifs_shash_step()
/linux-6.12.1/drivers/usb/gadget/function/
Duvc_configfs.c2894 void *priv2, void *priv3, in __uvcg_iter_strm_cls() argument
2907 ret = fun(h, priv2, priv3, 0, UVCG_HEADER); in __uvcg_iter_strm_cls()
2911 ret = fun(f->fmt, priv2, priv3, i++, UVCG_FORMAT); in __uvcg_iter_strm_cls()
2917 ret = fun(frm, priv2, priv3, j++, UVCG_FRAME); in __uvcg_iter_strm_cls()
2922 ret = fun(f->fmt->color_matching, priv2, priv3, 0, in __uvcg_iter_strm_cls()
2939 static int __uvcg_cnt_strm(void *priv1, void *priv2, void *priv3, int n, in __uvcg_cnt_strm() argument
2942 size_t *size = priv2; in __uvcg_cnt_strm()
3001 static int __uvcg_fill_strm(void *priv1, void *priv2, void *priv3, int n, in __uvcg_fill_strm() argument
3004 void **dest = priv2; in __uvcg_fill_strm()
/linux-6.12.1/include/trace/events/
Dext4.h2702 TP_PROTO(struct super_block *sb, int tag, int ino, int priv1, int priv2),
2704 TP_ARGS(sb, tag, ino, priv1, priv2),
2711 __field(int, priv2)
2719 __entry->priv2 = priv2;
2724 __entry->tag, __entry->ino, __entry->priv1, __entry->priv2)
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c4272 DUMP_FIELD(spu, "0x%p", priv2); in dump_spu_fields()