Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/cell/spufs/
H A Dspufs.h67 struct spu_context { struct
148 struct spu_context *aff_ref_ctx; argument
175 int (*mbox_read) (struct spu_context * ctx, u32 * data);
176 u32(*mbox_stat_read) (struct spu_context * ctx);
177 __poll_t (*mbox_stat_poll)(struct spu_context *ctx, __poll_t events);
178 int (*ibox_read) (struct spu_context * ctx, u32 * data);
179 int (*wbox_write) (struct spu_context * ctx, u32 data);
180 u32(*signal1_read) (struct spu_context * ctx);
181 void (*signal1_write) (struct spu_context * ctx, u32 data);
182 u32(*signal2_read) (struct spu_context * ctx);
[all …]
H A Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
71 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
76 static __poll_t spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
115 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
139 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
170 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
175 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
187 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
192 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
H A Dhw_ops.c24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll()
82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
124 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
129 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
134 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
150 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
155 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
H A Dfile.c160 struct spu_context *ctx = i->i_ctx; in spufs_mem_open()
174 struct spu_context *ctx = i->i_ctx; in spufs_mem_release()
184 spufs_mem_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_mem_dump()
193 struct spu_context *ctx = file->private_data; in spufs_mem_read()
210 struct spu_context *ctx = file->private_data; in spufs_mem_write()
233 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault()
265 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access()
314 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault()
396 struct spu_context *ctx = data; in spufs_cntl_get()
410 struct spu_context *ctx = data; in spufs_cntl_set()
[all …]
H A Dcontext.c25 struct spu_context *alloc_spu_context(struct spu_gang *gang) in alloc_spu_context()
27 struct spu_context *ctx; in alloc_spu_context()
71 struct spu_context *ctx; in destroy_spu_context()
72 ctx = container_of(kref, struct spu_context, kref); in destroy_spu_context()
88 struct spu_context * get_spu_context(struct spu_context *ctx) in get_spu_context()
94 int put_spu_context(struct spu_context *ctx) in put_spu_context()
100 void spu_forget(struct spu_context *ctx) in spu_forget()
119 void spu_unmap_mappings(struct spu_context *ctx) in spu_unmap_mappings()
143 int spu_acquire_saved(struct spu_context *ctx) in spu_acquire_saved()
165 void spu_release_saved(struct spu_context *ctx) in spu_release_saved()
H A Dsched.c85 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
96 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
137 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
155 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
167 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
191 struct spu_context *ctx = spu->ctx; in do_notify_spus_active()
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
256 struct spu_context *ctx; in aff_merge_remaining_ctxs()
267 struct spu_context *ctx; in aff_set_offsets()
288 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
H A Drun.c17 struct spu_context *ctx = spu->ctx; in spufs_stop_callback()
49 int spu_stopped(struct spu_context *ctx, u32 *stat) in spu_stopped()
82 static int spu_setup_isolated(struct spu_context *ctx) in spu_setup_isolated()
176 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init()
244 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini()
273 static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, in spu_handle_restartsys()
309 static int spu_process_callback(struct spu_context *ctx) in spu_process_callback()
353 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) in spufs_run_spu()
H A Dinode.c112 size_t size, struct spu_context *ctx) in spufs_new_file()
149 struct spu_context *ctx = SPUFS_I(d_inode(dir))->i_ctx; in spufs_rmdir()
157 struct spu_context *ctx) in spufs_fill_dir()
223 struct spu_context *ctx; in spufs_mkdir()
275 static struct spu_context *
279 struct spu_context *tmp, *neighbor, *err; in spufs_assert_affinity()
310 !list_entry(neighbor->aff_list.next, struct spu_context, in spufs_assert_affinity()
347 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, in spufs_set_affinity()
348 struct spu_context *neighbor) in spufs_set_affinity()
361 || list_entry(neighbor->aff_list.next, struct spu_context, in spufs_set_affinity()
[all …]
H A Dfault.c23 static void spufs_handle_event(struct spu_context *ctx, in spufs_handle_event()
53 int spufs_handle_class0(struct spu_context *ctx) in spufs_handle_class0()
86 int spufs_handle_class1(struct spu_context *ctx) in spufs_handle_class1()
H A Dgang.c53 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_add_ctx()
62 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_remove_ctx()
H A Dsputrace.h12 TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name),
H A Dswitch.c1698 struct spu_context *ctx = spu->ctx; in set_int_route()
/linux/arch/powerpc/include/asm/
H A Dspu.h95 struct spu_context;
129 struct spu_context *ctx;