mmc.h (83d290c56fab2d38cd1ab4c4cc7099559c1d5046) mmc.h (65117182543e58ba69f4abdc998423798137cbae)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2008,2010 Freescale Semiconductor, Inc
4 * Andy Fleming
5 *
6 * Based (loosely) on the Linux code
7 */
8

--- 693 unchanged lines hidden (view full) ---

702 * mmc_set_clock() - change the bus clock
703 * @mmc: MMC struct
704 * @clock: bus frequency in Hz
705 * @disable: flag indicating if the clock must on or off
706 * @return 0 if OK, -ve on error
707 */
708int mmc_set_clock(struct mmc *mmc, uint clock, bool disable);
709
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2008,2010 Freescale Semiconductor, Inc
4 * Andy Fleming
5 *
6 * Based (loosely) on the Linux code
7 */
8

--- 693 unchanged lines hidden (view full) ---

702 * mmc_set_clock() - change the bus clock
703 * @mmc: MMC struct
704 * @clock: bus frequency in Hz
705 * @disable: flag indicating if the clock must on or off
706 * @return 0 if OK, -ve on error
707 */
708int mmc_set_clock(struct mmc *mmc, uint clock, bool disable);
709
710#define MMC_CLK_ENABLE false
711#define MMC_CLK_DISABLE true
712
710struct mmc *find_mmc_device(int dev_num);
711int mmc_set_dev(int dev_num);
712void print_mmc_devices(char separator);
713
714/**
715 * get_mmc_num() - get the total MMC device number
716 *
717 * @return 0 if there is no MMC device, else the number of devices

--- 86 unchanged lines hidden ---
713struct mmc *find_mmc_device(int dev_num);
714int mmc_set_dev(int dev_num);
715void print_mmc_devices(char separator);
716
717/**
718 * get_mmc_num() - get the total MMC device number
719 *
720 * @return 0 if there is no MMC device, else the number of devices

--- 86 unchanged lines hidden ---