mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
mmc: add timeout fields for mmc_ioc_cmd
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
@@ -73,6 +73,11 @@ struct mmc_ioc_cmd
|
|||||||
unsigned int blksz;
|
unsigned int blksz;
|
||||||
unsigned int blocks;
|
unsigned int blocks;
|
||||||
|
|
||||||
|
/* Override driver-computed timeouts. Note the difference in units! */
|
||||||
|
|
||||||
|
unsigned int data_timeout_ns;
|
||||||
|
unsigned int cmd_timeout_ms;
|
||||||
|
|
||||||
/* For 64-bit machines, the next member, ``uint64_t data_ptr``, wants to
|
/* For 64-bit machines, the next member, ``uint64_t data_ptr``, wants to
|
||||||
* be 8-byte aligned. Make sure this struct is the same size when
|
* be 8-byte aligned. Make sure this struct is the same size when
|
||||||
* built for 32-bit.
|
* built for 32-bit.
|
||||||
|
|||||||
Reference in New Issue
Block a user