Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
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 …]
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);
/arch/powerpc/platforms/cell/
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 …]
/arch/powerpc/platforms/cell/spufs/
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 …]
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 …]
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 …]
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))
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 …]
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()
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()
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 …]
A DMakefile13 SPU_CROSS := spu-
A Dinode.c297 struct spu, cbe_list))->aff_list); in spufs_assert_affinity()
/arch/powerpc/platforms/ps3/
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 …]
A DMakefile8 obj-$(CONFIG_SPU_BASE) += spu.o
/arch/powerpc/kernel/syscalls/
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 …]
A DMakefile33 $(kapi)/syscall_table_spu.h: abis := common,spu
/arch/arm64/boot/dts/qcom/
A Dqcs8550.dtsi117 spu_secure_shared_memory_mem: spu-secure-shared-memory-region@9b280000 {
A Dsm8750.dtsi440 spu_tz_shared_mem: spu-tz-shared@9b280000 {
446 spu_modem_shared_mem: spu-modem-shared@9b2c0000 {
A Dsm8550.dtsi585 spu_tz_shared_mem: spu-tz-shared-region@9b280000 {
591 spu_modem_shared_mem: spu-modem-shared-region@9b2e0000 {
A Dsm8650.dtsi1772 spu_tz_shared_mem: spu-tz-shared@9b280000 {
1778 spu_modem_shared_mem: spu-modem-shared@9b2e0000 {
A Dx1e80100.dtsi590 spu_secure_shared_memory_mem: spu-secure-shared-memory@85300000 {
/arch/arm/boot/dts/renesas/
A Dr8a7740.dtsi603 spu_clk: spu@e6150084 {

Completed in 95 milliseconds