cregit-Linux how code gets into the kernel

Release 4.11 drivers/mmc/core/host.h

Directory: drivers/mmc/core
/*
 *  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>

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_recheck(struct mmc_host *host) { if (host->hold_retune <= 1) host->retune_now = 1; }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson26100.00%1100.00%
Total26100.00%1100.00%


static inline int mmc_host_cmd23(struct mmc_host *host) { return host->caps & MMC_CAP_CMD23; }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson19100.00%1100.00%
Total19100.00%1100.00%


static inline int mmc_boot_partition_access(struct mmc_host *host) { return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC); }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson22100.00%1100.00%
Total22100.00%1100.00%


static inline int mmc_host_uhs(struct mmc_host *host) { return host->caps & (MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | MMC_CAP_UHS_SDR50 | MMC_CAP_UHS_SDR104 | MMC_CAP_UHS_DDR50); }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson29100.00%1100.00%
Total29100.00%1100.00%


static inline bool mmc_card_hs200(struct mmc_card *card) { return card->host->ios.timing == MMC_TIMING_MMC_HS200; }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson23100.00%1100.00%
Total23100.00%1100.00%


static inline bool mmc_card_ddr52(struct mmc_card *card) { return card->host->ios.timing == MMC_TIMING_MMC_DDR52; }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson23100.00%1100.00%
Total23100.00%1100.00%


static inline bool mmc_card_hs400(struct mmc_card *card) { return card->host->ios.timing == MMC_TIMING_MMC_HS400; }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson23100.00%1100.00%
Total23100.00%1100.00%


static inline bool mmc_card_hs400es(struct mmc_card *card) { return card->host->ios.enhanced_strobe; }

Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson21100.00%1100.00%
Total21100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Ulf Hansson20775.82%133.33%
Adrian Hunter4516.48%133.33%
Pierre Ossman217.69%133.33%
Total273100.00%3100.00%
Directory: drivers/mmc/core
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.