static int check_prc_pcc_state(u64 val64, int flag, int rev_id)
static int check_prc_pcc_state(u64 val64, int flag, int rev_id, int herc)
static int check_prc_pcc_state(u64 val64, int flag, int rev_id){	int ret = 0;	if (flag == FALSE) {		if (rev_id >= 4) {			if (!(val64 & ADAPTER_STATUS_RMAC_PCC_IDLE) &&			    ((val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) ==			     ADAPTER_STATUS_RC_PRC_QUIESCENT)) {				ret = 1;			}		} else {			if (!(val64 & ADAPTER_STATUS_RMAC_PCC_FOUR_IDLE) &&			    ((val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) ==			     ADAPTER_STATUS_RC_PRC_QUIESCENT)) {				ret = 1;			}		}	} else {		if (rev_id >= 4) {			if (((val64 & ADAPTER_STATUS_RMAC_PCC_IDLE) ==			     ADAPTER_STATUS_RMAC_PCC_IDLE) &&			    (!(val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) ||			     ((val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) ==			      ADAPTER_STATUS_RC_PRC_QUIESCENT))) {				ret = 1;			}		} else {			if (((val64 & ADAPTER_STATUS_RMAC_PCC_FOUR_IDLE) ==			     ADAPTER_STATUS_RMAC_PCC_FOUR_IDLE) &&			    (!(val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) ||			     ((val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) ==			      ADAPTER_STATUS_RC_PRC_QUIESCENT))) {				ret = 1;			}		}	}	return ret;}