cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sd_ops.h (810B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 *  linux/drivers/mmc/core/sd_ops.h
      4 *
      5 *  Copyright 2006-2007 Pierre Ossman
      6 */
      7
      8#ifndef _MMC_SD_OPS_H
      9#define _MMC_SD_OPS_H
     10
     11#include <linux/types.h>
     12
     13struct mmc_card;
     14struct mmc_host;
     15
     16int mmc_app_set_bus_width(struct mmc_card *card, int width);
     17int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
     18int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
     19int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
     20int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
     21int mmc_app_send_scr(struct mmc_card *card);
     22int mmc_sd_switch(struct mmc_card *card, int mode, int group,
     23	u8 value, u8 *resp);
     24int mmc_app_sd_status(struct mmc_card *card, void *ssr);
     25int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
     26
     27#endif
     28