Home
last modified time | relevance | path

Searched refs:spu (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.15/arch/powerpc/include/asm/
H A Dspu_priv1.h27 u64 (*mfc_dar_get) (struct spu *spu);
28 u64 (*mfc_dsisr_get) (struct spu *spu);
30 void (*mfc_sdr_setup) (struct spu *spu);
32 u64 (*mfc_sr1_get) (struct spu *spu);
87 spu_mfc_dar_get (struct spu *spu) in spu_mfc_dar_get() argument
93 spu_mfc_dsisr_get (struct spu *spu) in spu_mfc_dsisr_get() argument
105 spu_mfc_sdr_setup (struct spu *spu) in spu_mfc_sdr_setup() argument
117 spu_mfc_sr1_get (struct spu *spu) in spu_mfc_sr1_get() argument
135 spu_tlb_invalidate (struct spu *spu) in spu_tlb_invalidate() argument
169 int (*destroy_spu)(struct spu *spu);
[all …]
H A Dspu.h108 struct spu { struct
136 void (* wbox_callback)(struct spu *spu); argument
137 void (* ibox_callback)(struct spu *spu); argument
138 void (* stop_callback)(struct spu *spu, int irq); argument
139 void (* mfc_callback)(struct spu *spu); argument
190 void spu_init_channels(struct spu *spu); argument
191 void spu_irq_setaffinity(struct spu *spu, int cpu);
193 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa,
196 extern void spu_invalidate_slbs(struct spu *spu);
197 extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm);
/linux-6.15/arch/powerpc/platforms/cell/
H A Dspu_base.c81 struct spu *spu; in spu_flush_all_slbs() local
280 struct spu *spu; in spu_irq_class_0() local
304 struct spu *spu; in spu_irq_class_1() local
339 struct spu *spu; in spu_irq_class_2() local
474 struct spu *spu; in spu_add_dev_attr() local
487 struct spu *spu; in spu_add_dev_attr_group() local
515 struct spu *spu; in spu_remove_dev_attr() local
526 struct spu *spu; in spu_remove_dev_attr_group() local
555 struct spu *spu; in create_spu() local
663 struct spu *spu; member
[all …]
/linux-6.15/arch/powerpc/platforms/cell/spufs/
H A Dswitch.c64 static inline void acquire_spu_lock(struct spu *spu) in acquire_spu_lock() argument
73 static inline void release_spu_lock(struct spu *spu) in release_spu_lock() argument
247 struct spu *spu) in save_mfc_stopped_status() argument
286 struct spu *spu) in remove_other_spu_access() argument
320 struct spu *spu) in handle_pending_interrupts() argument
962 struct spu *spu) in suspend_mfc_and_halt_decr() argument
976 struct spu *spu) in wait_suspend_mfc_complete() argument
1111 struct spu *spu) in setup_spu_status_part1() argument
1203 struct spu *spu) in setup_spu_status_part2() argument
1704 struct spu *spu) in restore_other_spu_access() argument
[all …]
H A Dhw_ops.c26 struct spu *spu = ctx->spu; in spu_hw_mbox_read() local
48 struct spu *spu = ctx->spu; in spu_hw_mbox_stat_poll() local
72 spu_int_stat_clear(spu, 2, in spu_hw_mbox_stat_poll()
74 spu_int_mask_or(spu, 2, in spu_hw_mbox_stat_poll()
84 struct spu *spu = ctx->spu; in spu_hw_ibox_read() local
105 struct spu *spu = ctx->spu; in spu_hw_wbox_write() local
136 struct spu *spu = ctx->spu; in spu_hw_signal1_type_set() local
157 struct spu *spu = ctx->spu; in spu_hw_signal2_type_set() local
227 struct spu *spu = ctx->spu; in spu_hw_master_start() local
232 spu_mfc_sr1_set(spu, sr1); in spu_hw_master_start()
[all …]
H A Dsched.c186 struct spu *spu; in do_notify_spus_active() local
224 ctx->spu = spu; in spu_bind_context()
291 struct spu *spu; in aff_ref_location() local
365 struct spu *spu; in ctx_location() local
614 struct spu *spu; in find_victim() local
770 struct spu *spu; in spu_activate() local
846 struct spu *spu = ctx->spu; in __spu_deactivate() local
919 spu = ctx->spu; in spusched_tick()
990 struct spu *spu; in spusched_thread() local
1024 struct spu *spu; in spuctx_switch_state() local
[all …]
H A Dspufs.h68 struct spu *spu; /* pointer to a physical SPU */ member
152 struct spu *aff_ref_spu;
286 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx,
332 void spufs_ibox_callback(struct spu *spu);
333 void spufs_wbox_callback(struct spu *spu);
334 void spufs_stop_callback(struct spu *spu, int irq);
335 void spufs_mfc_callback(struct spu *spu);
336 void spufs_dma_callback(struct spu *spu, int type);
348 extern int spu_save(struct spu_state *prev, struct spu *spu);
349 extern int spu_restore(struct spu_state *new, struct spu *spu);
[all …]
H A Dsputrace.h12 TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name),
13 TP_ARGS(ctx, spu, name),
24 __entry->number = spu ? spu->number : -1;
31 #define spu_context_trace(name, ctx, spu) \ argument
32 trace_spufs_context(ctx, spu, __stringify(name))
H A Drun.c15 void spufs_stop_callback(struct spu *spu, int irq) in spufs_stop_callback() argument
17 struct spu_context *ctx = spu->ctx; in spufs_stop_callback()
30 ctx->csa.class_0_pending = spu->class_0_pending; in spufs_stop_callback()
31 ctx->csa.class_0_dar = spu->class_0_dar; in spufs_stop_callback()
34 ctx->csa.class_1_dsisr = spu->class_1_dsisr; in spufs_stop_callback()
35 ctx->csa.class_1_dar = spu->class_1_dar; in spufs_stop_callback()
104 mfc_cntl = &ctx->spu->priv2->mfc_control_RW; in spu_setup_isolated()
125 sr1 = spu_mfc_sr1_get(ctx->spu); in spu_setup_isolated()
127 spu_mfc_sr1_set(ctx->spu, sr1); in spu_setup_isolated()
170 spu_mfc_sr1_set(ctx->spu, sr1); in spu_setup_isolated()
H A Dfault.c115 ctx->spu->stats.hash_flt++; in spufs_handle_class1()
155 ctx->spu->stats.maj_flt++; in spufs_handle_class1()
157 ctx->spu->stats.min_flt++; in spufs_handle_class1()
160 if (ctx->spu) in spufs_handle_class1()
H A Dfile.c674 void spufs_ibox_callback(struct spu *spu) in spufs_ibox_callback() argument
676 struct spu_context *ctx = spu->ctx; in spufs_ibox_callback()
805 void spufs_wbox_callback(struct spu *spu) in spufs_wbox_callback() argument
807 struct spu_context *ctx = spu->ctx; in spufs_wbox_callback()
1458 void spufs_mfc_callback(struct spu *spu) in spufs_mfc_callback() argument
1861 num = ctx->spu->number; in spufs_id_get()
2436 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify() argument
2448 p->spu_id = spu ? spu->number : -1; in spu_switch_log_notify()
2465 if (ctx->spu) { in spufs_show_ctx()
2466 struct spu *spu = ctx->spu; in spufs_show_ctx() local
[all …]
H A DMakefile13 SPU_CROSS := spu-
/linux-6.15/arch/powerpc/platforms/ps3/
H A Dspu.c175 static void spu_unmap(struct spu *spu) in spu_unmap() argument
210 spu->problem = ioremap(spu->problem_phys, in setup_areas()
227 spu->problem_phys, spu->local_store_phys, in setup_areas()
270 spu->irqs[0] = spu->irqs[1] = spu->irqs[2] = 0; in setup_interrupts()
307 static int ps3_destroy_spu(struct spu *spu) in ps3_destroy_spu() argument
320 spu->irqs[0] = spu->irqs[1] = spu->irqs[2] = 0; in ps3_destroy_spu()
512 static u64 mfc_dar_get(struct spu *spu) in mfc_dar_get() argument
522 static u64 mfc_dsisr_get(struct spu *spu) in mfc_dsisr_get() argument
527 static void mfc_sdr_setup(struct spu *spu) in mfc_sdr_setup() argument
548 static u64 mfc_sr1_get(struct spu *spu) in mfc_sr1_get() argument
[all …]
H A DMakefile8 obj-$(CONFIG_SPU_BASE) += spu.o
/linux-6.15/drivers/crypto/bcm/
H A Dcipher.c139 struct spu_hw *spu = &iproc_priv.spu; in spu_skcipher_rx_sg_create() local
202 struct spu_hw *spu = &iproc_priv.spu; in spu_skcipher_tx_sg_create() local
302 struct spu_hw *spu = &iproc_priv.spu; in handle_skcipher_req() local
473 struct spu_hw *spu = &iproc_priv.spu; in handle_skcipher_resp() local
531 struct spu_hw *spu = &iproc_priv.spu; in spu_ahash_rx_sg_create() local
585 struct spu_hw *spu = &iproc_priv.spu; in spu_ahash_tx_sg_create() local
655 struct spu_hw *spu = &iproc_priv.spu; in handle_ahash_req() local
946 struct spu_hw *spu = &iproc_priv.spu; in ahash_req_done() local
1050 struct spu_hw *spu = &iproc_priv.spu; in spu_aead_rx_sg_create() local
1173 struct spu_hw *spu = &iproc_priv.spu; in spu_aead_tx_sg_create() local
[all …]
H A Dutil.c373 ipriv->spu.num_spu); in spu_debugfs_read()
455 if (ipriv->spu.spu_type == SPU_TYPE_SPUM) in spu_debugfs_read()
456 for (i = 0; i < ipriv->spu.num_spu; i++) { in spu_debugfs_read()
457 spu_ofifo_ctrl = ioread32(ipriv->spu.reg_vbase[i] + in spu_debugfs_read()
H A DMakefile14 bcm_crypto_spu-objs := util.o spu.o spu2.o cipher.o
/linux-6.15/arch/powerpc/kernel/syscalls/
H A Dsyscall.tbl25 13 spu time sys_time
32 18 spu oldstat sys_ni_syscall
38 22 spu umount sys_ni_syscall
43 25 spu stime sys_stime
48 28 spu oldfstat sys_ni_syscall
115 82 spu select sys_ni_syscall
119 84 spu oldlstat sys_ni_syscall
167 124 spu adjtimex sys_adjtimex
233 179 spu pread64 sys_pread64
283 221 spu futex sys_futex
[all …]
H A DMakefile33 $(kapi)/syscall_table_spu.h: abis := common,spu
/linux-6.15/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl25 13 spu time sys_time
32 18 spu oldstat sys_ni_syscall
38 22 spu umount sys_ni_syscall
43 25 spu stime sys_stime
48 28 spu oldfstat sys_ni_syscall
115 82 spu select sys_ni_syscall
119 84 spu oldlstat sys_ni_syscall
167 124 spu adjtimex sys_adjtimex
233 179 spu pread64 sys_pread64
283 221 spu futex sys_futex
[all …]
/linux-6.15/drivers/mailbox/
H A Dbcm-flexrm-mailbox.c568 if (!msg->spu.src || !msg->spu.dst) in flexrm_spu_sanity_check()
570 for (sg = msg->spu.src; sg; sg = sg_next(sg)) { in flexrm_spu_sanity_check()
579 for (sg = msg->spu.dst; sg; sg = sg_next(sg)) { in flexrm_spu_sanity_check()
596 struct scatterlist *src_sg = msg->spu.src, *dst_sg = msg->spu.dst; in flexrm_spu_estimate_nonheader_desc_count()
623 rc = dma_map_sg(dev, msg->spu.src, sg_nents(msg->spu.src), in flexrm_spu_dma_map()
628 rc = dma_map_sg(dev, msg->spu.dst, sg_nents(msg->spu.dst), in flexrm_spu_dma_map()
631 dma_unmap_sg(dev, msg->spu.src, sg_nents(msg->spu.src), in flexrm_spu_dma_map()
641 dma_unmap_sg(dev, msg->spu.dst, sg_nents(msg->spu.dst), in flexrm_spu_dma_unmap()
643 dma_unmap_sg(dev, msg->spu.src, sg_nents(msg->spu.src), in flexrm_spu_dma_unmap()
655 struct scatterlist *src_sg = msg->spu.src, *dst_sg = msg->spu.dst; in flexrm_spu_write_descs()
H A Dbcm-pdc-mailbox.c1205 src_nent = sg_nents(mssg->spu.src); in pdc_send_data()
1207 nent = dma_map_sg(dev, mssg->spu.src, src_nent, DMA_TO_DEVICE); in pdc_send_data()
1212 dst_nent = sg_nents(mssg->spu.dst); in pdc_send_data()
1214 nent = dma_map_sg(dev, mssg->spu.dst, dst_nent, in pdc_send_data()
1217 dma_unmap_sg(dev, mssg->spu.src, src_nent, in pdc_send_data()
1232 tx_desc_req = pdc_desc_count(mssg->spu.src); in pdc_send_data()
1233 rx_desc_req = pdc_desc_count(mssg->spu.dst); in pdc_send_data()
1238 err = pdc_rx_list_init(pdcs, mssg->spu.dst, mssg->ctx); in pdc_send_data()
1239 err |= pdc_rx_list_sg_add(pdcs, mssg->spu.dst); in pdc_send_data()
1242 err |= pdc_tx_list_sg_add(pdcs, mssg->spu.src); in pdc_send_data()
/linux-6.15/Documentation/filesystems/spufs/
H A Dspu_create.rst9 spu_create - create a new spu context
18 #include <sys/spu.h>
111 convention, it gets mounted in /spu.
H A Dspu_run.rst10 spu_run - execute an spu context
18 #include <sys/spu.h>
/linux-6.15/include/linux/mailbox/
H A Dbrcm-message.h49 } spu; member

12