diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/host.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 4378be90366a..e173a6e3462e 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -405,6 +405,23 @@ struct mmc_host { } embedded_sdio_data; #endif + struct { + unsigned long busy_time_us; + unsigned long window_time; + unsigned long curr_freq; + unsigned long polling_delay_ms; + unsigned int up_threshold; + unsigned int down_threshold; + ktime_t start_busy; + bool enable; + bool initialized; + bool in_progress; + /* freq. transitions are not allowed in invalid state */ + bool invalid_state; + struct delayed_work work; + enum mmc_load state; + } clk_scaling; + /* * Set to 1 to just stop the SDCLK to the card without * actually disabling the clock from it's source. |
