• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/cell/spufs/

Lines Matching defs:spu_context

80 struct spu_context {
164 struct spu_context *aff_ref_ctx;
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);
198 void (*signal2_write) (struct spu_context * ctx, u32 data);
199 void (*signal1_type_set) (struct spu_context * ctx, u64 val);
200 u64(*signal1_type_get) (struct spu_context * ctx);
201 void (*signal2_type_set) (struct spu_context * ctx, u64 val);
202 u64(*signal2_type_get) (struct spu_context * ctx);
203 u32(*npc_read) (struct spu_context * ctx);
204 void (*npc_write) (struct spu_context * ctx, u32 data);
205 u32(*status_read) (struct spu_context * ctx);
206 char*(*get_ls) (struct spu_context * ctx);
207 void (*privcntl_write) (struct spu_context *ctx, u64 data);
208 u32 (*runcntl_read) (struct spu_context * ctx);
209 void (*runcntl_write) (struct spu_context * ctx, u32 data);
210 void (*runcntl_stop) (struct spu_context * ctx);
211 void (*master_start) (struct spu_context * ctx);
212 void (*master_stop) (struct spu_context * ctx);
213 int (*set_mfc_query)(struct spu_context * ctx, u32 mask, u32 mode);
214 u32 (*read_mfc_tagstatus)(struct spu_context * ctx);
215 u32 (*get_mfc_free_elements)(struct spu_context *ctx);
216 int (*send_mfc_command)(struct spu_context * ctx,
218 void (*dma_info_read) (struct spu_context * ctx,
220 void (*proxydma_info_read) (struct spu_context * ctx,
222 void (*restart_dma)(struct spu_context *ctx);
229 struct spu_context *i_ctx;
250 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *status);
263 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx);
264 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx);
267 int spufs_handle_class1(struct spu_context *ctx);
268 int spufs_handle_class0(struct spu_context *ctx);
271 struct spu *affinity_check(struct spu_context *ctx);
275 static inline int __must_check spu_acquire(struct spu_context *ctx)
280 static inline void spu_release(struct spu_context *ctx)
285 struct spu_context * alloc_spu_context(struct spu_gang *gang);
287 struct spu_context * get_spu_context(struct spu_context *ctx);
288 int put_spu_context(struct spu_context *ctx);
289 void spu_unmap_mappings(struct spu_context *ctx);
291 void spu_forget(struct spu_context *ctx);
292 int __must_check spu_acquire_saved(struct spu_context *ctx);
293 void spu_release_saved(struct spu_context *ctx);
295 int spu_stopped(struct spu_context *ctx, u32 * stat);
296 void spu_del_from_rq(struct spu_context *ctx);
297 int spu_activate(struct spu_context *ctx, unsigned long flags);
298 void spu_deactivate(struct spu_context *ctx);
299 void spu_yield(struct spu_context *ctx);
300 void spu_switch_notify(struct spu *spu, struct spu_context *ctx);
301 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx,
303 void spu_set_timeslice(struct spu_context *ctx);
304 void spu_update_sched_info(struct spu_context *ctx);
305 void __spu_update_sched_info(struct spu_context *ctx);
343 size_t spu_wbox_write(struct spu_context *ctx, u32 data);
344 size_t spu_ibox_read(struct spu_context *ctx, u32 *data);
356 ssize_t (*read)(struct spu_context *ctx,
358 u64 (*get)(struct spu_context *ctx);
373 extern void spuctx_switch_state(struct spu_context *ctx,