mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
mmc: core: export retune_enable/disable api for wifi drivers
Change-Id: I084e155ed71057fa7f39e160a4f3fde964557185 Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
@@ -65,6 +65,7 @@ void mmc_retune_enable(struct mmc_host *host)
|
||||
mod_timer(&host->retune_timer,
|
||||
jiffies + host->retune_period * HZ);
|
||||
}
|
||||
EXPORT_SYMBOL(mmc_retune_enable);
|
||||
|
||||
/*
|
||||
* Pause re-tuning for a small set of operations. The pause begins after the
|
||||
@@ -97,6 +98,7 @@ void mmc_retune_disable(struct mmc_host *host)
|
||||
host->retune_now = 0;
|
||||
host->need_retune = 0;
|
||||
}
|
||||
EXPORT_SYMBOL(mmc_retune_disable);
|
||||
|
||||
void mmc_retune_timer_stop(struct mmc_host *host)
|
||||
{
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
int mmc_register_host_class(void);
|
||||
void mmc_unregister_host_class(void);
|
||||
|
||||
void mmc_retune_enable(struct mmc_host *host);
|
||||
void mmc_retune_disable(struct mmc_host *host);
|
||||
void mmc_retune_hold(struct mmc_host *host);
|
||||
void mmc_retune_release(struct mmc_host *host);
|
||||
int mmc_retune(struct mmc_host *host);
|
||||
|
||||
@@ -581,5 +581,7 @@ static inline enum dma_data_direction mmc_get_dma_dir(struct mmc_data *data)
|
||||
|
||||
int mmc_send_tuning(struct mmc_host *host, u32 opcode, int *cmd_error);
|
||||
int mmc_abort_tuning(struct mmc_host *host, u32 opcode);
|
||||
void mmc_retune_enable(struct mmc_host *host);
|
||||
void mmc_retune_disable(struct mmc_host *host);
|
||||
|
||||
#endif /* LINUX_MMC_HOST_H */
|
||||
|
||||
Reference in New Issue
Block a user