/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | spufs.h | 67 struct spu_context { struct 148 struct spu_context *aff_ref_ctx; argument 186 u32(*npc_read) (struct spu_context * ctx); 189 char*(*get_ls) (struct spu_context * ctx); 212 struct spu_context *i_ctx; 271 struct spu_context * get_spu_context(struct spu_context *ctx); 272 int put_spu_context(struct spu_context *ctx); 275 void spu_forget(struct spu_context *ctx); 282 void spu_deactivate(struct spu_context *ctx); 283 void spu_yield(struct spu_context *ctx); [all …]
|
H A D | backing_ops.c | 34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event() 71 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read() 170 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read() 187 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read() 242 static u32 spu_backing_npc_read(struct spu_context *ctx) in spu_backing_npc_read() 252 static u32 spu_backing_status_read(struct spu_context *ctx) in spu_backing_status_read() 257 static char *spu_backing_get_ls(struct spu_context *ctx) in spu_backing_get_ls() 267 static u32 spu_backing_runcntl_read(struct spu_context *ctx) in spu_backing_runcntl_read() 290 static void spu_backing_runcntl_stop(struct spu_context *ctx) in spu_backing_runcntl_stop() 306 static void spu_backing_master_stop(struct spu_context *ctx) in spu_backing_master_stop() [all …]
|
H A D | hw_ops.c | 24 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() 150 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get() 176 static u32 spu_hw_npc_read(struct spu_context *ctx) in spu_hw_npc_read() 186 static u32 spu_hw_status_read(struct spu_context *ctx) in spu_hw_status_read() 191 static char *spu_hw_get_ls(struct spu_context *ctx) in spu_hw_get_ls() 201 static u32 spu_hw_runcntl_read(struct spu_context *ctx) in spu_hw_runcntl_read() 216 static void spu_hw_runcntl_stop(struct spu_context *ctx) in spu_hw_runcntl_stop() 225 static void spu_hw_master_start(struct spu_context *ctx) in spu_hw_master_start() 236 static void spu_hw_master_stop(struct spu_context *ctx) in spu_hw_master_stop() [all …]
|
H A D | file.c | 160 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() 396 struct spu_context *ctx = data; in spufs_cntl_get() 410 struct spu_context *ctx = data; in spufs_cntl_set() 1001 struct spu_context *ctx; in spufs_signal1_write() 1136 struct spu_context *ctx; in spufs_signal2_write() 1245 struct spu_context *ctx = data; in spufs_signal1_type_set() 1267 struct spu_context *ctx = data; in spufs_signal2_type_set() 1752 struct spu_context *ctx = data; in spufs_npc_set() 1773 struct spu_context *ctx = data; in spufs_decr_set() 1796 struct spu_context *ctx = data; in spufs_decr_status_set() [all …]
|
H A D | context.c | 25 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 D | sched.c | 191 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() 256 struct spu_context *ctx; in aff_merge_remaining_ctxs() 267 struct spu_context *ctx; in aff_set_offsets() 343 struct spu_context *tmp, *ctx; in aff_set_ref_point_location() 613 struct spu_context *victim = NULL; in find_victim() 635 struct spu_context *tmp = spu->ctx; in find_victim() 821 struct spu_context *ctx; in grab_runnable_context() 847 struct spu_context *new = NULL; in __spu_deactivate() 891 void spu_yield(struct spu_context *ctx) in spu_yield() 903 struct spu_context *new = NULL; in spusched_tick() [all …]
|
H A D | coredump.c | 24 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size() 46 struct spu_context *ctx; in match_context() 67 static struct spu_context *coredump_next_context(int *fd) in coredump_next_context() 69 struct spu_context *ctx; in coredump_next_context() 87 struct spu_context *ctx; in spufs_coredump_extra_notes_size() 115 static int spufs_arch_write_note(struct spu_context *ctx, int i, in spufs_arch_write_note() 158 struct spu_context *ctx; in spufs_coredump_extra_notes_write()
|
H A D | run.c | 17 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 D | fault.c | 23 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 D | inode.c | 112 size_t size, struct spu_context *ctx) in spufs_new_file() 185 struct spu_context *ctx) in spufs_fill_dir() 234 struct spu_context *ctx; in spufs_mkdir() 298 static struct spu_context * 302 struct spu_context *tmp, *neighbor, *err; in spufs_assert_affinity() 333 !list_entry(neighbor->aff_list.next, struct spu_context, in spufs_assert_affinity() 370 spufs_set_affinity(unsigned int flags, struct spu_context *ctx, in spufs_set_affinity() 371 struct spu_context *neighbor) in spufs_set_affinity() 384 || list_entry(neighbor->aff_list.next, struct spu_context, in spufs_set_affinity() 408 struct spu_context *neighbor; in spufs_create_context()
|
H A D | gang.c | 52 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_add_ctx() 61 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) in spu_gang_remove_ctx()
|
H A D | sputrace.h | 12 TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name),
|
H A D | switch.c | 1698 struct spu_context *ctx = spu->ctx; in set_int_route()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | spu_priv1.h | 15 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) in spu_enable_spu() 208 spu_disable_spu (struct spu_context *ctx) in spu_disable_spu()
|
H A D | spu.h | 95 struct spu_context; 129 struct spu_context *ctx;
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 351 static void enable_spu_by_master_run(struct spu_context *ctx) in enable_spu_by_master_run() 356 static void disable_spu_by_master_run(struct spu_context *ctx) in disable_spu_by_master_run()
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | spu.c | 442 static void ps3_enable_spu(struct spu_context *ctx) in ps3_enable_spu() 446 static void ps3_disable_spu(struct spu_context *ctx) in ps3_disable_spu()
|