linux/include/linux/rtsx_common.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Driver for Realtek driver-based card reader
 *
 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
 *
 * Author:
 *   Wei WANG <[email protected]>
 */

#ifndef __RTSX_COMMON_H
#define __RTSX_COMMON_H

#define DRV_NAME_RTSX_PCI
#define DRV_NAME_RTSX_PCI_SDMMC
#define DRV_NAME_RTSX_PCI_MS

#define RTSX_REG_PAIR(addr, val)

#define RTSX_SSC_DEPTH_4M
#define RTSX_SSC_DEPTH_2M
#define RTSX_SSC_DEPTH_1M
#define RTSX_SSC_DEPTH_500K
#define RTSX_SSC_DEPTH_250K

#define RTSX_SD_CARD
#define RTSX_MS_CARD

#define CLK_TO_DIV_N
#define DIV_N_TO_CLK

struct platform_device;

struct rtsx_slot {};

#endif