sd_ops.h 877 B

1234567891011121314151617181920212223242526272829
  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. #ifndef _MMC_SD_OPS_H
  8. #define _MMC_SD_OPS_H
  9. #include <linux/types.h>
  10. struct mmc_card;
  11. struct mmc_host;
  12. struct mmc_request;
  13. int mmc_app_set_bus_width(struct mmc_card *card, int width);
  14. int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
  15. int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
  16. int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
  17. int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
  18. int mmc_app_send_scr(struct mmc_card *card);
  19. int mmc_app_sd_status(struct mmc_card *card, void *ssr);
  20. int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
  21. int mmc_send_ext_addr(struct mmc_host *host, u32 addr);
  22. void mmc_uhs2_prepare_cmd(struct mmc_host *host, struct mmc_request *mrq);
  23. #endif