Lines Matching refs:spu_state
95 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) in check_spu_isolate()
111 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) in disable_interrupts()
148 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) in set_watchdog_timer()
161 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) in inhibit_user_access()
172 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) in set_switch_pending()
181 static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) in save_mfc_cntl()
215 static inline void save_spu_runcntl(struct spu_state *csa, struct spu *spu) in save_spu_runcntl()
226 static inline void save_mfc_sr1(struct spu_state *csa, struct spu *spu) in save_mfc_sr1()
234 static inline void save_spu_status(struct spu_state *csa, struct spu *spu) in save_spu_status()
260 static inline void save_mfc_stopped_status(struct spu_state *csa, in save_mfc_stopped_status()
277 static inline void halt_mfc_decr(struct spu_state *csa, struct spu *spu) in halt_mfc_decr()
290 static inline void save_timebase(struct spu_state *csa, struct spu *spu) in save_timebase()
299 static inline void remove_other_spu_access(struct spu_state *csa, in remove_other_spu_access()
308 static inline void do_mfc_mssync(struct spu_state *csa, struct spu *spu) in do_mfc_mssync()
321 static inline void issue_mfc_tlbie(struct spu_state *csa, struct spu *spu) in issue_mfc_tlbie()
333 static inline void handle_pending_interrupts(struct spu_state *csa, in handle_pending_interrupts()
347 static inline void save_mfc_queues(struct spu_state *csa, struct spu *spu) in save_mfc_queues()
380 static inline void save_ppu_querymask(struct spu_state *csa, struct spu *spu) in save_ppu_querymask()
391 static inline void save_ppu_querytype(struct spu_state *csa, struct spu *spu) in save_ppu_querytype()
402 static inline void save_ppu_tagstatus(struct spu_state *csa, struct spu *spu) in save_ppu_tagstatus()
415 static inline void save_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) in save_mfc_csr_tsq()
427 static inline void save_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) in save_mfc_csr_cmd()
439 static inline void save_mfc_csr_ato(struct spu_state *csa, struct spu *spu) in save_mfc_csr_ato()
450 static inline void save_mfc_tclass_id(struct spu_state *csa, struct spu *spu) in save_mfc_tclass_id()
459 static inline void set_mfc_tclass_id(struct spu_state *csa, struct spu *spu) in set_mfc_tclass_id()
470 static inline void purge_mfc_queue(struct spu_state *csa, struct spu *spu) in purge_mfc_queue()
484 static inline void wait_purge_complete(struct spu_state *csa, struct spu *spu) in wait_purge_complete()
497 static inline void setup_mfc_sr1(struct spu_state *csa, struct spu *spu) in setup_mfc_sr1()
515 static inline void save_spu_npc(struct spu_state *csa, struct spu *spu) in save_spu_npc()
525 static inline void save_spu_privcntl(struct spu_state *csa, struct spu *spu) in save_spu_privcntl()
535 static inline void reset_spu_privcntl(struct spu_state *csa, struct spu *spu) in reset_spu_privcntl()
547 static inline void save_spu_lslr(struct spu_state *csa, struct spu *spu) in save_spu_lslr()
557 static inline void reset_spu_lslr(struct spu_state *csa, struct spu *spu) in reset_spu_lslr()
569 static inline void save_spu_cfg(struct spu_state *csa, struct spu *spu) in save_spu_cfg()
579 static inline void save_pm_trace(struct spu_state *csa, struct spu *spu) in save_pm_trace()
587 static inline void save_mfc_rag(struct spu_state *csa, struct spu *spu) in save_mfc_rag()
599 static inline void save_ppu_mb_stat(struct spu_state *csa, struct spu *spu) in save_ppu_mb_stat()
609 static inline void save_ppu_mb(struct spu_state *csa, struct spu *spu) in save_ppu_mb()
619 static inline void save_ppuint_mb(struct spu_state *csa, struct spu *spu) in save_ppuint_mb()
629 static inline void save_ch_part1(struct spu_state *csa, struct spu *spu) in save_ch_part1()
655 static inline void save_spu_mb(struct spu_state *csa, struct spu *spu) in save_spu_mb()
673 static inline void save_mfc_cmd(struct spu_state *csa, struct spu *spu) in save_mfc_cmd()
686 static inline void reset_ch(struct spu_state *csa, struct spu *spu) in reset_ch()
706 static inline void resume_mfc_queue(struct spu_state *csa, struct spu *spu) in resume_mfc_queue()
717 static inline void setup_mfc_slbs(struct spu_state *csa, struct spu *spu, in setup_mfc_slbs()
738 static inline void set_switch_active(struct spu_state *csa, struct spu *spu) in set_switch_active()
755 static inline void enable_interrupts(struct spu_state *csa, struct spu *spu) in enable_interrupts()
812 static inline void save_ls_16kb(struct spu_state *csa, struct spu *spu) in save_ls_16kb()
828 static inline void set_spu_npc(struct spu_state *csa, struct spu *spu) in set_spu_npc()
845 static inline void set_signot1(struct spu_state *csa, struct spu *spu) in set_signot1()
863 static inline void set_signot2(struct spu_state *csa, struct spu *spu) in set_signot2()
881 static inline void send_save_code(struct spu_state *csa, struct spu *spu) in send_save_code()
897 static inline void set_ppu_querymask(struct spu_state *csa, struct spu *spu) in set_ppu_querymask()
910 static inline void wait_tag_complete(struct spu_state *csa, struct spu *spu) in wait_tag_complete()
933 static inline void wait_spu_stopped(struct spu_state *csa, struct spu *spu) in wait_spu_stopped()
952 static inline int check_save_status(struct spu_state *csa, struct spu *spu) in check_save_status()
967 static inline void terminate_spu_app(struct spu_state *csa, struct spu *spu) in terminate_spu_app()
975 static inline void suspend_mfc_and_halt_decr(struct spu_state *csa, in suspend_mfc_and_halt_decr()
989 static inline void wait_suspend_mfc_complete(struct spu_state *csa, in wait_suspend_mfc_complete()
1003 static inline int suspend_spe(struct spu_state *csa, struct spu *spu) in suspend_spe()
1045 static inline void clear_spu_status(struct spu_state *csa, struct spu *spu) in clear_spu_status()
1079 static inline void reset_ch_part1(struct spu_state *csa, struct spu *spu) in reset_ch_part1()
1104 static inline void reset_ch_part2(struct spu_state *csa, struct spu *spu) in reset_ch_part2()
1124 static inline void setup_spu_status_part1(struct spu_state *csa, in setup_spu_status_part1()
1216 static inline void setup_spu_status_part2(struct spu_state *csa, in setup_spu_status_part2()
1240 static inline void restore_mfc_rag(struct spu_state *csa, struct spu *spu) in restore_mfc_rag()
1252 static inline void send_restore_code(struct spu_state *csa, struct spu *spu) in send_restore_code()
1268 static inline void setup_decr(struct spu_state *csa, struct spu *spu) in setup_decr()
1293 static inline void setup_ppu_mb(struct spu_state *csa, struct spu *spu) in setup_ppu_mb()
1301 static inline void setup_ppuint_mb(struct spu_state *csa, struct spu *spu) in setup_ppuint_mb()
1309 static inline int check_restore_status(struct spu_state *csa, struct spu *spu) in check_restore_status()
1324 static inline void restore_spu_privcntl(struct spu_state *csa, struct spu *spu) in restore_spu_privcntl()
1335 static inline void restore_status_part1(struct spu_state *csa, struct spu *spu) in restore_status_part1()
1355 static inline void restore_status_part2(struct spu_state *csa, struct spu *spu) in restore_status_part2()
1382 static inline void restore_ls_16kb(struct spu_state *csa, struct spu *spu) in restore_ls_16kb()
1398 static inline void suspend_mfc(struct spu_state *csa, struct spu *spu) in suspend_mfc()
1410 static inline void clear_interrupts(struct spu_state *csa, struct spu *spu) in clear_interrupts()
1430 static inline void restore_mfc_queues(struct spu_state *csa, struct spu *spu) in restore_mfc_queues()
1464 static inline void restore_ppu_querymask(struct spu_state *csa, struct spu *spu) in restore_ppu_querymask()
1475 static inline void restore_ppu_querytype(struct spu_state *csa, struct spu *spu) in restore_ppu_querytype()
1486 static inline void restore_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) in restore_mfc_csr_tsq()
1498 static inline void restore_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) in restore_mfc_csr_cmd()
1511 static inline void restore_mfc_csr_ato(struct spu_state *csa, struct spu *spu) in restore_mfc_csr_ato()
1521 static inline void restore_mfc_tclass_id(struct spu_state *csa, struct spu *spu) in restore_mfc_tclass_id()
1530 static inline void set_llr_event(struct spu_state *csa, struct spu *spu) in set_llr_event()
1553 static inline void restore_decr_wrapped(struct spu_state *csa, struct spu *spu) in restore_decr_wrapped()
1571 static inline void restore_ch_part1(struct spu_state *csa, struct spu *spu) in restore_ch_part1()
1590 static inline void restore_ch_part2(struct spu_state *csa, struct spu *spu) in restore_ch_part2()
1613 static inline void restore_spu_lslr(struct spu_state *csa, struct spu *spu) in restore_spu_lslr()
1624 static inline void restore_spu_cfg(struct spu_state *csa, struct spu *spu) in restore_spu_cfg()
1635 static inline void restore_pm_trace(struct spu_state *csa, struct spu *spu) in restore_pm_trace()
1643 static inline void restore_spu_npc(struct spu_state *csa, struct spu *spu) in restore_spu_npc()
1654 static inline void restore_spu_mb(struct spu_state *csa, struct spu *spu) in restore_spu_mb()
1671 static inline void check_ppu_mb_stat(struct spu_state *csa, struct spu *spu) in check_ppu_mb_stat()
1686 static inline void check_ppuint_mb_stat(struct spu_state *csa, struct spu *spu) in check_ppuint_mb_stat()
1703 static inline void restore_mfc_sr1(struct spu_state *csa, struct spu *spu) in restore_mfc_sr1()
1712 static inline void set_int_route(struct spu_state *csa, struct spu *spu) in set_int_route()
1719 static inline void restore_other_spu_access(struct spu_state *csa, in restore_other_spu_access()
1727 static inline void restore_spu_runcntl(struct spu_state *csa, struct spu *spu) in restore_spu_runcntl()
1741 static inline void restore_mfc_cntl(struct spu_state *csa, struct spu *spu) in restore_mfc_cntl()
1761 static inline void enable_user_access(struct spu_state *csa, struct spu *spu) in enable_user_access()
1771 static inline void reset_switch_active(struct spu_state *csa, struct spu *spu) in reset_switch_active()
1779 static inline void reenable_interrupts(struct spu_state *csa, struct spu *spu) in reenable_interrupts()
1791 static int quiece_spu(struct spu_state *prev, struct spu *spu) in quiece_spu()
1828 static void save_csa(struct spu_state *prev, struct spu *spu) in save_csa()
1864 static void save_lscsa(struct spu_state *prev, struct spu *spu) in save_lscsa()
1932 static void harvest(struct spu_state *prev, struct spu *spu) in harvest()
1967 static void restore_lscsa(struct spu_state *next, struct spu *spu) in restore_lscsa()
1993 static void restore_csa(struct spu_state *next, struct spu *spu) in restore_csa()
2038 static int __do_spu_save(struct spu_state *prev, struct spu *spu) in __do_spu_save()
2070 static int __do_spu_restore(struct spu_state *next, struct spu *spu) in __do_spu_restore()
2108 int spu_save(struct spu_state *prev, struct spu *spu) in spu_save()
2132 int spu_restore(struct spu_state *new, struct spu *spu) in spu_restore()
2149 static void init_prob(struct spu_state *csa) in init_prob()
2160 static void init_priv1(struct spu_state *csa) in init_priv1()
2179 static void init_priv2(struct spu_state *csa) in init_priv2()
2198 int spu_init_csa(struct spu_state *csa) in spu_init_csa()
2204 memset(csa, 0, sizeof(struct spu_state)); in spu_init_csa()
2219 void spu_fini_csa(struct spu_state *csa) in spu_fini_csa()