Searched refs:spu_context (Results 1 - 17 of 17) sorted by path

/linux-master/arch/powerpc/include/asm/
H A Dspu_priv1.h15 struct spu_context;
170 void (*enable_spu)(struct spu_context *ctx);
171 void (*disable_spu)(struct spu_context *ctx);
202 spu_enable_spu (struct spu_context *ctx)
208 spu_disable_spu (struct spu_context *ctx)
H A Dspu.h95 struct spu_context;
129 struct spu_context *ctx;
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event)
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data)
71 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx)
76 static __poll_t spu_backing_mbox_stat_poll(struct spu_context *ctx,
115 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data)
139 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data)
170 static u32 spu_backing_signal1_read(struct spu_context *ctx)
175 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data)
187 static u32 spu_backing_signal2_read(struct spu_context *ctx)
192 static void spu_backing_signal2_write(struct spu_context *ct
[all...]
H A Dcontext.c25 struct spu_context *alloc_spu_context(struct spu_gang *gang)
27 struct spu_context *ctx;
71 struct spu_context *ctx;
72 ctx = container_of(kref, struct spu_context, kref);
88 struct spu_context * get_spu_context(struct spu_context *ctx)
94 int put_spu_context(struct spu_context *ctx)
100 void spu_forget(struct spu_context *ctx)
119 void spu_unmap_mappings(struct spu_context *ctx)
143 int spu_acquire_saved(struct spu_context *ct
[all...]
H A Dfault.c23 static void spufs_handle_event(struct spu_context *ctx,
53 int spufs_handle_class0(struct spu_context *ctx)
86 int spufs_handle_class1(struct spu_context *ctx)
95 * to the spu_context, to this function, but not
H A Dgang.c52 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx)
61 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx)
H A Dhw_ops.c24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data)
41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx)
46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events)
82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data)
103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data)
124 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data)
129 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data)
134 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val)
150 static u64 spu_hw_signal1_type_get(struct spu_context *ctx)
155 static void spu_hw_signal2_type_set(struct spu_context *ct
[all...]
H A Dsputrace.h12 TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name),
H A Dcoredump.c24 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd)
46 struct spu_context *ctx;
67 static struct spu_context *coredump_next_context(int *fd)
69 struct spu_context *ctx = NULL;
90 struct spu_context *ctx;
118 static int spufs_arch_write_note(struct spu_context *ctx, int i,
161 struct spu_context *ctx;
H A Dfile.c160 struct spu_context *ctx = i->i_ctx;
174 struct spu_context *ctx = i->i_ctx;
184 spufs_mem_dump(struct spu_context *ctx, struct coredump_params *cprm)
193 struct spu_context *ctx = file->private_data;
210 struct spu_context *ctx = file->private_data;
233 struct spu_context *ctx = vma->vm_file->private_data;
265 struct spu_context *ctx = vma->vm_file->private_data;
314 struct spu_context *ctx = vmf->vma->vm_file->private_data;
396 struct spu_context *ctx = data;
410 struct spu_context *ct
[all...]
H A Dinode.c112 size_t size, struct spu_context *ctx)
186 struct spu_context *ctx)
235 struct spu_context *ctx;
299 static struct spu_context *
303 struct spu_context *tmp, *neighbor, *err;
334 !list_entry(neighbor->aff_list.next, struct spu_context,
371 spufs_set_affinity(unsigned int flags, struct spu_context *ctx,
372 struct spu_context *neighbor)
385 || list_entry(neighbor->aff_list.next, struct spu_context,
409 struct spu_context *neighbo
[all...]
H A Drun.c17 struct spu_context *ctx = spu->ctx;
49 int spu_stopped(struct spu_context *ctx, u32 *stat)
82 static int spu_setup_isolated(struct spu_context *ctx)
176 static int spu_run_init(struct spu_context *ctx, u32 *npc)
244 static int spu_run_fini(struct spu_context *ctx, u32 *npc,
273 static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret,
309 static int spu_process_callback(struct spu_context *ctx)
353 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event)
H A Dsched.c85 void spu_set_timeslice(struct spu_context *ctx)
96 void __spu_update_sched_info(struct spu_context *ctx)
137 void spu_update_sched_info(struct spu_context *ctx)
155 static int __node_allowed(struct spu_context *ctx, int node)
167 static int node_allowed(struct spu_context *ctx, int node)
191 struct spu_context *ctx = spu->ctx;
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx)
256 struct spu_context *ctx;
267 struct spu_context *ctx;
288 static struct spu *aff_ref_location(struct spu_context *ct
[all...]
H A Dspufs.h67 struct spu_context { struct
148 struct spu_context *aff_ref_ctx;
173 int (*mbox_read) (struct spu_context * ctx, u32 * data);
174 u32(*mbox_stat_read) (struct spu_context * ctx);
175 __poll_t (*mbox_stat_poll)(struct spu_context *ctx, __poll_t events);
176 int (*ibox_read) (struct spu_context * ctx, u32 * data);
177 int (*wbox_write) (struct spu_context * ctx, u32 data);
178 u32(*signal1_read) (struct spu_context * ctx);
179 void (*signal1_write) (struct spu_context * ctx, u32 data);
180 u32(*signal2_read) (struct spu_context * ct
[all...]
H A Dswitch.c1698 struct spu_context *ctx = spu->ctx;
/linux-master/arch/powerpc/platforms/cell/
H A Dspu_manage.c351 static void enable_spu_by_master_run(struct spu_context *ctx)
356 static void disable_spu_by_master_run(struct spu_context *ctx)
/linux-master/arch/powerpc/platforms/ps3/
H A Dspu.c442 static void ps3_enable_spu(struct spu_context *ctx)
446 static void ps3_disable_spu(struct spu_context *ctx)

Completed in 321 milliseconds