blob: 55fcfc25c4e49e5900047dbf646f4cb6544434b8 [file] [log] [blame]
Wei WANG67d16a42012-11-09 20:53:33 +08001/* Driver for Realtek PCI-Express card reader
2 *
3 * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2, or (at your option) any
8 * later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, see <http://www.gnu.org/licenses/>.
17 *
18 * Author:
19 * Wei WANG <wei_wang@realsil.com.cn>
20 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
21 */
22
23#ifndef __RTSX_PCR_H
24#define __RTSX_PCR_H
25
26#include <linux/mfd/rtsx_pci.h>
27
Wei WANGeebbe252013-01-29 15:21:36 +080028#define MIN_DIV_N_PCR 80
29#define MAX_DIV_N_PCR 208
30
Wei WANG67d16a42012-11-09 20:53:33 +080031void rts5209_init_params(struct rtsx_pcr *pcr);
32void rts5229_init_params(struct rtsx_pcr *pcr);
33void rtl8411_init_params(struct rtsx_pcr *pcr);
Roger Tsenge1237932013-02-04 15:45:59 +080034void rts5227_init_params(struct rtsx_pcr *pcr);
Wei WANG4c4b8c12013-04-11 10:43:40 +080035void rts5249_init_params(struct rtsx_pcr *pcr);
Wei WANG67d16a42012-11-09 20:53:33 +080036
37#endif