You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
905 B
30 lines
905 B
/* |
|
* linux/drivers/mmc/core/host.h |
|
* |
|
* Copyright (C) 2003 Russell King, All Rights Reserved. |
|
* Copyright 2007 Pierre Ossman |
|
* |
|
* This program is free software; you can redistribute it and/or modify |
|
* it under the terms of the GNU General Public License version 2 as |
|
* published by the Free Software Foundation. |
|
*/ |
|
#ifndef _MMC_CORE_HOST_H |
|
#define _MMC_CORE_HOST_H |
|
#include <linux/mmc/host.h> |
|
|
|
#define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev) |
|
|
|
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); |
|
|
|
void mmc_latency_hist_sysfs_init(struct mmc_host *host); |
|
void mmc_latency_hist_sysfs_exit(struct mmc_host *host); |
|
|
|
#endif |
|
|
|
|