spu_state 297 arch/powerpc/platforms/cell/spufs/backing_ops.c struct spu_state *csa = &ctx->csa; spu_state 308 arch/powerpc/platforms/cell/spufs/backing_ops.c struct spu_state *csa = &ctx->csa; spu_state 1862 arch/powerpc/platforms/cell/spufs/file.c struct spu_state *state = &ctx->csa; spu_state 2518 arch/powerpc/platforms/cell/spufs/file.c struct spu_state *csa = &ctx->csa; spu_state 21 arch/powerpc/platforms/cell/spufs/lscsa_alloc.c int spu_alloc_lscsa(struct spu_state *csa) spu_state 38 arch/powerpc/platforms/cell/spufs/lscsa_alloc.c void spu_free_lscsa(struct spu_state *csa) spu_state 69 arch/powerpc/platforms/cell/spufs/spufs.h struct spu_state csa; /* SPU context save area. */ spu_state 348 arch/powerpc/platforms/cell/spufs/spufs.h extern int spu_init_csa(struct spu_state *csa); spu_state 349 arch/powerpc/platforms/cell/spufs/spufs.h extern void spu_fini_csa(struct spu_state *csa); spu_state 350 arch/powerpc/platforms/cell/spufs/spufs.h extern int spu_save(struct spu_state *prev, struct spu *spu); spu_state 351 arch/powerpc/platforms/cell/spufs/spufs.h extern int spu_restore(struct spu_state *new, struct spu *spu); spu_state 352 arch/powerpc/platforms/cell/spufs/spufs.h extern int spu_switch(struct spu_state *prev, struct spu_state *new, spu_state 354 arch/powerpc/platforms/cell/spufs/spufs.h extern int spu_alloc_lscsa(struct spu_state *csa); spu_state 355 arch/powerpc/platforms/cell/spufs/spufs.h extern void spu_free_lscsa(struct spu_state *csa); spu_state 81 arch/powerpc/platforms/cell/spufs/switch.c static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) spu_state 97 arch/powerpc/platforms/cell/spufs/switch.c static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) spu_state 134 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) spu_state 147 arch/powerpc/platforms/cell/spufs/switch.c static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) spu_state 158 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) spu_state 167 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) spu_state 201 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_runcntl(struct spu_state *csa, struct spu *spu) spu_state 212 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_sr1(struct spu_state *csa, struct spu *spu) spu_state 220 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_status(struct spu_state *csa, struct spu *spu) spu_state 246 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_stopped_status(struct spu_state *csa, spu_state 263 arch/powerpc/platforms/cell/spufs/switch.c static inline void halt_mfc_decr(struct spu_state *csa, struct spu *spu) spu_state 276 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_timebase(struct spu_state *csa, struct spu *spu) spu_state 285 arch/powerpc/platforms/cell/spufs/switch.c static inline void remove_other_spu_access(struct spu_state *csa, spu_state 294 arch/powerpc/platforms/cell/spufs/switch.c static inline void do_mfc_mssync(struct spu_state *csa, struct spu *spu) spu_state 307 arch/powerpc/platforms/cell/spufs/switch.c static inline void issue_mfc_tlbie(struct spu_state *csa, struct spu *spu) spu_state 319 arch/powerpc/platforms/cell/spufs/switch.c static inline void handle_pending_interrupts(struct spu_state *csa, spu_state 333 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_queues(struct spu_state *csa, struct spu *spu) spu_state 366 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ppu_querymask(struct spu_state *csa, struct spu *spu) spu_state 377 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ppu_querytype(struct spu_state *csa, struct spu *spu) spu_state 388 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ppu_tagstatus(struct spu_state *csa, struct spu *spu) spu_state 401 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) spu_state 413 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) spu_state 425 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_csr_ato(struct spu_state *csa, struct spu *spu) spu_state 436 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_tclass_id(struct spu_state *csa, struct spu *spu) spu_state 445 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_mfc_tclass_id(struct spu_state *csa, struct spu *spu) spu_state 456 arch/powerpc/platforms/cell/spufs/switch.c static inline void purge_mfc_queue(struct spu_state *csa, struct spu *spu) spu_state 470 arch/powerpc/platforms/cell/spufs/switch.c static inline void wait_purge_complete(struct spu_state *csa, struct spu *spu) spu_state 483 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_mfc_sr1(struct spu_state *csa, struct spu *spu) spu_state 501 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_npc(struct spu_state *csa, struct spu *spu) spu_state 511 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_privcntl(struct spu_state *csa, struct spu *spu) spu_state 521 arch/powerpc/platforms/cell/spufs/switch.c static inline void reset_spu_privcntl(struct spu_state *csa, struct spu *spu) spu_state 533 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_lslr(struct spu_state *csa, struct spu *spu) spu_state 543 arch/powerpc/platforms/cell/spufs/switch.c static inline void reset_spu_lslr(struct spu_state *csa, struct spu *spu) spu_state 555 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_cfg(struct spu_state *csa, struct spu *spu) spu_state 565 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_pm_trace(struct spu_state *csa, struct spu *spu) spu_state 573 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_rag(struct spu_state *csa, struct spu *spu) spu_state 585 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ppu_mb_stat(struct spu_state *csa, struct spu *spu) spu_state 595 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ppu_mb(struct spu_state *csa, struct spu *spu) spu_state 605 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ppuint_mb(struct spu_state *csa, struct spu *spu) spu_state 615 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ch_part1(struct spu_state *csa, struct spu *spu) spu_state 641 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_spu_mb(struct spu_state *csa, struct spu *spu) spu_state 659 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_mfc_cmd(struct spu_state *csa, struct spu *spu) spu_state 672 arch/powerpc/platforms/cell/spufs/switch.c static inline void reset_ch(struct spu_state *csa, struct spu *spu) spu_state 692 arch/powerpc/platforms/cell/spufs/switch.c static inline void resume_mfc_queue(struct spu_state *csa, struct spu *spu) spu_state 703 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_mfc_slbs(struct spu_state *csa, struct spu *spu, spu_state 724 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_switch_active(struct spu_state *csa, struct spu *spu) spu_state 741 arch/powerpc/platforms/cell/spufs/switch.c static inline void enable_interrupts(struct spu_state *csa, struct spu *spu) spu_state 798 arch/powerpc/platforms/cell/spufs/switch.c static inline void save_ls_16kb(struct spu_state *csa, struct spu *spu) spu_state 814 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_spu_npc(struct spu_state *csa, struct spu *spu) spu_state 831 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_signot1(struct spu_state *csa, struct spu *spu) spu_state 849 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_signot2(struct spu_state *csa, struct spu *spu) spu_state 867 arch/powerpc/platforms/cell/spufs/switch.c static inline void send_save_code(struct spu_state *csa, struct spu *spu) spu_state 883 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_ppu_querymask(struct spu_state *csa, struct spu *spu) spu_state 896 arch/powerpc/platforms/cell/spufs/switch.c static inline void wait_tag_complete(struct spu_state *csa, struct spu *spu) spu_state 919 arch/powerpc/platforms/cell/spufs/switch.c static inline void wait_spu_stopped(struct spu_state *csa, struct spu *spu) spu_state 938 arch/powerpc/platforms/cell/spufs/switch.c static inline int check_save_status(struct spu_state *csa, struct spu *spu) spu_state 953 arch/powerpc/platforms/cell/spufs/switch.c static inline void terminate_spu_app(struct spu_state *csa, struct spu *spu) spu_state 961 arch/powerpc/platforms/cell/spufs/switch.c static inline void suspend_mfc_and_halt_decr(struct spu_state *csa, spu_state 975 arch/powerpc/platforms/cell/spufs/switch.c static inline void wait_suspend_mfc_complete(struct spu_state *csa, spu_state 989 arch/powerpc/platforms/cell/spufs/switch.c static inline int suspend_spe(struct spu_state *csa, struct spu *spu) spu_state 1031 arch/powerpc/platforms/cell/spufs/switch.c static inline void clear_spu_status(struct spu_state *csa, struct spu *spu) spu_state 1065 arch/powerpc/platforms/cell/spufs/switch.c static inline void reset_ch_part1(struct spu_state *csa, struct spu *spu) spu_state 1090 arch/powerpc/platforms/cell/spufs/switch.c static inline void reset_ch_part2(struct spu_state *csa, struct spu *spu) spu_state 1110 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_spu_status_part1(struct spu_state *csa, spu_state 1202 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_spu_status_part2(struct spu_state *csa, spu_state 1226 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_rag(struct spu_state *csa, struct spu *spu) spu_state 1238 arch/powerpc/platforms/cell/spufs/switch.c static inline void send_restore_code(struct spu_state *csa, struct spu *spu) spu_state 1254 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_decr(struct spu_state *csa, struct spu *spu) spu_state 1279 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_ppu_mb(struct spu_state *csa, struct spu *spu) spu_state 1287 arch/powerpc/platforms/cell/spufs/switch.c static inline void setup_ppuint_mb(struct spu_state *csa, struct spu *spu) spu_state 1295 arch/powerpc/platforms/cell/spufs/switch.c static inline int check_restore_status(struct spu_state *csa, struct spu *spu) spu_state 1310 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_spu_privcntl(struct spu_state *csa, struct spu *spu) spu_state 1321 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_status_part1(struct spu_state *csa, struct spu *spu) spu_state 1341 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_status_part2(struct spu_state *csa, struct spu *spu) spu_state 1368 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_ls_16kb(struct spu_state *csa, struct spu *spu) spu_state 1384 arch/powerpc/platforms/cell/spufs/switch.c static inline void suspend_mfc(struct spu_state *csa, struct spu *spu) spu_state 1396 arch/powerpc/platforms/cell/spufs/switch.c static inline void clear_interrupts(struct spu_state *csa, struct spu *spu) spu_state 1416 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_queues(struct spu_state *csa, struct spu *spu) spu_state 1450 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_ppu_querymask(struct spu_state *csa, struct spu *spu) spu_state 1461 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_ppu_querytype(struct spu_state *csa, struct spu *spu) spu_state 1472 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) spu_state 1484 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) spu_state 1497 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_csr_ato(struct spu_state *csa, struct spu *spu) spu_state 1507 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_tclass_id(struct spu_state *csa, struct spu *spu) spu_state 1516 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_llr_event(struct spu_state *csa, struct spu *spu) spu_state 1539 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_decr_wrapped(struct spu_state *csa, struct spu *spu) spu_state 1557 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_ch_part1(struct spu_state *csa, struct spu *spu) spu_state 1576 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_ch_part2(struct spu_state *csa, struct spu *spu) spu_state 1599 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_spu_lslr(struct spu_state *csa, struct spu *spu) spu_state 1610 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_spu_cfg(struct spu_state *csa, struct spu *spu) spu_state 1621 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_pm_trace(struct spu_state *csa, struct spu *spu) spu_state 1629 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_spu_npc(struct spu_state *csa, struct spu *spu) spu_state 1640 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_spu_mb(struct spu_state *csa, struct spu *spu) spu_state 1657 arch/powerpc/platforms/cell/spufs/switch.c static inline void check_ppu_mb_stat(struct spu_state *csa, struct spu *spu) spu_state 1672 arch/powerpc/platforms/cell/spufs/switch.c static inline void check_ppuint_mb_stat(struct spu_state *csa, struct spu *spu) spu_state 1689 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_sr1(struct spu_state *csa, struct spu *spu) spu_state 1698 arch/powerpc/platforms/cell/spufs/switch.c static inline void set_int_route(struct spu_state *csa, struct spu *spu) spu_state 1705 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_other_spu_access(struct spu_state *csa, spu_state 1713 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_spu_runcntl(struct spu_state *csa, struct spu *spu) spu_state 1727 arch/powerpc/platforms/cell/spufs/switch.c static inline void restore_mfc_cntl(struct spu_state *csa, struct spu *spu) spu_state 1747 arch/powerpc/platforms/cell/spufs/switch.c static inline void enable_user_access(struct spu_state *csa, struct spu *spu) spu_state 1757 arch/powerpc/platforms/cell/spufs/switch.c static inline void reset_switch_active(struct spu_state *csa, struct spu *spu) spu_state 1765 arch/powerpc/platforms/cell/spufs/switch.c static inline void reenable_interrupts(struct spu_state *csa, struct spu *spu) spu_state 1777 arch/powerpc/platforms/cell/spufs/switch.c static int quiece_spu(struct spu_state *prev, struct spu *spu) spu_state 1814 arch/powerpc/platforms/cell/spufs/switch.c static void save_csa(struct spu_state *prev, struct spu *spu) spu_state 1850 arch/powerpc/platforms/cell/spufs/switch.c static void save_lscsa(struct spu_state *prev, struct spu *spu) spu_state 1918 arch/powerpc/platforms/cell/spufs/switch.c static void harvest(struct spu_state *prev, struct spu *spu) spu_state 1953 arch/powerpc/platforms/cell/spufs/switch.c static void restore_lscsa(struct spu_state *next, struct spu *spu) spu_state 1979 arch/powerpc/platforms/cell/spufs/switch.c static void restore_csa(struct spu_state *next, struct spu *spu) spu_state 2024 arch/powerpc/platforms/cell/spufs/switch.c static int __do_spu_save(struct spu_state *prev, struct spu *spu) spu_state 2056 arch/powerpc/platforms/cell/spufs/switch.c static int __do_spu_restore(struct spu_state *next, struct spu *spu) spu_state 2094 arch/powerpc/platforms/cell/spufs/switch.c int spu_save(struct spu_state *prev, struct spu *spu) spu_state 2118 arch/powerpc/platforms/cell/spufs/switch.c int spu_restore(struct spu_state *new, struct spu *spu) spu_state 2135 arch/powerpc/platforms/cell/spufs/switch.c static void init_prob(struct spu_state *csa) spu_state 2146 arch/powerpc/platforms/cell/spufs/switch.c static void init_priv1(struct spu_state *csa) spu_state 2165 arch/powerpc/platforms/cell/spufs/switch.c static void init_priv2(struct spu_state *csa) spu_state 2184 arch/powerpc/platforms/cell/spufs/switch.c int spu_init_csa(struct spu_state *csa) spu_state 2190 arch/powerpc/platforms/cell/spufs/switch.c memset(csa, 0, sizeof(struct spu_state)); spu_state 2205 arch/powerpc/platforms/cell/spufs/switch.c void spu_fini_csa(struct spu_state *csa)