Lines Matching +full:0 +full:x3ffc

15 #define LS_SIZE                 0x40000	/* 256K (in bytes) */
25 #define BR_INSTR 0x327fff80 /* br -4 */
26 #define NOP_INSTR 0x40200000 /* nop */
27 #define HEQ_INSTR 0x7b000000 /* heq $0, $0 */
28 #define STOP_INSTR 0x00000000 /* stop 0x0 */
29 #define ILLEGAL_INSTR 0x00800000 /* illegal instr */
30 #define RESTORE_COMPLETE 0x00003ffc /* stop 0x3ffc */
34 unsigned int ls = (unsigned int)&regs_spill[0]; in fetch_regs_from_mem()
36 unsigned int tag_id = 0; in fetch_regs_from_mem()
37 unsigned int cmd = 0x40; /* GET */ in fetch_regs_from_mem()
40 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in fetch_regs_from_mem()
50 unsigned int list = (unsigned int)&dma_list[0]; in restore_upper_240kb()
52 unsigned int tag_id = 0; in restore_upper_240kb()
53 unsigned int cmd = 0x44; /* GETL */ in restore_upper_240kb()
56 * Enqueue the GETL command (tag 0) to the MFC SPU command in restore_upper_240kb()
60 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in restore_upper_240kb()
79 decr_running = regs_spill[offset].slot[0] & SPU_DECR_STATUS_RUNNING; in restore_decr()
82 decr = regs_spill[offset].slot[0]; in restore_decr()
97 data = regs_spill[offset].slot[0]; in write_ppu_mb()
111 data = regs_spill[offset].slot[0]; in write_ppuint_mb()
138 srr0 = regs_spill[offset].slot[0]; in restore_srr0()
151 event_mask = regs_spill[offset].slot[0]; in restore_event_mask()
164 tag_mask = regs_spill[offset].slot[0]; in restore_tag_mask()
192 stopped_status = regs_spill[offset].slot[0]; in restore_complete()
201 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
206 /* SPU_Status[P,H]=1. Add 'heq $0, $0' followed in restore_complete()
210 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
219 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
228 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
237 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
244 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
250 /* SPU_Status[H]=1. Add 'heq $0, $0' instruction in restore_complete()
253 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
262 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
266 /* SPU_Status[I,S,H,P,R]=0. Add infinite loop. */ in restore_complete()
267 exit_instrs[0] = RESTORE_COMPLETE; in restore_complete()
298 lscsa_ea.ui[0] = spu_readch(SPU_RdSigNotify1); in main()
321 return 0; in main()