linux/drivers/mmc/core/host.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *  linux/drivers/mmc/core/host.h
 *
 *  Copyright (C) 2003 Russell King, All Rights Reserved.
 *  Copyright 2007 Pierre Ossman
 */
#ifndef _MMC_CORE_HOST_H
#define _MMC_CORE_HOST_H

#include <linux/mmc/host.h>

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_retune_pause(struct mmc_host *host);
void mmc_retune_unpause(struct mmc_host *host);

static inline void mmc_retune_clear(struct mmc_host *host)
{}

static inline void mmc_retune_hold_now(struct mmc_host *host)
{}

static inline void mmc_retune_recheck(struct mmc_host *host)
{}

static inline int mmc_host_cmd23(struct mmc_host *host)
{}

static inline bool mmc_host_done_complete(struct mmc_host *host)
{}

static inline int mmc_boot_partition_access(struct mmc_host *host)
{}

static inline int mmc_host_uhs(struct mmc_host *host)
{}

static inline bool mmc_card_hs200(struct mmc_card *card)
{}

static inline bool mmc_card_ddr52(struct mmc_card *card)
{}

static inline bool mmc_card_hs400(struct mmc_card *card)
{}

static inline bool mmc_card_hs400es(struct mmc_card *card)
{}

static inline bool mmc_card_sd_express(struct mmc_host *host)
{}

#endif