Lines Matching refs:status
69 volatile unsigned int status;
78 status = AT91C_BASE_MCI->MCI_SR;
81 while( !(status & waitfor) && (timeout>0) );
83 status = AT91C_BASE_MCI->MCI_SR;
86 if (MCI_Device.state == AT91C_MCI_TX_SINGLE_BLOCK && status & AT91C_MCI_TXBUFE) {
93 if (MCI_Device.state == AT91C_MCI_RX_SINGLE_BLOCK && status & AT91C_MCI_RXBUFF) {
99 //printf("WaitReady returning status %x\n", status);
101 return status;
121 int status;
127 status = AT91C_BASE_MCI->MCI_SR;
128 } while( !(status & AT91C_MCI_CMDRDY) && (--timeout > 0) );
130 return status;
166 //* \brief Addressed card sends its status register
213 unsigned int status;
232 status = MCIDeviceWaitReady(AT91C_MCI_TIMEOUT);
233 if (status & AT91C_MCI_SR_ERROR)
272 int status;
274 if ((status = MCI_SendCommand(APP_CMD, (MCI_Device.RCA << 16))) == 0)
275 status = MCI_SendCommand(Cmd_App,Arg);
276 return status;
351 // A v2.0 card sets CCS (card capacity status) in the response if it's SDHC.