Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c27 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and()
35 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or()
43 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set()
48 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get()
53 static void int_stat_clear(struct spu *spu, int class, u64 stat) in int_stat_clear()
58 static u64 int_stat_get(struct spu *spu, int class) in int_stat_get()
63 static void cpu_affinity_set(struct spu *spu, int cpu) in cpu_affinity_set()
81 static u64 mfc_dar_get(struct spu *spu) in mfc_dar_get()
86 static u64 mfc_dsisr_get(struct spu *spu) in mfc_dsisr_get()
91 static void mfc_dsisr_set(struct spu *spu, u64 dsisr) in mfc_dsisr_set()
[all …]
Dspu_base.c66 void spu_invalidate_slbs(struct spu *spu) in spu_invalidate_slbs()
83 struct spu *spu; in spu_flush_all_slbs() local
105 void spu_associate_mm(struct spu *spu, struct mm_struct *mm) in spu_associate_mm()
123 static void spu_restart_dma(struct spu *spu) in spu_restart_dma()
135 static inline void spu_load_slb(struct spu *spu, int slbe, struct copro_slb *slb) in spu_load_slb()
151 static int __spu_trap_data_seg(struct spu *spu, unsigned long ea) in __spu_trap_data_seg()
173 static int __spu_trap_data_map(struct spu *spu, unsigned long ea, u64 dsisr) in __spu_trap_data_map()
250 void spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, in spu_setup_kernel_slbs()
282 struct spu *spu; in spu_irq_class_0() local
306 struct spu *spu; in spu_irq_class_1() local
[all …]
Dspu_manage.c28 struct device_node *spu_devnode(struct spu *spu) in spu_devnode()
58 static void spu_unmap(struct spu *spu) in spu_unmap()
67 static int __init spu_map_interrupts_old(struct spu *spu, in spu_map_interrupts_old()
102 static void __iomem * __init spu_map_prop_old(struct spu *spu, in spu_map_prop_old()
119 static int __init spu_map_device_old(struct spu *spu) in spu_map_device_old()
169 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) in spu_map_interrupts()
189 static int spu_map_resource(struct spu *spu, int nr, in spu_map_resource()
209 static int __init spu_map_device(struct spu *spu) in spu_map_device()
283 static int __init of_create_spu(struct spu *spu, void *data) in of_create_spu()
342 static int of_destroy_spu(struct spu *spu) in of_destroy_spu()
[all …]
Dcbe_thermal.c69 struct spu *spu; in get_pmd_regs() local
80 struct spu *spu; in spu_read_register_value() local
/arch/powerpc/platforms/cell/spufs/
Dswitch.c64 static inline void acquire_spu_lock(struct spu *spu) in acquire_spu_lock()
73 static inline void release_spu_lock(struct spu *spu) in release_spu_lock()
81 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) in check_spu_isolate()
97 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) in disable_interrupts()
134 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) in set_watchdog_timer()
147 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) in inhibit_user_access()
158 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) in set_switch_pending()
167 static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) in save_mfc_cntl()
201 static inline void save_spu_runcntl(struct spu_state *csa, struct spu *spu) in save_spu_runcntl()
212 static inline void save_mfc_sr1(struct spu_state *csa, struct spu *spu) in save_mfc_sr1()
[all …]
Dsched.c186 struct spu *spu; in do_notify_spus_active() local
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
247 static inline int sched_spu(struct spu *spu) in sched_spu()
291 struct spu *spu; in aff_ref_location() local
366 struct spu *spu; in ctx_location() local
420 static void spu_unbind_context(struct spu *spu, struct spu_context *ctx) in spu_unbind_context()
556 struct spu *spu, *aff_ref_spu; in spu_get_idle() local
615 struct spu *spu; in find_victim() local
700 static void __spu_schedule(struct spu *spu, struct spu_context *ctx) in __spu_schedule()
722 static void spu_schedule(struct spu *spu, struct spu_context *ctx) in spu_schedule()
[all …]
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
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
238 struct spu *spu = ctx->spu; in spu_hw_master_stop() local
Dsputrace.h31 #define spu_context_trace(name, ctx, spu) \ argument
Drun.c15 void spufs_stop_callback(struct spu *spu, int irq) in spufs_stop_callback()
Dfile.c677 void spufs_ibox_callback(struct spu *spu) in spufs_ibox_callback()
810 void spufs_wbox_callback(struct spu *spu) in spufs_wbox_callback()
1471 void spufs_mfc_callback(struct spu *spu) in spufs_mfc_callback()
2465 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify()
2495 struct spu *spu = ctx->spu; in spufs_show_ctx() local
Dspufs.h68 struct spu *spu; /* pointer to a physical SPU */ member
/arch/powerpc/include/asm/
Dspu_priv1.h45 spu_int_mask_and (struct spu *spu, int class, u64 mask) in spu_int_mask_and()
51 spu_int_mask_or (struct spu *spu, int class, u64 mask) in spu_int_mask_or()
57 spu_int_mask_set (struct spu *spu, int class, u64 mask) in spu_int_mask_set()
63 spu_int_mask_get (struct spu *spu, int class) in spu_int_mask_get()
69 spu_int_stat_clear (struct spu *spu, int class, u64 stat) in spu_int_stat_clear()
75 spu_int_stat_get (struct spu *spu, int class) in spu_int_stat_get()
81 spu_cpu_affinity_set (struct spu *spu, int cpu) in spu_cpu_affinity_set()
87 spu_mfc_dar_get (struct spu *spu) in spu_mfc_dar_get()
93 spu_mfc_dsisr_get (struct spu *spu) in spu_mfc_dsisr_get()
99 spu_mfc_dsisr_set (struct spu *spu, u64 dsisr) in spu_mfc_dsisr_set()
[all …]
Dspu.h108 struct spu { struct
113 struct spu_problem __iomem *problem; argument
114 struct spu_priv2 __iomem *priv2; argument
129 struct spu_context *ctx; argument
130 struct spu_runqueue *rq; argument
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
153 struct spu_priv1 __iomem *priv1; argument
[all …]
/arch/powerpc/platforms/ps3/
Dspu.c116 static struct spu_pdata *spu_pdata(struct spu *spu) in spu_pdata()
150 static int __init construct_spu(struct spu *spu) in construct_spu()
175 static void spu_unmap(struct spu *spu) in spu_unmap()
190 static int __init setup_areas(struct spu *spu) in setup_areas()
241 static int __init setup_interrupts(struct spu *spu) in setup_interrupts()
274 static int __init enable_spu(struct spu *spu) in enable_spu()
307 static int ps3_destroy_spu(struct spu *spu) in ps3_destroy_spu()
333 static int __init ps3_create_spu(struct spu *spu, void *data) in ps3_create_spu()
462 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and()
471 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or()
[all …]
/arch/powerpc/xmon/
Dxmon.c4122 struct spu *spu; member
4135 struct spu *spu; in xmon_register_spus() local
4152 struct spu *spu; in stop_spus() local
4193 struct spu *spu; in restart_spus() local
4248 static void dump_spu_fields(struct spu *spu) in dump_spu_fields()