/arch/powerpc/platforms/cell/ |
H A D | spu_notify.c | 26 #include <asm/spu.h> 31 void spu_switch_notify(struct spu *spu, struct spu_context *ctx) argument 34 ctx ? ctx->object_id : 0, spu);
|
H A D | beat_spu_priv1.c | 2 * spu hypervisor abstraction for Beat 22 #include <asm/spu.h> 27 static inline void _int_mask_set(struct spu *spu, int class, u64 mask) argument 29 spu->shadow_int_mask_RW[class] = mask; 30 beat_set_irq_mask_for_spe(spu->spe_id, class, mask); 33 static inline u64 _int_mask_get(struct spu *spu, int class) argument 35 return spu->shadow_int_mask_RW[class]; 38 static void int_mask_set(struct spu *sp argument 43 int_mask_get(struct spu *spu, int class) argument 48 int_mask_and(struct spu *spu, int class, u64 mask) argument 55 int_mask_or(struct spu *spu, int class, u64 mask) argument 62 int_stat_clear(struct spu *spu, int class, u64 stat) argument 67 int_stat_get(struct spu *spu, int class) argument 74 cpu_affinity_set(struct spu *spu, int cpu) argument 79 mfc_dar_get(struct spu *spu) argument 88 mfc_dsisr_get(struct spu *spu) argument 97 mfc_dsisr_set(struct spu *spu, u64 dsisr) argument 104 mfc_sdr_setup(struct spu *spu) argument 109 mfc_sr1_set(struct spu *spu, u64 sr1) argument 116 mfc_sr1_get(struct spu *spu) argument 125 mfc_tclass_id_set(struct spu *spu, u64 tclass_id) argument 132 mfc_tclass_id_get(struct spu *spu) argument 141 tlb_invalidate(struct spu *spu) argument 148 resource_allocation_groupID_set(struct spu *spu, u64 id) argument 156 resource_allocation_groupID_get(struct spu *spu) argument 166 resource_allocation_enable_set(struct spu *spu, u64 enable) argument 174 resource_allocation_enable_get(struct spu *spu) argument [all...] |
H A D | spu_priv1_mmio.c | 2 * spu hypervisor abstraction for direct hardware access. 31 #include <asm/spu.h> 39 static void int_mask_and(struct spu *spu, int class, u64 mask) argument 43 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); 44 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); 47 static void int_mask_or(struct spu *spu, int class, u64 mask) argument 51 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); 52 out_be64(&spu 55 int_mask_set(struct spu *spu, int class, u64 mask) argument 60 int_mask_get(struct spu *spu, int class) argument 65 int_stat_clear(struct spu *spu, int class, u64 stat) argument 70 int_stat_get(struct spu *spu, int class) argument 75 cpu_affinity_set(struct spu *spu, int cpu) argument 93 mfc_dar_get(struct spu *spu) argument 98 mfc_dsisr_get(struct spu *spu) argument 103 mfc_dsisr_set(struct spu *spu, u64 dsisr) argument 108 mfc_sdr_setup(struct spu *spu) argument 113 mfc_sr1_set(struct spu *spu, u64 sr1) argument 118 mfc_sr1_get(struct spu *spu) argument 123 mfc_tclass_id_set(struct spu *spu, u64 tclass_id) argument 128 mfc_tclass_id_get(struct spu *spu) argument 133 tlb_invalidate(struct spu *spu) argument 138 resource_allocation_groupID_set(struct spu *spu, u64 id) argument 143 resource_allocation_groupID_get(struct spu *spu) argument 148 resource_allocation_enable_set(struct spu *spu, u64 enable) argument 153 resource_allocation_enable_get(struct spu *spu) argument [all...] |
H A D | cbe_thermal.c | 4 * This module adds some sysfs attributes to cpu and spu nodes. 10 * /sys/devices/system/spu/spuX/thermal 25 * full throttling is applied to the cpu or spu. This value should be 52 #include <asm/spu.h> 81 struct spu *spu; local 83 spu = container_of(dev, struct spu, dev); 85 return cbe_get_pmd_regs(spu_devnode(spu)); 88 /* returns the value for a given spu i 92 struct spu *spu; local [all...] |
H A D | spu_manage.c | 2 * spu management operations for of based platforms 32 #include <asm/spu.h> 40 struct device_node *spu_devnode(struct spu *spu) argument 42 return spu->devnode; 70 static void spu_unmap(struct spu *spu) argument 73 iounmap(spu->priv1); 74 iounmap(spu->priv2); 75 iounmap(spu 79 spu_map_interrupts_old(struct spu *spu, struct device_node *np) argument 111 spu_map_prop_old(struct spu *spu, struct device_node *n, const char *name) argument 128 spu_map_device_old(struct spu *spu) argument 178 spu_map_interrupts(struct spu *spu, struct device_node *np) argument 211 spu_map_resource(struct spu *spu, int nr, void __iomem** virt, unsigned long *phys) argument 231 spu_map_device(struct spu *spu) argument 305 of_create_spu(struct spu *spu, void *data) argument 364 of_destroy_spu(struct spu *spu) argument 388 struct spu *spu; local 402 struct spu *last_spu, *spu; local 436 struct spu *spu; local 447 struct spu *spu; local 467 struct spu *spu, *last_spu; local [all...] |
H A D | spu_base.c | 36 #include <asm/spu.h> 60 * Protects cbe_spu_info and spu->number. 73 * spu->mm. 79 void spu_invalidate_slbs(struct spu *spu) argument 81 struct spu_priv2 __iomem *priv2 = spu->priv2; 84 spin_lock_irqsave(&spu->register_lock, flags); 85 if (spu_mfc_sr1_get(spu) & MFC_STATE1_RELOCATE_MASK) 87 spin_unlock_irqrestore(&spu->register_lock, flags); 96 struct spu *sp local 118 spu_associate_mm(struct spu *spu, struct mm_struct *mm) argument 136 spu_restart_dma(struct spu *spu) argument 148 spu_load_slb(struct spu *spu, int slbe, struct copro_slb *slb) argument 164 __spu_trap_data_seg(struct spu *spu, unsigned long ea) argument 185 __spu_trap_data_map(struct spu *spu, unsigned long ea, u64 dsisr) argument 260 spu_setup_kernel_slbs(struct spu *spu, struct spu_lscsa *lscsa, void *code, int code_size) argument 292 struct spu *spu; local 316 struct spu *spu; local 357 struct spu *spu; local 400 spu_request_irqs(struct spu *spu) argument 440 spu_free_irqs(struct spu *spu) argument 450 spu_init_channels(struct spu *spu) argument 492 struct spu *spu; local 505 struct spu *spu; local 533 struct spu *spu; local 544 struct spu *spu; local 553 spu_create_dev(struct spu *spu) argument 573 struct spu *spu; local 637 spu_acct_time(struct spu *spu, enum spu_utilization_state state) argument 657 struct spu *spu = container_of(dev, struct spu, dev); local 681 struct spu *spu; member in struct:crash_spu_info 695 struct spu *spu; local 726 struct spu *spu; local 749 struct spu *spu; local [all...] |
/arch/m32r/kernel/ |
H A D | process.c | 81 regs->bbpc, regs->bbpsw, regs->spu, regs->spi); 131 int copy_thread(unsigned long clone_flags, unsigned long spu, argument 141 childregs->r1 = spu; /* fn */ 147 if (spu) 148 childregs->spu = spu;
|
/arch/powerpc/oprofile/cell/ |
H A D | spu_profiler.c | 26 /* spu_prof_running is a flag used to indicate if spu profiling is enabled 82 int spu; local 96 for (spu = SPUS_PER_TB_ENTRY-1; spu >= 0; spu--) { 97 /* spu PC trace entry is upper 16 bits of the 100 samples[spu * TRACE_ARRAY_SIZE + entry] 102 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] 180 smp_wmb(); /* insure spu event buffer updates are written */ 190 printk(KERN_INFO "SPU_PROF: spu [all...] |
H A D | spu_task_sync.c | 44 static void spu_buff_add(unsigned long int value, int spu) argument 46 /* spu buff is a circular buffer. Add entries to the 58 if (spu_buff[spu].head >= spu_buff[spu].tail) { 59 if ((spu_buff[spu].head - spu_buff[spu].tail) 63 } else if (spu_buff[spu].tail > spu_buff[spu].head) { 64 if ((spu_buff[spu].tail - spu_buff[spu] 92 int spu; local 190 prepare_cached_spu_info(struct spu *spu, unsigned long objectId) argument 318 get_exec_dcookie_and_offset(struct spu *spu, unsigned int *offsetp, unsigned long *spu_bin_dcookie, unsigned long spu_ref) argument 375 process_context_switch(struct spu *spu, unsigned long objectId) argument 461 int spu; local 512 int spu; local [all...] |
/arch/powerpc/platforms/cell/spufs/ |
H A D | run.c | 6 #include <asm/spu.h> 14 void spufs_stop_callback(struct spu *spu, int irq) argument 16 struct spu_context *ctx = spu->ctx; 29 ctx->csa.class_0_pending = spu->class_0_pending; 30 ctx->csa.class_0_dar = spu->class_0_dar; 33 ctx->csa.class_1_dsisr = spu->class_1_dsisr; 34 ctx->csa.class_1_dar = spu->class_1_dar; 60 * If the spu hasn't finished stopping, we need to 103 mfc_cntl = &ctx->spu 355 struct spu *spu; local [all...] |
H A D | hw_ops.c | 31 #include <asm/spu.h> 39 struct spu *spu = ctx->spu; local 40 struct spu_problem __iomem *prob = spu->problem; 44 spin_lock_irq(&spu->register_lock); 50 spin_unlock_irq(&spu->register_lock); 56 return in_be32(&ctx->spu->problem->mb_stat_R); 62 struct spu *spu local 98 struct spu *spu = ctx->spu; local 119 struct spu *spu = ctx->spu; local 150 struct spu *spu = ctx->spu; local 171 struct spu *spu = ctx->spu; local 241 struct spu *spu = ctx->spu; local 252 struct spu *spu = ctx->spu; local [all...] |
H A D | sched.c | 46 #include <asm/spu.h> 72 * Frequency of the spu scheduler tick. By default we do one SPU scheduler 80 * Minimum timeslice is 5 msecs (or 1 spu scheduler tick, whichever is 145 /* Save the current cpu id for spu interrupt routing. */ 154 node = ctx->spu->node; 201 struct spu *spu; local 204 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { 205 if (spu->alloc_state != SPU_FREE) { 206 struct spu_context *ctx = spu 222 spu_bind_context(struct spu *spu, struct spu_context *ctx) argument 263 sched_spu(struct spu *spu) argument 307 struct spu *spu; local 382 struct spu *spu; local 436 spu_unbind_context(struct spu *spu, struct spu_context *ctx) argument 573 struct spu *spu, *aff_ref_spu; local 632 struct spu *spu; local 717 __spu_schedule(struct spu *spu, struct spu_context *ctx) argument 739 spu_schedule(struct spu *spu, struct spu_context *ctx) argument 762 spu_unschedule(struct spu *spu, struct spu_context *ctx, int free_spu) argument 788 struct spu *spu; local 864 struct spu *spu = ctx->spu; local 922 struct spu *spu = NULL; local 1008 struct spu *spu; local 1042 struct spu *spu; local 1155 struct spu *spu; local [all...] |
H A D | spufs.h | 31 #include <asm/spu.h> 80 struct spu *spu; /* pointer to a physical SPU */ member in struct:spu_context 167 struct spu *aff_ref_spu; 271 struct spu *affinity_check(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, 347 void spufs_ibox_callback(struct spu *sp [all...] |
H A D | file.c | 36 #include <asm/spu.h> 274 pfn = (ctx->spu->local_store_phys + offset) >> PAGE_SHIFT; 409 spu_context_trace(spufs_ps_fault__wake, ctx, ctx->spu); 412 area = ctx->spu->problem_phys + ps_offs; 415 spu_context_trace(spufs_ps_fault__insert, ctx, ctx->spu); 752 void spufs_ibox_callback(struct spu *spu) argument 754 struct spu_context *ctx = spu->ctx; 904 void spufs_wbox_callback(struct spu *spu) argument 1577 spufs_mfc_callback(struct spu *spu) argument 2603 spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, u32 type, u32 val) argument 2633 struct spu *spu = ctx->spu; local [all...] |
H A D | switch.c | 47 #include <asm/spu.h> 78 static inline void acquire_spu_lock(struct spu *spu) argument 87 static inline void release_spu_lock(struct spu *spu) argument 95 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) argument 97 struct spu_problem __iomem *prob = spu->problem; 111 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) argument 148 set_watchdog_timer(struct spu_state *csa, struct spu *spu) argument 161 inhibit_user_access(struct spu_state *csa, struct spu *spu) argument 172 set_switch_pending(struct spu_state *csa, struct spu *spu) argument 181 save_mfc_cntl(struct spu_state *csa, struct spu *spu) argument 215 save_spu_runcntl(struct spu_state *csa, struct spu *spu) argument 226 save_mfc_sr1(struct spu_state *csa, struct spu *spu) argument 234 save_spu_status(struct spu_state *csa, struct spu *spu) argument 260 save_mfc_stopped_status(struct spu_state *csa, struct spu *spu) argument 277 halt_mfc_decr(struct spu_state *csa, struct spu *spu) argument 290 save_timebase(struct spu_state *csa, struct spu *spu) argument 299 remove_other_spu_access(struct spu_state *csa, struct spu *spu) argument 308 do_mfc_mssync(struct spu_state *csa, struct spu *spu) argument 321 issue_mfc_tlbie(struct spu_state *csa, struct spu *spu) argument 333 handle_pending_interrupts(struct spu_state *csa, struct spu *spu) argument 347 save_mfc_queues(struct spu_state *csa, struct spu *spu) argument 380 save_ppu_querymask(struct spu_state *csa, struct spu *spu) argument 391 save_ppu_querytype(struct spu_state *csa, struct spu *spu) argument 402 save_ppu_tagstatus(struct spu_state *csa, struct spu *spu) argument 415 save_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) argument 427 save_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) argument 439 save_mfc_csr_ato(struct spu_state *csa, struct spu *spu) argument 450 save_mfc_tclass_id(struct spu_state *csa, struct spu *spu) argument 459 set_mfc_tclass_id(struct spu_state *csa, struct spu *spu) argument 470 purge_mfc_queue(struct spu_state *csa, struct spu *spu) argument 484 wait_purge_complete(struct spu_state *csa, struct spu *spu) argument 497 setup_mfc_sr1(struct spu_state *csa, struct spu *spu) argument 515 save_spu_npc(struct spu_state *csa, struct spu *spu) argument 525 save_spu_privcntl(struct spu_state *csa, struct spu *spu) argument 535 reset_spu_privcntl(struct spu_state *csa, struct spu *spu) argument 547 save_spu_lslr(struct spu_state *csa, struct spu *spu) argument 557 reset_spu_lslr(struct spu_state *csa, struct spu *spu) argument 569 save_spu_cfg(struct spu_state *csa, struct spu *spu) argument 579 save_pm_trace(struct spu_state *csa, struct spu *spu) argument 587 save_mfc_rag(struct spu_state *csa, struct spu *spu) argument 599 save_ppu_mb_stat(struct spu_state *csa, struct spu *spu) argument 609 save_ppu_mb(struct spu_state *csa, struct spu *spu) argument 619 save_ppuint_mb(struct spu_state *csa, struct spu *spu) argument 629 save_ch_part1(struct spu_state *csa, struct spu *spu) argument 655 save_spu_mb(struct spu_state *csa, struct spu *spu) argument 673 save_mfc_cmd(struct spu_state *csa, struct spu *spu) argument 686 reset_ch(struct spu_state *csa, struct spu *spu) argument 706 resume_mfc_queue(struct spu_state *csa, struct spu *spu) argument 717 setup_mfc_slbs(struct spu_state *csa, struct spu *spu, unsigned int *code, int code_size) argument 738 set_switch_active(struct spu_state *csa, struct spu *spu) argument 755 enable_interrupts(struct spu_state *csa, struct spu *spu) argument 778 send_mfc_dma(struct spu *spu, unsigned long ea, unsigned int ls_offset, unsigned int size, unsigned int tag, unsigned int rclass, unsigned int cmd) argument 812 save_ls_16kb(struct spu_state *csa, struct spu *spu) argument 828 set_spu_npc(struct spu_state *csa, struct spu *spu) argument 845 set_signot1(struct spu_state *csa, struct spu *spu) argument 863 set_signot2(struct spu_state *csa, struct spu *spu) argument 881 send_save_code(struct spu_state *csa, struct spu *spu) argument 897 set_ppu_querymask(struct spu_state *csa, struct spu *spu) argument 910 wait_tag_complete(struct spu_state *csa, struct spu *spu) argument 933 wait_spu_stopped(struct spu_state *csa, struct spu *spu) argument 952 check_save_status(struct spu_state *csa, struct spu *spu) argument 967 terminate_spu_app(struct spu_state *csa, struct spu *spu) argument 975 suspend_mfc_and_halt_decr(struct spu_state *csa, struct spu *spu) argument 989 wait_suspend_mfc_complete(struct spu_state *csa, struct spu *spu) argument 1003 suspend_spe(struct spu_state *csa, struct spu *spu) argument 1045 clear_spu_status(struct spu_state *csa, struct spu *spu) argument 1079 reset_ch_part1(struct spu_state *csa, struct spu *spu) argument 1104 reset_ch_part2(struct spu_state *csa, struct spu *spu) argument 1124 setup_spu_status_part1(struct spu_state *csa, struct spu *spu) argument 1216 setup_spu_status_part2(struct spu_state *csa, struct spu *spu) argument 1240 restore_mfc_rag(struct spu_state *csa, struct spu *spu) argument 1252 send_restore_code(struct spu_state *csa, struct spu *spu) argument 1268 setup_decr(struct spu_state *csa, struct spu *spu) argument 1293 setup_ppu_mb(struct spu_state *csa, struct spu *spu) argument 1301 setup_ppuint_mb(struct spu_state *csa, struct spu *spu) argument 1309 check_restore_status(struct spu_state *csa, struct spu *spu) argument 1324 restore_spu_privcntl(struct spu_state *csa, struct spu *spu) argument 1335 restore_status_part1(struct spu_state *csa, struct spu *spu) argument 1355 restore_status_part2(struct spu_state *csa, struct spu *spu) argument 1382 restore_ls_16kb(struct spu_state *csa, struct spu *spu) argument 1398 suspend_mfc(struct spu_state *csa, struct spu *spu) argument 1410 clear_interrupts(struct spu_state *csa, struct spu *spu) argument 1430 restore_mfc_queues(struct spu_state *csa, struct spu *spu) argument 1464 restore_ppu_querymask(struct spu_state *csa, struct spu *spu) argument 1475 restore_ppu_querytype(struct spu_state *csa, struct spu *spu) argument 1486 restore_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) argument 1498 restore_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) argument 1511 restore_mfc_csr_ato(struct spu_state *csa, struct spu *spu) argument 1521 restore_mfc_tclass_id(struct spu_state *csa, struct spu *spu) argument 1530 set_llr_event(struct spu_state *csa, struct spu *spu) argument 1553 restore_decr_wrapped(struct spu_state *csa, struct spu *spu) argument 1571 restore_ch_part1(struct spu_state *csa, struct spu *spu) argument 1590 restore_ch_part2(struct spu_state *csa, struct spu *spu) argument 1613 restore_spu_lslr(struct spu_state *csa, struct spu *spu) argument 1624 restore_spu_cfg(struct spu_state *csa, struct spu *spu) argument 1635 restore_pm_trace(struct spu_state *csa, struct spu *spu) argument 1643 restore_spu_npc(struct spu_state *csa, struct spu *spu) argument 1654 restore_spu_mb(struct spu_state *csa, struct spu *spu) argument 1671 check_ppu_mb_stat(struct spu_state *csa, struct spu *spu) argument 1686 check_ppuint_mb_stat(struct spu_state *csa, struct spu *spu) argument 1703 restore_mfc_sr1(struct spu_state *csa, struct spu *spu) argument 1712 set_int_route(struct spu_state *csa, struct spu *spu) argument 1719 restore_other_spu_access(struct spu_state *csa, struct spu *spu) argument 1727 restore_spu_runcntl(struct spu_state *csa, struct spu *spu) argument 1741 restore_mfc_cntl(struct spu_state *csa, struct spu *spu) argument 1761 enable_user_access(struct spu_state *csa, struct spu *spu) argument 1771 reset_switch_active(struct spu_state *csa, struct spu *spu) argument 1779 reenable_interrupts(struct spu_state *csa, struct spu *spu) argument 1791 quiece_spu(struct spu_state *prev, struct spu *spu) argument 1828 save_csa(struct spu_state *prev, struct spu *spu) argument 1864 save_lscsa(struct spu_state *prev, struct spu *spu) argument 1887 force_spu_isolate_exit(struct spu *spu) argument 1919 stop_spu_isolate(struct spu *spu) argument 1932 harvest(struct spu_state *prev, struct spu *spu) argument 1967 restore_lscsa(struct spu_state *next, struct spu *spu) argument 1993 restore_csa(struct spu_state *next, struct spu *spu) argument 2038 __do_spu_save(struct spu_state *prev, struct spu *spu) argument 2070 __do_spu_restore(struct spu_state *next, struct spu *spu) argument 2108 spu_save(struct spu_state *prev, struct spu *spu) argument 2132 spu_restore(struct spu_state *new, struct spu *spu) argument [all...] |
/arch/m32r/include/uapi/asm/ |
H A D | ptrace.h | 103 unsigned long spu; /* saved user stack */ member in struct:pt_regs
|
/arch/powerpc/include/asm/ |
H A D | spu_priv1.h | 2 * Defines an spu hypervisor abstraction layer. 26 struct spu; 32 void (*int_mask_and) (struct spu *spu, int class, u64 mask); 33 void (*int_mask_or) (struct spu *spu, int class, u64 mask); 34 void (*int_mask_set) (struct spu *spu, int class, u64 mask); 35 u64 (*int_mask_get) (struct spu *spu, in 57 spu_int_mask_and(struct spu *spu, int class, u64 mask) argument 63 spu_int_mask_or(struct spu *spu, int class, u64 mask) argument 69 spu_int_mask_set(struct spu *spu, int class, u64 mask) argument 75 spu_int_mask_get(struct spu *spu, int class) argument 81 spu_int_stat_clear(struct spu *spu, int class, u64 stat) argument 87 spu_int_stat_get(struct spu *spu, int class) argument 93 spu_cpu_affinity_set(struct spu *spu, int cpu) argument 99 spu_mfc_dar_get(struct spu *spu) argument 105 spu_mfc_dsisr_get(struct spu *spu) argument 111 spu_mfc_dsisr_set(struct spu *spu, u64 dsisr) argument 117 spu_mfc_sdr_setup(struct spu *spu) argument 123 spu_mfc_sr1_set(struct spu *spu, u64 sr1) argument 129 spu_mfc_sr1_get(struct spu *spu) argument 135 spu_mfc_tclass_id_set(struct spu *spu, u64 tclass_id) argument 141 spu_mfc_tclass_id_get(struct spu *spu) argument 147 spu_tlb_invalidate(struct spu *spu) argument 153 spu_resource_allocation_groupID_set(struct spu *spu, u64 id) argument 159 spu_resource_allocation_groupID_get(struct spu *spu) argument 165 spu_resource_allocation_enable_set(struct spu *spu, u64 enable) argument 171 spu_resource_allocation_enable_get(struct spu *spu) argument 196 spu_create_spu(struct spu *spu, void *data) argument 202 spu_destroy_spu(struct spu *spu) argument [all...] |
H A D | spu.h | 121 struct spu { struct 149 void (* wbox_callback)(struct spu *spu); 150 void (* ibox_callback)(struct spu *spu); 151 void (* stop_callback)(struct spu *spu, int irq); 152 void (* mfc_callback)(struct spu *spu); 203 void spu_init_channels(struct spu *sp [all...] |
/arch/powerpc/platforms/ps3/ |
H A D | spu.c | 2 * PS3 Platform spu routines. 29 #include <asm/spu.h> 128 static struct spu_pdata *spu_pdata(struct spu *spu) argument 130 return spu->pdata; 162 static int __init construct_spu(struct spu *spu) argument 171 &spu_pdata(spu)->priv2_addr, &problem_phys, 173 &spu_pdata(spu)->shadow_addr, 174 &spu_pdata(spu) 187 spu_unmap(struct spu *spu) argument 205 setup_areas(struct spu *spu) argument 258 setup_interrupts(struct spu *spu) argument 291 enable_spu(struct spu *spu) argument 324 ps3_destroy_spu(struct spu *spu) argument 350 ps3_create_spu(struct spu *spu, void *data) argument 479 int_mask_and(struct spu *spu, int class, u64 mask) argument 488 int_mask_or(struct spu *spu, int class, u64 mask) argument 496 int_mask_set(struct spu *spu, int class, u64 mask) argument 503 int_mask_get(struct spu *spu, int class) argument 508 int_stat_clear(struct spu *spu, int class, u64 stat) argument 516 int_stat_get(struct spu *spu, int class) argument 524 cpu_affinity_set(struct spu *spu, int cpu) argument 529 mfc_dar_get(struct spu *spu) argument 534 mfc_dsisr_set(struct spu *spu, u64 dsisr) argument 539 mfc_dsisr_get(struct spu *spu) argument 544 mfc_sdr_setup(struct spu *spu) argument 549 mfc_sr1_set(struct spu *spu, u64 sr1) argument 565 mfc_sr1_get(struct spu *spu) argument 570 mfc_tclass_id_set(struct spu *spu, u64 tclass_id) argument 579 mfc_tclass_id_get(struct spu *spu) argument 584 tlb_invalidate(struct spu *spu) argument 589 resource_allocation_groupID_set(struct spu *spu, u64 id) argument 594 resource_allocation_groupID_get(struct spu *spu) argument 599 resource_allocation_enable_set(struct spu *spu, u64 enable) argument 604 resource_allocation_enable_get(struct spu *spu) argument [all...] |
/arch/powerpc/xmon/ |
H A D | xmon.c | 42 #include <asm/spu.h> 231 sf # dump spu fields for spu # (in hex)\n\ 232 sd # dump spu local store for spu # (in hex)\n\ 233 sdi # disassemble spu local store for spu # (in hex)\n" 2990 struct spu *spu; member in struct:spu_info 3003 struct spu *sp local 3020 struct spu *spu; local 3061 struct spu *spu; local 3116 dump_spu_fields(struct spu *spu) argument [all...] |