• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/

Lines Matching refs:temp

127 	MV_U32 timeout, temp;
134 temp = MV_REG_READ(TWSI_CONTROL_REG(chanNum));
135 MV_REG_WRITE(TWSI_CONTROL_REG(chanNum), temp | TWSI_CONTROL_START_BIT);
160 temp = twsiStsGet(chanNum);
161 if(( temp != TWSI_START_CON_TRA ) && ( temp != TWSI_REPEATED_START_CON_TRA ))
163 mvOsPrintf("TWSI: mvTwsiStartBitSet ERROR - status %x after Set Start Bit. \n",temp);
191 MV_U32 timeout, temp;
194 temp = MV_REG_READ(TWSI_CONTROL_REG(chanNum));
195 MV_REG_WRITE(TWSI_CONTROL_REG(chanNum), temp | TWSI_CONTROL_STOP_BIT);
215 temp = twsiStsGet(chanNum);
216 if( temp != TWSI_NO_REL_STS_INT_FLAG_IS_KEPT_0){
217 mvOsPrintf("TWSI: mvTwsiStopBitSet ERROR - status %x after Stop Bit. \n", temp);
242 MV_U32 temp;
246 temp = MV_REG_READ(TWSI_CPU_MAIN_INT_CAUSE_REG);
247 if (temp & (TWSI0_CPU_MAIN_INT_BIT << chanNum))
272 MV_U32 temp;
277 temp = MV_REG_READ(TWSI_CONTROL_REG(chanNum));
278 MV_REG_WRITE(TWSI_CONTROL_REG(chanNum),temp & ~(TWSI_CONTROL_INT_FLAG_SET));
305 MV_U32 temp;
308 temp = MV_REG_READ(TWSI_CONTROL_REG(chanNum));
309 MV_REG_WRITE(TWSI_CONTROL_REG(chanNum), temp | TWSI_CONTROL_ACK);
687 MV_U32 timeout, temp, blockSizeWr = blockSize;
720 temp = twsiStsGet(chanNum);
721 if(temp != TWSI_M_TRAN_DATA_BYTE_ACK_REC)
723 mvOsPrintf("TWSI: twsiDataTransmit ERROR - status %x in write trans\n",temp);
762 MV_U32 timeout, temp, blockSizeRd = blockSize;
779 temp = MV_REG_READ(TWSI_CONTROL_REG(chanNum));
780 temp &= ~(TWSI_CONTROL_ACK);
781 MV_REG_WRITE(TWSI_CONTROL_REG(chanNum), temp);
793 temp = twsiStsGet(chanNum);
794 if((temp != TWSI_M_REC_RD_DATA_ACK_TRA) && (blockSizeRd !=1))
796 mvOsPrintf("TWSI: twsiDataReceive ERROR - status %x in read trans \n",temp);
799 else if((temp != TWSI_M_REC_RD_DATA_ACK_NOT_TRA) && (blockSizeRd ==1))
801 mvOsPrintf("TWSI: twsiDataReceive ERROR - status %x in Rd Terminate\n",temp);