Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/spufs/
Dspufs.h80 struct spu_context { struct
164 struct spu_context *aff_ref_ctx; argument
189 int (*mbox_read) (struct spu_context * ctx, u32 * data);
190 u32(*mbox_stat_read) (struct spu_context * ctx);
191 unsigned int (*mbox_stat_poll)(struct spu_context *ctx,
193 int (*ibox_read) (struct spu_context * ctx, u32 * data);
194 int (*wbox_write) (struct spu_context * ctx, u32 data);
195 u32(*signal1_read) (struct spu_context * ctx);
196 void (*signal1_write) (struct spu_context * ctx, u32 data);
197 u32(*signal2_read) (struct spu_context * ctx);
[all …]
Dbacking_ops.c47 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
62 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
84 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
89 static unsigned int spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
128 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
152 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
183 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
188 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
200 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
205 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
Dhw_ops.c37 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
54 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
59 static unsigned int spu_hw_mbox_stat_poll(struct spu_context *ctx, in spu_hw_mbox_stat_poll()
96 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
117 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
138 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
143 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
148 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
164 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
169 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
Dcontext.c36 struct spu_context *alloc_spu_context(struct spu_gang *gang) in alloc_spu_context()
38 struct spu_context *ctx; in alloc_spu_context()
84 struct spu_context *ctx; in destroy_spu_context()
85 ctx = container_of(kref, struct spu_context, kref); in destroy_spu_context()
101 struct spu_context * get_spu_context(struct spu_context *ctx) in get_spu_context()
107 int put_spu_context(struct spu_context *ctx) in put_spu_context()
113 void spu_forget(struct spu_context *ctx) in spu_forget()
132 void spu_unmap_mappings(struct spu_context *ctx) in spu_unmap_mappings()
156 int spu_acquire_saved(struct spu_context *ctx) in spu_acquire_saved()
178 void spu_release_saved(struct spu_context *ctx) in spu_release_saved()
Dfile.c165 struct spu_context *ctx = i->i_ctx; in spufs_mem_open()
179 struct spu_context *ctx = i->i_ctx; in spufs_mem_release()
189 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read()
201 struct spu_context *ctx = file->private_data; in spufs_mem_read()
217 struct spu_context *ctx = file->private_data; in spufs_mem_write()
239 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault()
288 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access()
315 struct spu_context *ctx = file->private_data; in spufs_mem_mmap()
345 struct spu_context *ctx = file->private_data; in spufs_get_unmapped_area()
376 struct spu_context *ctx = vma->vm_file->private_data; in spufs_ps_fault()
[all …]
Dsched.c97 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
108 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
149 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
167 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
179 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
206 struct spu_context *ctx = spu->ctx; in do_notify_spus_active()
222 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
272 struct spu_context *ctx; in aff_merge_remaining_ctxs()
283 struct spu_context *ctx; in aff_set_offsets()
304 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
Dcoredump.c35 static ssize_t do_coredump_read(int num, struct spu_context *ctx, void *buffer, in do_coredump_read()
89 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size()
118 static struct spu_context *coredump_next_context(int *fd) in coredump_next_context()
122 struct spu_context *ctx = NULL; in coredump_next_context()
145 struct spu_context *ctx; in spufs_coredump_extra_notes_size()
167 static int spufs_arch_write_note(struct spu_context *ctx, int i, in spufs_arch_write_note()
226 struct spu_context *ctx; in spufs_coredump_extra_notes_write()
Drun.c16 struct spu_context *ctx = spu->ctx; in spufs_stop_callback()
48 int spu_stopped(struct spu_context *ctx, u32 *stat) in spu_stopped()
81 static int spu_setup_isolated(struct spu_context *ctx) in spu_setup_isolated()
175 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init()
243 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini()
272 static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, in spu_handle_restartsys()
308 static int spu_process_callback(struct spu_context *ctx) in spu_process_callback()
352 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) in spufs_run_spu()
Dgang.c65 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_add_ctx()
74 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_remove_ctx()
Dfault.c36 static void spufs_handle_event(struct spu_context *ctx, in spufs_handle_event()
77 int spufs_handle_class0(struct spu_context *ctx) in spufs_handle_class0()
110 int spufs_handle_class1(struct spu_context *ctx) in spufs_handle_class1()
Dinode.c128 size_t size, struct spu_context *ctx) in spufs_new_file()
198 struct spu_context *ctx) in spufs_fill_dir()
235 struct spu_context *ctx; in spufs_dir_close()
271 struct spu_context *ctx; in spufs_mkdir()
346 static struct spu_context *
350 struct spu_context *tmp, *neighbor, *err; in spufs_assert_affinity()
381 !list_entry(neighbor->aff_list.next, struct spu_context, in spufs_assert_affinity()
418 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, in spufs_set_affinity()
419 struct spu_context *neighbor) in spufs_set_affinity()
432 || list_entry(neighbor->aff_list.next, struct spu_context, in spufs_set_affinity()
[all …]
Dsputrace.h10 TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name),
Dswitch.c1714 struct spu_context *ctx = spu->ctx; in set_int_route()
/arch/powerpc/platforms/cell/
Dspu_notify.c31 void spu_switch_notify(struct spu *spu, struct spu_context *ctx) in spu_switch_notify()
54 void spu_set_profile_private_kref(struct spu_context *ctx, in spu_set_profile_private_kref()
63 void *spu_get_profile_private_kref(struct spu_context *ctx) in spu_get_profile_private_kref()
Dspu_manage.c372 static void enable_spu_by_master_run(struct spu_context *ctx) in enable_spu_by_master_run()
377 static void disable_spu_by_master_run(struct spu_context *ctx) in disable_spu_by_master_run()
/arch/powerpc/include/asm/
Dspu_priv1.h27 struct spu_context;
182 void (*enable_spu)(struct spu_context *ctx);
183 void (*disable_spu)(struct spu_context *ctx);
214 spu_enable_spu (struct spu_context *ctx) in spu_enable_spu()
220 spu_disable_spu (struct spu_context *ctx) in spu_disable_spu()
Dspu.h106 struct spu_context;
140 struct spu_context *ctx;
223 void spu_set_profile_private_kref(struct spu_context *ctx,
227 void *spu_get_profile_private_kref(struct spu_context *ctx);
/arch/powerpc/platforms/ps3/
Dspu.c459 static void ps3_enable_spu(struct spu_context *ctx) in ps3_enable_spu()
463 static void ps3_disable_spu(struct spu_context *ctx) in ps3_disable_spu()