Lines Matching refs:spu_status_R

108 	return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0;  in check_spu_isolate()
241 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) { in save_spu_status()
242 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status()
248 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in save_spu_status()
253 if ((in_be32(&prob->spu_status_R) & stopped) == 0) in save_spu_status()
254 csa->prob.spu_status_R = SPU_STATUS_RUNNING; in save_spu_status()
256 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status()
944 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING); in wait_spu_stopped()
964 return (in_be32(&prob->spu_status_R) != complete) ? 1 : 0; in check_save_status()
1014 if (in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) { in suspend_spe()
1015 if (in_be32(&prob->spu_status_R) & in suspend_spe()
1017 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in suspend_spe()
1020 if ((in_be32(&prob->spu_status_R) & in suspend_spe()
1022 || (in_be32(&prob->spu_status_R) & in suspend_spe()
1026 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in suspend_spe()
1030 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in suspend_spe()
1033 if (in_be32(&prob->spu_status_R) & in suspend_spe()
1037 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in suspend_spe()
1053 if (!(in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING)) { in clear_spu_status()
1054 if (in_be32(&prob->spu_status_R) & in clear_spu_status()
1061 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in clear_spu_status()
1064 if ((in_be32(&prob->spu_status_R) & in clear_spu_status()
1066 || (in_be32(&prob->spu_status_R) & in clear_spu_status()
1073 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in clear_spu_status()
1150 (csa->prob.spu_status_R >> SPU_STOP_STATUS_SHIFT) & 0xFFFF; in setup_spu_status_part1()
1151 if ((csa->prob.spu_status_R & status_P_I) == status_P_I) { in setup_spu_status_part1()
1160 } else if ((csa->prob.spu_status_R & status_P_H) == status_P_H) { in setup_spu_status_part1()
1169 } else if ((csa->prob.spu_status_R & status_S_P) == status_S_P) { in setup_spu_status_part1()
1177 } else if ((csa->prob.spu_status_R & status_S_I) == status_S_I) { in setup_spu_status_part1()
1185 } else if ((csa->prob.spu_status_R & status_P) == status_P) { in setup_spu_status_part1()
1193 } else if ((csa->prob.spu_status_R & status_H) == status_H) { in setup_spu_status_part1()
1200 } else if ((csa->prob.spu_status_R & status_S) == status_S) { in setup_spu_status_part1()
1206 } else if ((csa->prob.spu_status_R & status_I) == status_I) { in setup_spu_status_part1()
1235 if (!(csa->prob.spu_status_R & mask)) { in setup_spu_status_part2()
1321 return (in_be32(&prob->spu_status_R) != complete) ? 1 : 0; in check_restore_status()
1347 if (csa->prob.spu_status_R & mask) { in restore_status_part1()
1350 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in restore_status_part1()
1370 if (!(csa->prob.spu_status_R & mask)) { in restore_status_part2()
1373 POLL_WHILE_FALSE(in_be32(&prob->spu_status_R) & in restore_status_part2()
1377 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in restore_status_part2()
1735 if (csa->prob.spu_status_R & SPU_STATUS_RUNNING) { in restore_spu_runcntl()
1895 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING); in force_spu_isolate_exit()
1906 POLL_WHILE_FALSE((in_be32(&prob->spu_status_R) in force_spu_isolate_exit()
1923 if (in_be32(&prob->spu_status_R) & SPU_STATUS_ISOLATED_STATE) { in stop_spu_isolate()