diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/sdhci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index a88a799ed7c3..e902618d68f4 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h | |||
| @@ -112,6 +112,7 @@ struct sdhci_host { | |||
| 112 | #define SDHCI_REQ_USE_DMA (1<<2) /* Use DMA for this req. */ | 112 | #define SDHCI_REQ_USE_DMA (1<<2) /* Use DMA for this req. */ |
| 113 | #define SDHCI_DEVICE_DEAD (1<<3) /* Device unresponsive */ | 113 | #define SDHCI_DEVICE_DEAD (1<<3) /* Device unresponsive */ |
| 114 | #define SDHCI_SDR50_NEEDS_TUNING (1<<4) /* SDR50 needs tuning */ | 114 | #define SDHCI_SDR50_NEEDS_TUNING (1<<4) /* SDR50 needs tuning */ |
| 115 | #define SDHCI_NEEDS_RETUNING (1<<5) /* Host needs retuning */ | ||
| 115 | 116 | ||
| 116 | unsigned int version; /* SDHCI spec. version */ | 117 | unsigned int version; /* SDHCI spec. version */ |
| 117 | 118 | ||
| @@ -152,6 +153,11 @@ struct sdhci_host { | |||
| 152 | wait_queue_head_t buf_ready_int; /* Waitqueue for Buffer Read Ready interrupt */ | 153 | wait_queue_head_t buf_ready_int; /* Waitqueue for Buffer Read Ready interrupt */ |
| 153 | unsigned int tuning_done; /* Condition flag set when CMD19 succeeds */ | 154 | unsigned int tuning_done; /* Condition flag set when CMD19 succeeds */ |
| 154 | 155 | ||
| 156 | unsigned int tuning_count; /* Timer count for re-tuning */ | ||
| 157 | unsigned int tuning_mode; /* Re-tuning mode supported by host */ | ||
| 158 | #define SDHCI_TUNING_MODE_1 0 | ||
| 159 | struct timer_list tuning_timer; /* Timer for tuning */ | ||
| 160 | |||
| 155 | unsigned long private[0] ____cacheline_aligned; | 161 | unsigned long private[0] ____cacheline_aligned; |
| 156 | }; | 162 | }; |
| 157 | #endif /* __SDHCI_H */ | 163 | #endif /* __SDHCI_H */ |
