0
|
1 |
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Class definitions for SDIO Stack and Session objects
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalTechnology
|
|
21 |
*/
|
|
22 |
|
|
23 |
#ifndef __SDIO_H__
|
|
24 |
#define __SDIO_H__
|
|
25 |
|
|
26 |
/**
|
|
27 |
MMC_CPRM_SDIO : Defined in MMP or parent header
|
|
28 |
file to specify SD or CPRM Build
|
|
29 |
*/
|
|
30 |
|
|
31 |
#ifdef MMC_CPRM_SDIO
|
|
32 |
#include "cprm.h"
|
|
33 |
typedef DCPRMStack DStackBase;
|
|
34 |
typedef DCPRMSession DSessionBase;
|
|
35 |
const TUint32 KMinCustomSession = KCPRMMinCustomSession;
|
|
36 |
#else
|
|
37 |
#include <drivers/sdio/dummyexp.h>
|
|
38 |
#endif
|
|
39 |
|
|
40 |
#include <drivers/sdio/sdiodefs.h>
|
|
41 |
#include <drivers/sdio/sdiocard.h>
|
|
42 |
#include <drivers/sdio/callback.h>
|
|
43 |
#include <drivers/sdio/interrupt.h>
|
|
44 |
#include <drivers/sdio/sdiopsu.h>
|
|
45 |
|
|
46 |
// Define this macro if function 0 does not support CMD53
|
|
47 |
// NB This should be mandatory for all cards !
|
|
48 |
#define SYMBIAN_FUNCTION0_CMD53_NOTSUPPORTED
|
|
49 |
|
|
50 |
#ifdef _DEBUG
|
|
51 |
#define TRACE_CCCR_INFO() TraceCCCRInfo();
|
|
52 |
#else
|
|
53 |
#define TRACE_CCCR_INFO() {};
|
|
54 |
#endif
|
|
55 |
|
|
56 |
////
|
|
57 |
|
|
58 |
class TSDIOCardArray;
|
|
59 |
|
|
60 |
enum TSDIOSessionTypeEnum
|
|
61 |
/**
|
|
62 |
@publishedPartner
|
|
63 |
@released
|
|
64 |
|
|
65 |
These define the custom SDIO Macros
|
|
66 |
@see DSDIOSession::FillDirectCommandDesc
|
|
67 |
*/
|
|
68 |
{
|
|
69 |
ECIMIoWriteDirect = KMinCustomSession,
|
|
70 |
ECIMIoReadDirect,
|
|
71 |
ECIMIoWriteMultiple,
|
|
72 |
ECIMIoReadMultiple,
|
|
73 |
ECIMIoModify,
|
|
74 |
ECIMIoInterruptHandler,
|
|
75 |
ECIMIoFindTuple,
|
|
76 |
ECIMIoSetBusWidth,
|
|
77 |
ECIMEnumEnd
|
|
78 |
};
|
|
79 |
|
|
80 |
/**
|
|
81 |
@publishedPartner
|
|
82 |
@released
|
|
83 |
*/
|
|
84 |
const TUint KSDIOMaxSessionTypeNumber = ECIMEnumEnd;
|
|
85 |
|
|
86 |
/**
|
|
87 |
@publishedPartner
|
|
88 |
@released
|
|
89 |
*/
|
|
90 |
const TUint KSDIOMinCustomSession = KMinCustomSession + 1024;
|
|
91 |
|
|
92 |
enum TSDIOAppCmd
|
|
93 |
/**
|
|
94 |
@publishedPartner
|
|
95 |
@released
|
|
96 |
|
|
97 |
These define the custom SDIO Application Commands
|
|
98 |
@see DSDIOSession::FillAppCommandDesc
|
|
99 |
*/
|
|
100 |
{
|
|
101 |
ESDIOCmdOpCond = 5,
|
|
102 |
ESDIOCmdIoRwDirect = 52,
|
|
103 |
ESDIOCmdIoRwExtended = 53,
|
|
104 |
ESDIOCmdIoRwModify = 0, // This is a dummy command number
|
|
105 |
};
|
|
106 |
|
|
107 |
enum TSDIOCardStateEnum
|
|
108 |
/**
|
|
109 |
@publishedPartner
|
|
110 |
@released
|
|
111 |
*/
|
|
112 |
{
|
|
113 |
ESDIOCardStateDis = 0, // Initialise, Standby and Inactive State
|
|
114 |
ESDIOCardStateCmd = 1 << 12, // CMD=DAT lines free - Command Waiting or Executing CMD52 in CMD state
|
|
115 |
ESDIOCardStateTrn = 2 << 12, // TRN=Transfer - Command Executing with Data on DAT[0] or DAT[3:0]
|
|
116 |
};
|
|
117 |
|
|
118 |
//// Bit definitions for R5 Error Response and State Mask
|
|
119 |
|
|
120 |
/**
|
|
121 |
@publishedPartner
|
|
122 |
@released
|
|
123 |
*/
|
|
124 |
const TUint32 KSDIOErrOutOfRange = KBit8;
|
|
125 |
|
|
126 |
/**
|
|
127 |
@publishedPartner
|
|
128 |
@released
|
|
129 |
*/
|
|
130 |
const TUint32 KSDIOErrFunctionNumber = KBit9;
|
|
131 |
|
|
132 |
/**
|
|
133 |
@publishedPartner
|
|
134 |
@released
|
|
135 |
*/
|
|
136 |
const TUint32 KSDIOErrGeneral = KBit11;
|
|
137 |
|
|
138 |
/**
|
|
139 |
@publishedPartner
|
|
140 |
@released
|
|
141 |
*/
|
|
142 |
const TUint32 KSDIOErrIllegalCommand = KBit14;
|
|
143 |
|
|
144 |
/**
|
|
145 |
@publishedPartner
|
|
146 |
@released
|
|
147 |
*/
|
|
148 |
const TUint32 KSDIOErrCrc = KBit15;
|
|
149 |
|
|
150 |
/**
|
|
151 |
@publishedPartner
|
|
152 |
@released
|
|
153 |
*/
|
|
154 |
const TUint32 KSDIOErrorMask = KSDIOErrOutOfRange |
|
|
155 |
KSDIOErrFunctionNumber |
|
|
156 |
KSDIOErrGeneral |
|
|
157 |
KSDIOErrIllegalCommand |
|
|
158 |
KSDIOErrCrc;
|
|
159 |
|
|
160 |
/**
|
|
161 |
@publishedPartner
|
|
162 |
@released
|
|
163 |
*/
|
|
164 |
const TUint32 KSDIOCurrentStateMask = KBit12 | KBit13;
|
|
165 |
|
|
166 |
/**
|
|
167 |
@publishedPartner
|
|
168 |
@released
|
|
169 |
*/
|
|
170 |
const TUint32 KSDIODataMask = 0x000000FF;
|
|
171 |
|
|
172 |
class TSDIOResponseR5
|
|
173 |
/**
|
|
174 |
@publishedPartner
|
|
175 |
@released
|
|
176 |
|
|
177 |
TSDIOResponseR5 Class
|
|
178 |
Handles the processing of the R5 response to CMD52 and CMD53 commands
|
|
179 |
*/
|
|
180 |
{
|
|
181 |
public:
|
|
182 |
inline TSDIOResponseR5() {}
|
|
183 |
inline TSDIOResponseR5(const TUint8*);
|
|
184 |
inline TSDIOResponseR5(const TUint32&);
|
|
185 |
inline operator TUint32() const;
|
|
186 |
inline TUint32 Error() const;
|
|
187 |
inline TSDIOCardStateEnum State() const;
|
|
188 |
inline TUint8 Data() const;
|
|
189 |
private:
|
|
190 |
TUint32 iData;
|
|
191 |
};
|
|
192 |
|
|
193 |
//// CIS Constants
|
|
194 |
|
|
195 |
/**
|
|
196 |
@publishedPartner
|
|
197 |
@released
|
|
198 |
*/
|
|
199 |
const TUint32 KSdioCisAreaMin =0x0001000; // Minimum address of CIS area
|
|
200 |
|
|
201 |
/**
|
|
202 |
@publishedPartner
|
|
203 |
@released
|
|
204 |
*/
|
|
205 |
const TUint32 KSdioCisAreaMax =0x0017FFF; // Maximum address of CIS area
|
|
206 |
|
|
207 |
class TSDIOTupleInfo
|
|
208 |
/**
|
|
209 |
@publishedPartner
|
|
210 |
@released
|
|
211 |
|
|
212 |
TSDIOTupleInfo Class
|
|
213 |
Contains information used when searching and processing CIS tuples
|
|
214 |
*/
|
|
215 |
{
|
|
216 |
public:
|
|
217 |
TUint32 iAddress; /// Address of the tuple
|
|
218 |
TUint8 iTupleId; /// Tuple ID
|
|
219 |
TUint8 iLength; /// Tuple Link (length)
|
|
220 |
};
|
|
221 |
|
|
222 |
struct TSDIOFragInfo
|
|
223 |
{
|
|
224 |
TUint8* iAddr;
|
|
225 |
TUint32 iSize;
|
|
226 |
};
|
|
227 |
|
|
228 |
class DSDIOSession : public DSessionBase
|
|
229 |
/**
|
|
230 |
DSDIOSession Class
|
|
231 |
|
|
232 |
This class represents a command or data session to a card's function
|
|
233 |
*/
|
|
234 |
{
|
|
235 |
public:
|
|
236 |
enum TPanic
|
|
237 |
{
|
|
238 |
ESDIOSessionOutOfRange,
|
|
239 |
ESDIOSessionBadParameter,
|
|
240 |
ESDIOSessionBadLength
|
|
241 |
};
|
|
242 |
public:
|
|
243 |
inline DSDIOSession(const TMMCCallBack& aCallBack);
|
|
244 |
inline DSDIOSession(const TMMCCallBack& aCallBack, TUint8 aFunctionNumber);
|
|
245 |
|
|
246 |
IMPORT_C virtual ~DSDIOSession();
|
|
247 |
|
|
248 |
IMPORT_C void SetupCIMIoWrite(TUint32 aAddr, TUint8 aWriteVal, TUint8* aReadDataP);
|
|
249 |
IMPORT_C void SetupCIMIoRead(TUint32 aAddr, TUint8* aReadDataP);
|
|
250 |
IMPORT_C void SetupCIMIoWriteMultiple(TUint32 aAddr, TUint32 aLen, TUint8* aDataP, TBool aInc);
|
|
251 |
IMPORT_C void SetupCIMIoReadMultiple(TUint32 aAddr, TUint32 aLen, TUint8* aDataP, TBool aInc);
|
|
252 |
IMPORT_C void SetupCIMIoModify(TUint32 aAddr, TUint8 aSet, TUint8 aClr, TUint8* aReadDataP);
|
|
253 |
|
|
254 |
void SetupCIMIoInterruptHandler(TUint8* aPendingDataP);
|
|
255 |
void SetupCIMIoFindTuple(TSDIOTupleInfo* aTupleInfoP);
|
|
256 |
void SetupCIMIoSetBusWidth(TInt aBusWidth);
|
|
257 |
|
|
258 |
IMPORT_C static void FillAppCommandDesc(TMMCCommandDesc& aDesc, TSDIOAppCmd aCmd);
|
|
259 |
IMPORT_C static void FillAppCommandDesc(TMMCCommandDesc& aDesc, TSDIOAppCmd aCmd, TMMCArgument aArg);
|
|
260 |
|
|
261 |
void FillDirectCommandDesc(TMMCCommandDesc& aDesc, TSDIOSessionTypeEnum aSessType, TUint8 aFunction, TUint32 aAddr, TUint8 aWriteVal, TUint8* aReadDataP, TUint32 aLen = 1);
|
|
262 |
void FillExtendedCommandDesc(TMMCCommandDesc& aDesc, TSDIOSessionTypeEnum aSessType, TUint8 aFunction, TUint32 aAddr, TUint32 aLen, TUint8* aDataP, TBool aInc);
|
|
263 |
void FillIoModifyCommandDesc(TMMCCommandDesc& aDesc, TUint8 aFunction, TUint32 aAddr, TUint8 aSet, TUint8 aClr, TUint8* aDataP);
|
|
264 |
|
|
265 |
inline TUint8 FunctionNumber() const;
|
|
266 |
inline void SetFunctionNumber(TUint8 aFunctionNumber);
|
|
267 |
|
|
268 |
inline void SetCallback(const TMMCCallBack& aCallBack);
|
|
269 |
|
|
270 |
protected:
|
|
271 |
IMPORT_C virtual TMMCSMSTFunc GetMacro(TInt aSessNum) const;
|
|
272 |
inline void UnblockInterrupt(TMMCErr aReason);
|
|
273 |
|
|
274 |
void SetupCIMIoChunkParams(DChunk* aChunk);
|
|
275 |
void ClearCIMIoChunkParams();
|
|
276 |
|
|
277 |
private:
|
|
278 |
IMPORT_C static void FillAppCommandDesc(TMMCCommandDesc& aDesc);
|
|
279 |
|
|
280 |
inline void FillAddressParam(TUint32& aParam, TUint8 aFunction, TUint32 aAddr);
|
|
281 |
inline void ModifyBits(TUint8& aValue);
|
|
282 |
|
|
283 |
static void Panic(DSDIOSession::TPanic aPanic);
|
|
284 |
|
|
285 |
private:
|
|
286 |
//
|
|
287 |
// Dummy functions to maintain binary compatibility
|
|
288 |
IMPORT_C virtual void Dummy1();
|
|
289 |
IMPORT_C virtual void Dummy2();
|
|
290 |
IMPORT_C virtual void Dummy3();
|
|
291 |
IMPORT_C virtual void Dummy4();
|
|
292 |
|
|
293 |
private:
|
|
294 |
TUint8 iFunctionNumber;
|
|
295 |
|
|
296 |
TUint8 iSetBits; // ONLY used in the ECIMIoModify session
|
|
297 |
TUint8 iClrBits; // ONLY used in the ECIMIoModify session
|
|
298 |
|
|
299 |
TUint32 iMaxBlockSize; // Maximum number of bytes per CMD53 (byte OR block mode)
|
|
300 |
TUint32 iNumBlocks; // Number of blocks remaining to transfer for this session
|
|
301 |
TUint32 iNumBytes; // Number of bytes remaining to transfer for this session
|
|
302 |
|
|
303 |
TUint32 iCrrFrg; // Current memory fragment in use
|
|
304 |
TUint32 iCrrFrgRmn; // Reminaing space in current memory fragment
|
|
305 |
TSDIOFragInfo* iFrgPgs; // Multiple Memory Fragment information
|
|
306 |
|
|
307 |
DChunk* iChunk; // Chunk which is to be used to host data transfer
|
|
308 |
|
|
309 |
friend class DSDIOStack;
|
|
310 |
friend class TSDIOInterruptController;
|
|
311 |
|
|
312 |
private:
|
|
313 |
//
|
|
314 |
// Reserved members to maintain binary compatibility
|
|
315 |
TInt iReserved[4];
|
|
316 |
};
|
|
317 |
|
|
318 |
|
|
319 |
class DSDIOStack : public DStackBase
|
|
320 |
/**
|
|
321 |
DSDIOStack Class
|
|
322 |
|
|
323 |
The DSDIO stack which drives operation of the SDIO card
|
|
324 |
*/
|
|
325 |
{
|
|
326 |
public:
|
|
327 |
enum TSDIOBlockingCondition
|
|
328 |
/** These define the SDIO Blocking Conditions */
|
|
329 |
{
|
|
330 |
ESDIOBlockOnCommand,
|
|
331 |
ESDIOBlockOnData
|
|
332 |
};
|
|
333 |
|
|
334 |
enum TPanic
|
|
335 |
/** Various Panic Codes */
|
|
336 |
{
|
|
337 |
ESDIOStackBadCommand,
|
|
338 |
ESDIOStackBadParameter,
|
|
339 |
ESDIOStackBadLength,
|
|
340 |
ESDIOStackOverlappedSession
|
|
341 |
};
|
|
342 |
|
|
343 |
public:
|
|
344 |
inline DSDIOStack(TInt aBus, DMMCSocket* aSocket);
|
|
345 |
|
|
346 |
inline DSDIOSession& SDIOSession();
|
|
347 |
inline TSDIOCardArray& CardArray() const;
|
|
348 |
|
|
349 |
IMPORT_C virtual TInt Init();
|
|
350 |
IMPORT_C virtual DMMCSession* AllocSession(const TMMCCallBack& aCallBack) const;
|
|
351 |
|
|
352 |
protected:
|
|
353 |
IMPORT_C virtual TMMCErr AcquireStackSM();
|
|
354 |
IMPORT_C virtual TMMCErr CIMReadWriteBlocksSM();
|
|
355 |
|
|
356 |
IMPORT_C TMMCErr CIMIoReadWriteDirectSM();
|
|
357 |
IMPORT_C TMMCErr CIMIoReadWriteExtendedSM();
|
|
358 |
IMPORT_C TMMCErr CIMIoModifySM();
|
|
359 |
|
|
360 |
static TMMCErr CIMIoReadWriteDirectSMST(TAny* aStackP);
|
|
361 |
static TMMCErr CIMIoReadWriteExtendedSMST(TAny* aStackP);
|
|
362 |
static TMMCErr CIMIoModifySMST(TAny* aStackP);
|
|
363 |
static TMMCErr CIMIoInterruptHandlerSMST(TAny* aStackP);
|
|
364 |
static TMMCErr CIMIoFindTupleSMST(TAny* aStackP);
|
|
365 |
static TMMCErr CIMIoSetBusWidthSMST(TAny* aStackP);
|
|
366 |
static TMMCErr CIMReadWriteMemoryBlocksSMST(TAny* aStackP);
|
|
367 |
|
|
368 |
static TMMCErr CIMIoIssueCommandCheckResponseSMST(TAny* aStackP);
|
|
369 |
inline TMMCErr CIMIoIssueCommandCheckResponseSM();
|
|
370 |
|
|
371 |
static TMMCErr BaseModifyCardCapabilitySMST(TAny* aStackP);
|
|
372 |
IMPORT_C virtual TMMCErr ModifyCardCapabilitySM();
|
|
373 |
|
|
374 |
IMPORT_C void HandleSDIOInterrupt(TUint aCardIndex);
|
|
375 |
|
|
376 |
IMPORT_C void BlockIOSession(TSDIOBlockingCondition aBlockCond);
|
|
377 |
IMPORT_C DSDIOSession* UnblockIOSession(TSDIOBlockingCondition aBlockCond, TMMCErr aError);
|
|
378 |
|
|
379 |
inline DSDIOSession* DataSessionP();
|
|
380 |
inline DSDIOSession* CommandSessionP();
|
|
381 |
|
|
382 |
/**
|
|
383 |
@publishedPartner
|
|
384 |
@released
|
|
385 |
|
|
386 |
Sets the card currently in use (i.e. the intended recipient of any commands).
|
|
387 |
Must be implemented by the Platform Specific Layer
|
|
388 |
@param aCardNumber The card number selected.
|
|
389 |
*/
|
|
390 |
virtual void AddressCard(TInt aCardNumber) = 0;
|
|
391 |
|
|
392 |
/**
|
|
393 |
@publishedPartner
|
|
394 |
@released
|
|
395 |
|
|
396 |
Indicates that the PSL should enable and notify the PIL of SDIO interrupts.
|
|
397 |
Must be implemented by the Platform Specific Layer
|
|
398 |
*/
|
|
399 |
virtual void EnableSDIOInterrupt(TBool aEnable) = 0;
|
|
400 |
|
|
401 |
/**
|
|
402 |
@publishedPartner
|
|
403 |
@released
|
|
404 |
|
|
405 |
Returns the maximum supported IO block size
|
|
406 |
Must be implemented by the Platform Specific Layer
|
|
407 |
@return The maximum supported IO block length
|
|
408 |
*/
|
|
409 |
virtual TUint32 MaxBlockSize() const = 0;
|
|
410 |
|
|
411 |
private:
|
|
412 |
static TMMCErr ConfigureIoCardSMST(TAny* aStackP);
|
|
413 |
|
|
414 |
static inline TInt ExtractSendOpCondResponse(TUint32 aResponseR4, TUint8& aFunctionCount, TBool& aMemPresent, TUint32& aIoOCR);
|
|
415 |
|
|
416 |
static TMMCErr CIMGetIoCommonConfigSMST(TAny* aStackP);
|
|
417 |
static TMMCErr CIMReadFunctionBasicRegistersSMST(TAny* aStackP);
|
|
418 |
|
|
419 |
TMMCErr ConfigureIoCardSM();
|
|
420 |
TMMCErr GetIoCommonConfigSM();
|
|
421 |
TMMCErr ReadFunctionBasicRegistersSM();
|
|
422 |
TMMCErr CIMIoInterruptHandlerSM();
|
|
423 |
TMMCErr CIMIoFindTupleSM();
|
|
424 |
TMMCErr CIMIoSetBusWidthSM();
|
|
425 |
|
|
426 |
static void Panic(DSDIOStack::TPanic aPanic);
|
|
427 |
|
|
428 |
#ifdef _DEBUG
|
|
429 |
void TraceCCCRInfo();
|
|
430 |
#endif
|
|
431 |
|
|
432 |
private:
|
|
433 |
TInt iSpare;
|
|
434 |
|
|
435 |
TUint8 iFunctionCount; // Used during SDIO function detection
|
|
436 |
TUint8 iFunctionScan; // Used during SDIO function detection
|
|
437 |
TBool iMemoryPresent; // Used during SDIO Card Initialisation
|
|
438 |
TUint8 iSDStatus[KSDStatusBlockLength];
|
|
439 |
TUint8 iBufCCCR[KSDIOCccrLength];
|
|
440 |
TUint8 iBufFBR[KSDIOFbrLength];
|
|
441 |
|
|
442 |
DSDIOSession* iDataSessionP;
|
|
443 |
DSDIOSession* iCmdSessionP;
|
|
444 |
|
|
445 |
TInt iBlockedSessions;
|
|
446 |
|
|
447 |
friend class DSDIOSession;
|
|
448 |
friend class TSDIOInterruptController;
|
|
449 |
|
|
450 |
private:
|
|
451 |
//
|
|
452 |
// Dummy functions to maintain binary compatibility
|
|
453 |
IMPORT_C virtual void Dummy1();
|
|
454 |
IMPORT_C virtual void Dummy2();
|
|
455 |
IMPORT_C virtual void Dummy3();
|
|
456 |
IMPORT_C virtual void Dummy4();
|
|
457 |
//
|
|
458 |
// Reserved members to maintain binary compatibility
|
|
459 |
TInt iReserved[4];
|
|
460 |
};
|
|
461 |
|
|
462 |
class DSDIOSocket : public DMMCSocket
|
|
463 |
/**
|
|
464 |
* This DPBusSocket derived object oversees the power supplies
|
|
465 |
* and media change functionality of DSDIOSTACK Objects.
|
|
466 |
*
|
|
467 |
* Special consideration is required for SDIO Cards to ensure
|
|
468 |
* that IO devices are powered down considerately (as opposed
|
|
469 |
* to simply removing the power as in the case of memory cards)
|
|
470 |
*/
|
|
471 |
{
|
|
472 |
public:
|
|
473 |
/** TODO: Move this inline? */
|
|
474 |
IMPORT_C DSDIOSocket(TInt aSocketNumber, TMMCPasswordStore* aPasswordStore);
|
|
475 |
|
|
476 |
// Functions inherited from DPBusSocket
|
|
477 |
TInt Init();
|
|
478 |
void InitiatePowerUpSequence();
|
|
479 |
TBool CardIsPresent();
|
|
480 |
void Reset1();
|
|
481 |
void Reset2();
|
|
482 |
|
|
483 |
// Low-power sleep mode control
|
|
484 |
IMPORT_C void RequestAsyncSleep();
|
|
485 |
IMPORT_C void SleepComplete();
|
|
486 |
|
|
487 |
private:
|
|
488 |
static void SleepDFC(TAny* aSelfP);
|
|
489 |
void SetSleep(TBool aIsSleeping);
|
|
490 |
|
|
491 |
protected:
|
|
492 |
void ResetAndPowerDown();
|
|
493 |
void SignalSleepMode();
|
|
494 |
|
|
495 |
private:
|
|
496 |
TInt iRequestSleepCount;
|
|
497 |
TBool iSleeping;
|
|
498 |
TDfcQue iSleepDfcQ;
|
|
499 |
TDfc iSleepDfc;
|
|
500 |
|
|
501 |
friend class DSDIOPsu;
|
|
502 |
friend class DSDIOStack;
|
|
503 |
|
|
504 |
//
|
|
505 |
// Reserved members to maintain binary compatibility
|
|
506 |
TInt iReserved[4];
|
|
507 |
};
|
|
508 |
|
|
509 |
#include <drivers/sdio/sdio.inl>
|
|
510 |
|
|
511 |
#endif // #ifndef __SDIO_H__
|