Home
last modified time | relevance | path

Searched defs:spu (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/arch/powerpc/platforms/cell/spufs/
Dswitch.c78 static inline void acquire_spu_lock(struct spu *spu) in acquire_spu_lock()
87 static inline void release_spu_lock(struct spu *spu) in release_spu_lock()
95 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) in check_spu_isolate()
111 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) in disable_interrupts()
148 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) in set_watchdog_timer()
161 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) in inhibit_user_access()
172 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) in set_switch_pending()
181 static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) in save_mfc_cntl()
215 static inline void save_spu_runcntl(struct spu_state *csa, struct spu *spu) in save_spu_runcntl()
226 static inline void save_mfc_sr1(struct spu_state *csa, struct spu *spu) in save_mfc_sr1()
[all …]
Dsched.c201 struct spu *spu; in do_notify_spus_active() local
222 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
263 static inline int sched_spu(struct spu *spu) in sched_spu()
307 struct spu *spu; in aff_ref_location() local
382 struct spu *spu; in ctx_location() local
436 static void spu_unbind_context(struct spu *spu, struct spu_context *ctx) in spu_unbind_context()
573 struct spu *spu, *aff_ref_spu; in spu_get_idle() local
632 struct spu *spu; in find_victim() local
717 static void __spu_schedule(struct spu *spu, struct spu_context *ctx) in __spu_schedule()
739 static void spu_schedule(struct spu *spu, struct spu_context *ctx) in spu_schedule()
[all …]
Dhw_ops.c39 struct spu *spu = ctx->spu; in spu_hw_mbox_read() local
62 struct spu *spu = ctx->spu; in spu_hw_mbox_stat_poll() local
98 struct spu *spu = ctx->spu; in spu_hw_ibox_read() local
119 struct spu *spu = ctx->spu; in spu_hw_wbox_write() local
150 struct spu *spu = ctx->spu; in spu_hw_signal1_type_set() local
171 struct spu *spu = ctx->spu; in spu_hw_signal2_type_set() local
241 struct spu *spu = ctx->spu; in spu_hw_master_start() local
252 struct spu *spu = ctx->spu; in spu_hw_master_stop() local
Drun.c14 void spufs_stop_callback(struct spu *spu, int irq) in spufs_stop_callback()
355 struct spu *spu; in spufs_run_spu() local
Dsputrace.h29 #define spu_context_trace(name, ctx, spu) \ argument
Dfile.c753 void spufs_ibox_callback(struct spu *spu) in spufs_ibox_callback()
905 void spufs_wbox_callback(struct spu *spu) in spufs_wbox_callback()
1578 void spufs_mfc_callback(struct spu *spu) in spufs_mfc_callback()
2607 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify()
2637 struct spu *spu = ctx->spu; in spufs_show_ctx() local
Dspufs.h81 struct spu *spu; /* pointer to a physical SPU */ member
/linux-3.4.99/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c39 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and()
47 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or()
55 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set()
60 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get()
65 static void int_stat_clear(struct spu *spu, int class, u64 stat) in int_stat_clear()
70 static u64 int_stat_get(struct spu *spu, int class) in int_stat_get()
75 static void cpu_affinity_set(struct spu *spu, int cpu) in cpu_affinity_set()
93 static u64 mfc_dar_get(struct spu *spu) in mfc_dar_get()
98 static u64 mfc_dsisr_get(struct spu *spu) in mfc_dsisr_get()
103 static void mfc_dsisr_set(struct spu *spu, u64 dsisr) in mfc_dsisr_set()
[all …]
Dbeat_spu_priv1.c27 static inline void _int_mask_set(struct spu *spu, int class, u64 mask) in _int_mask_set()
33 static inline u64 _int_mask_get(struct spu *spu, int class) in _int_mask_get()
38 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set()
43 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get()
48 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and()
55 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or()
62 static void int_stat_clear(struct spu *spu, int class, u64 stat) in int_stat_clear()
67 static u64 int_stat_get(struct spu *spu, int class) in int_stat_get()
74 static void cpu_affinity_set(struct spu *spu, int cpu) in cpu_affinity_set()
79 static u64 mfc_dar_get(struct spu *spu) in mfc_dar_get()
[all …]
Dspu_base.c83 void spu_invalidate_slbs(struct spu *spu) in spu_invalidate_slbs()
100 struct spu *spu; in spu_flush_all_slbs() local
122 void spu_associate_mm(struct spu *spu, struct mm_struct *mm) in spu_associate_mm()
140 static void spu_restart_dma(struct spu *spu) in spu_restart_dma()
152 static inline void spu_load_slb(struct spu *spu, int slbe, struct spu_slb *slb) in spu_load_slb()
168 static int __spu_trap_data_seg(struct spu *spu, unsigned long ea) in __spu_trap_data_seg()
222 static int __spu_trap_data_map(struct spu *spu, unsigned long ea, u64 dsisr) in __spu_trap_data_map()
297 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, in spu_setup_kernel_slbs()
329 struct spu *spu; in spu_irq_class_0() local
353 struct spu *spu; in spu_irq_class_1() local
[all …]
Dspu_manage.c40 struct device_node *spu_devnode(struct spu *spu) in spu_devnode()
70 static void spu_unmap(struct spu *spu) in spu_unmap()
79 static int __init spu_map_interrupts_old(struct spu *spu, in spu_map_interrupts_old()
111 static void __iomem * __init spu_map_prop_old(struct spu *spu, in spu_map_prop_old()
128 static int __init spu_map_device_old(struct spu *spu) in spu_map_device_old()
178 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) in spu_map_interrupts()
212 static int spu_map_resource(struct spu *spu, int nr, in spu_map_resource()
232 static int __init spu_map_device(struct spu *spu) in spu_map_device()
306 static int __init of_create_spu(struct spu *spu, void *data) in of_create_spu()
365 static int of_destroy_spu(struct spu *spu) in of_destroy_spu()
[all …]
Dspu_notify.c31 void spu_switch_notify(struct spu *spu, struct spu_context *ctx) in spu_switch_notify()
Dcbe_thermal.c81 struct spu *spu; in get_pmd_regs() local
92 struct spu *spu; in spu_read_register_value() local
/linux-3.4.99/arch/powerpc/include/asm/
Dspu_priv1.h57 spu_int_mask_and (struct spu *spu, int class, u64 mask) in spu_int_mask_and()
63 spu_int_mask_or (struct spu *spu, int class, u64 mask) in spu_int_mask_or()
69 spu_int_mask_set (struct spu *spu, int class, u64 mask) in spu_int_mask_set()
75 spu_int_mask_get (struct spu *spu, int class) in spu_int_mask_get()
81 spu_int_stat_clear (struct spu *spu, int class, u64 stat) in spu_int_stat_clear()
87 spu_int_stat_get (struct spu *spu, int class) in spu_int_stat_get()
93 spu_cpu_affinity_set (struct spu *spu, int cpu) in spu_cpu_affinity_set()
99 spu_mfc_dar_get (struct spu *spu) in spu_mfc_dar_get()
105 spu_mfc_dsisr_get (struct spu *spu) in spu_mfc_dsisr_get()
111 spu_mfc_dsisr_set (struct spu *spu, u64 dsisr) in spu_mfc_dsisr_set()
[all …]
Dspu.h119 struct spu { struct
124 struct spu_problem __iomem *problem; argument
125 struct spu_priv2 __iomem *priv2; argument
140 struct spu_context *ctx; argument
141 struct spu_runqueue *rq; argument
147 void (* wbox_callback)(struct spu *spu); argument
148 void (* ibox_callback)(struct spu *spu); argument
149 void (* stop_callback)(struct spu *spu, int irq); argument
150 void (* mfc_callback)(struct spu *spu); argument
164 struct spu_priv1 __iomem *priv1; argument
[all …]
/linux-3.4.99/arch/powerpc/platforms/ps3/
Dspu.c128 static struct spu_pdata *spu_pdata(struct spu *spu) in spu_pdata()
162 static int __init construct_spu(struct spu *spu) in construct_spu()
187 static void spu_unmap(struct spu *spu) in spu_unmap()
205 static int __init setup_areas(struct spu *spu) in setup_areas()
258 static int __init setup_interrupts(struct spu *spu) in setup_interrupts()
291 static int __init enable_spu(struct spu *spu) in enable_spu()
324 static int ps3_destroy_spu(struct spu *spu) in ps3_destroy_spu()
350 static int __init ps3_create_spu(struct spu *spu, void *data) in ps3_create_spu()
479 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and()
488 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or()
[all …]
/linux-3.4.99/arch/powerpc/oprofile/cell/
Dspu_task_sync.c44 static void spu_buff_add(unsigned long int value, int spu) in spu_buff_add()
92 int spu; in sync_spu_buff() local
190 prepare_cached_spu_info(struct spu *spu, unsigned long objectId) in prepare_cached_spu_info()
318 get_exec_dcookie_and_offset(struct spu *spu, unsigned int *offsetp, in get_exec_dcookie_and_offset()
382 static int process_context_switch(struct spu *spu, unsigned long objectId) in process_context_switch()
468 int spu; in oprofile_spu_buff_create() local
519 int spu; in spu_sync_start() local
Dspu_profiler.c82 int spu; in spu_pc_extract() local
/linux-3.4.99/arch/powerpc/xmon/
Dxmon.c2916 struct spu *spu; member
2929 struct spu *spu; in xmon_register_spus() local
2946 struct spu *spu; in stop_spus() local
2987 struct spu *spu; in restart_spus() local
3042 static void dump_spu_fields(struct spu *spu) in dump_spu_fields()
/linux-3.4.99/arch/m32r/kernel/
Dprocess.c229 int copy_thread(unsigned long clone_flags, unsigned long spu, in copy_thread()
/linux-3.4.99/arch/m32r/include/asm/
Dptrace.h103 unsigned long spu; /* saved user stack */ member