Lines Matching refs:spu_state
81 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) in check_spu_isolate()
97 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) in disable_interrupts()
134 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) in set_watchdog_timer()
147 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) in inhibit_user_access()
158 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) in set_switch_pending()
167 static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) in save_mfc_cntl()
201 static inline void save_spu_runcntl(struct spu_state *csa, struct spu *spu) in save_spu_runcntl()
212 static inline void save_mfc_sr1(struct spu_state *csa, struct spu *spu) in save_mfc_sr1()
220 static inline void save_spu_status(struct spu_state *csa, struct spu *spu) in save_spu_status()
246 static inline void save_mfc_stopped_status(struct spu_state *csa, in save_mfc_stopped_status()
263 static inline void halt_mfc_decr(struct spu_state *csa, struct spu *spu) in halt_mfc_decr()
276 static inline void save_timebase(struct spu_state *csa, struct spu *spu) in save_timebase()
285 static inline void remove_other_spu_access(struct spu_state *csa, in remove_other_spu_access()
294 static inline void do_mfc_mssync(struct spu_state *csa, struct spu *spu) in do_mfc_mssync()
307 static inline void issue_mfc_tlbie(struct spu_state *csa, struct spu *spu) in issue_mfc_tlbie()
319 static inline void handle_pending_interrupts(struct spu_state *csa, in handle_pending_interrupts()
333 static inline void save_mfc_queues(struct spu_state *csa, struct spu *spu) in save_mfc_queues()
366 static inline void save_ppu_querymask(struct spu_state *csa, struct spu *spu) in save_ppu_querymask()
377 static inline void save_ppu_querytype(struct spu_state *csa, struct spu *spu) in save_ppu_querytype()
388 static inline void save_ppu_tagstatus(struct spu_state *csa, struct spu *spu) in save_ppu_tagstatus()
401 static inline void save_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) in save_mfc_csr_tsq()
413 static inline void save_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) in save_mfc_csr_cmd()
425 static inline void save_mfc_csr_ato(struct spu_state *csa, struct spu *spu) in save_mfc_csr_ato()
436 static inline void save_mfc_tclass_id(struct spu_state *csa, struct spu *spu) in save_mfc_tclass_id()
445 static inline void set_mfc_tclass_id(struct spu_state *csa, struct spu *spu) in set_mfc_tclass_id()
456 static inline void purge_mfc_queue(struct spu_state *csa, struct spu *spu) in purge_mfc_queue()
470 static inline void wait_purge_complete(struct spu_state *csa, struct spu *spu) in wait_purge_complete()
483 static inline void setup_mfc_sr1(struct spu_state *csa, struct spu *spu) in setup_mfc_sr1()
501 static inline void save_spu_npc(struct spu_state *csa, struct spu *spu) in save_spu_npc()
511 static inline void save_spu_privcntl(struct spu_state *csa, struct spu *spu) in save_spu_privcntl()
521 static inline void reset_spu_privcntl(struct spu_state *csa, struct spu *spu) in reset_spu_privcntl()
533 static inline void save_spu_lslr(struct spu_state *csa, struct spu *spu) in save_spu_lslr()
543 static inline void reset_spu_lslr(struct spu_state *csa, struct spu *spu) in reset_spu_lslr()
555 static inline void save_spu_cfg(struct spu_state *csa, struct spu *spu) in save_spu_cfg()
565 static inline void save_pm_trace(struct spu_state *csa, struct spu *spu) in save_pm_trace()
573 static inline void save_mfc_rag(struct spu_state *csa, struct spu *spu) in save_mfc_rag()
585 static inline void save_ppu_mb_stat(struct spu_state *csa, struct spu *spu) in save_ppu_mb_stat()
595 static inline void save_ppu_mb(struct spu_state *csa, struct spu *spu) in save_ppu_mb()
605 static inline void save_ppuint_mb(struct spu_state *csa, struct spu *spu) in save_ppuint_mb()
615 static inline void save_ch_part1(struct spu_state *csa, struct spu *spu) in save_ch_part1()
641 static inline void save_spu_mb(struct spu_state *csa, struct spu *spu) in save_spu_mb()
659 static inline void save_mfc_cmd(struct spu_state *csa, struct spu *spu) in save_mfc_cmd()
672 static inline void reset_ch(struct spu_state *csa, struct spu *spu) in reset_ch()
692 static inline void resume_mfc_queue(struct spu_state *csa, struct spu *spu) in resume_mfc_queue()
703 static inline void setup_mfc_slbs(struct spu_state *csa, struct spu *spu, in setup_mfc_slbs()
724 static inline void set_switch_active(struct spu_state *csa, struct spu *spu) in set_switch_active()
741 static inline void enable_interrupts(struct spu_state *csa, struct spu *spu) in enable_interrupts()
798 static inline void save_ls_16kb(struct spu_state *csa, struct spu *spu) in save_ls_16kb()
814 static inline void set_spu_npc(struct spu_state *csa, struct spu *spu) in set_spu_npc()
831 static inline void set_signot1(struct spu_state *csa, struct spu *spu) in set_signot1()
849 static inline void set_signot2(struct spu_state *csa, struct spu *spu) in set_signot2()
867 static inline void send_save_code(struct spu_state *csa, struct spu *spu) in send_save_code()
883 static inline void set_ppu_querymask(struct spu_state *csa, struct spu *spu) in set_ppu_querymask()
896 static inline void wait_tag_complete(struct spu_state *csa, struct spu *spu) in wait_tag_complete()
919 static inline void wait_spu_stopped(struct spu_state *csa, struct spu *spu) in wait_spu_stopped()
938 static inline int check_save_status(struct spu_state *csa, struct spu *spu) in check_save_status()
953 static inline void terminate_spu_app(struct spu_state *csa, struct spu *spu) in terminate_spu_app()
961 static inline void suspend_mfc_and_halt_decr(struct spu_state *csa, in suspend_mfc_and_halt_decr()
975 static inline void wait_suspend_mfc_complete(struct spu_state *csa, in wait_suspend_mfc_complete()
989 static inline int suspend_spe(struct spu_state *csa, struct spu *spu) in suspend_spe()
1031 static inline void clear_spu_status(struct spu_state *csa, struct spu *spu) in clear_spu_status()
1065 static inline void reset_ch_part1(struct spu_state *csa, struct spu *spu) in reset_ch_part1()
1090 static inline void reset_ch_part2(struct spu_state *csa, struct spu *spu) in reset_ch_part2()
1110 static inline void setup_spu_status_part1(struct spu_state *csa, in setup_spu_status_part1()
1202 static inline void setup_spu_status_part2(struct spu_state *csa, in setup_spu_status_part2()
1226 static inline void restore_mfc_rag(struct spu_state *csa, struct spu *spu) in restore_mfc_rag()
1238 static inline void send_restore_code(struct spu_state *csa, struct spu *spu) in send_restore_code()
1254 static inline void setup_decr(struct spu_state *csa, struct spu *spu) in setup_decr()
1279 static inline void setup_ppu_mb(struct spu_state *csa, struct spu *spu) in setup_ppu_mb()
1287 static inline void setup_ppuint_mb(struct spu_state *csa, struct spu *spu) in setup_ppuint_mb()
1295 static inline int check_restore_status(struct spu_state *csa, struct spu *spu) in check_restore_status()
1310 static inline void restore_spu_privcntl(struct spu_state *csa, struct spu *spu) in restore_spu_privcntl()
1321 static inline void restore_status_part1(struct spu_state *csa, struct spu *spu) in restore_status_part1()
1341 static inline void restore_status_part2(struct spu_state *csa, struct spu *spu) in restore_status_part2()
1368 static inline void restore_ls_16kb(struct spu_state *csa, struct spu *spu) in restore_ls_16kb()
1384 static inline void suspend_mfc(struct spu_state *csa, struct spu *spu) in suspend_mfc()
1396 static inline void clear_interrupts(struct spu_state *csa, struct spu *spu) in clear_interrupts()
1416 static inline void restore_mfc_queues(struct spu_state *csa, struct spu *spu) in restore_mfc_queues()
1450 static inline void restore_ppu_querymask(struct spu_state *csa, struct spu *spu) in restore_ppu_querymask()
1461 static inline void restore_ppu_querytype(struct spu_state *csa, struct spu *spu) in restore_ppu_querytype()
1472 static inline void restore_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) in restore_mfc_csr_tsq()
1484 static inline void restore_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) in restore_mfc_csr_cmd()
1497 static inline void restore_mfc_csr_ato(struct spu_state *csa, struct spu *spu) in restore_mfc_csr_ato()
1507 static inline void restore_mfc_tclass_id(struct spu_state *csa, struct spu *spu) in restore_mfc_tclass_id()
1516 static inline void set_llr_event(struct spu_state *csa, struct spu *spu) in set_llr_event()
1539 static inline void restore_decr_wrapped(struct spu_state *csa, struct spu *spu) in restore_decr_wrapped()
1557 static inline void restore_ch_part1(struct spu_state *csa, struct spu *spu) in restore_ch_part1()
1576 static inline void restore_ch_part2(struct spu_state *csa, struct spu *spu) in restore_ch_part2()
1599 static inline void restore_spu_lslr(struct spu_state *csa, struct spu *spu) in restore_spu_lslr()
1610 static inline void restore_spu_cfg(struct spu_state *csa, struct spu *spu) in restore_spu_cfg()
1621 static inline void restore_pm_trace(struct spu_state *csa, struct spu *spu) in restore_pm_trace()
1629 static inline void restore_spu_npc(struct spu_state *csa, struct spu *spu) in restore_spu_npc()
1640 static inline void restore_spu_mb(struct spu_state *csa, struct spu *spu) in restore_spu_mb()
1657 static inline void check_ppu_mb_stat(struct spu_state *csa, struct spu *spu) in check_ppu_mb_stat()
1671 static inline void check_ppuint_mb_stat(struct spu_state *csa, struct spu *spu) in check_ppuint_mb_stat()
1687 static inline void restore_mfc_sr1(struct spu_state *csa, struct spu *spu) in restore_mfc_sr1()
1696 static inline void set_int_route(struct spu_state *csa, struct spu *spu) in set_int_route()
1703 static inline void restore_other_spu_access(struct spu_state *csa, in restore_other_spu_access()
1711 static inline void restore_spu_runcntl(struct spu_state *csa, struct spu *spu) in restore_spu_runcntl()
1725 static inline void restore_mfc_cntl(struct spu_state *csa, struct spu *spu) in restore_mfc_cntl()
1745 static inline void enable_user_access(struct spu_state *csa, struct spu *spu) in enable_user_access()
1755 static inline void reset_switch_active(struct spu_state *csa, struct spu *spu) in reset_switch_active()
1763 static inline void reenable_interrupts(struct spu_state *csa, struct spu *spu) in reenable_interrupts()
1775 static int quiece_spu(struct spu_state *prev, struct spu *spu) in quiece_spu()
1812 static void save_csa(struct spu_state *prev, struct spu *spu) in save_csa()
1848 static void save_lscsa(struct spu_state *prev, struct spu *spu) in save_lscsa()
1916 static void harvest(struct spu_state *prev, struct spu *spu) in harvest()
1951 static void restore_lscsa(struct spu_state *next, struct spu *spu) in restore_lscsa()
1977 static void restore_csa(struct spu_state *next, struct spu *spu) in restore_csa()
2022 static int __do_spu_save(struct spu_state *prev, struct spu *spu) in __do_spu_save()
2054 static int __do_spu_restore(struct spu_state *next, struct spu *spu) in __do_spu_restore()
2092 int spu_save(struct spu_state *prev, struct spu *spu) in spu_save()
2116 int spu_restore(struct spu_state *new, struct spu *spu) in spu_restore()
2133 static void init_prob(struct spu_state *csa) in init_prob()
2144 static void init_priv1(struct spu_state *csa) in init_priv1()
2163 static void init_priv2(struct spu_state *csa) in init_priv2()
2182 int spu_init_csa(struct spu_state *csa) in spu_init_csa()
2188 memset(csa, 0, sizeof(struct spu_state)); in spu_init_csa()
2203 void spu_fini_csa(struct spu_state *csa) in spu_fini_csa()