rtsx_pcr.h (552c69b36ebd966186573b9c7a286b390935cce1) rtsx_pcr.h (bede03a579b3b4a036003c4862cc1baa4ddc351f)
1/* Driver for Realtek PCI-Express card reader
2 *
3 * Copyright(c) 2009-2013 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.

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

41#define LTR_L1OFF_SNOOZE_SSPWRGATE_5249_DEF 0xAC
42#define LTR_L1OFF_SNOOZE_SSPWRGATE_5250_DEF 0xF8
43#define CMD_TIMEOUT_DEF 100
44#define ASPM_MASK_NEG 0xFC
45#define MASK_8_BIT_DEF 0xFF
46
47#define SSC_CLOCK_STABLE_WAIT 130
48
1/* Driver for Realtek PCI-Express card reader
2 *
3 * Copyright(c) 2009-2013 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.

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

41#define LTR_L1OFF_SNOOZE_SSPWRGATE_5249_DEF 0xAC
42#define LTR_L1OFF_SNOOZE_SSPWRGATE_5250_DEF 0xF8
43#define CMD_TIMEOUT_DEF 100
44#define ASPM_MASK_NEG 0xFC
45#define MASK_8_BIT_DEF 0xFF
46
47#define SSC_CLOCK_STABLE_WAIT 130
48
49#define RTS524A_OCP_THD_800 0x04
50#define RTS525A_OCP_THD_800 0x05
51#define RTS522A_OCP_THD_800 0x06
52
53
49int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
50int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
51
52void rts5209_init_params(struct rtsx_pcr *pcr);
53void rts5229_init_params(struct rtsx_pcr *pcr);
54void rtl8411_init_params(struct rtsx_pcr *pcr);
55void rtl8402_init_params(struct rtsx_pcr *pcr);
56void rts5227_init_params(struct rtsx_pcr *pcr);

--- 57 unchanged lines hidden ---
54int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
55int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
56
57void rts5209_init_params(struct rtsx_pcr *pcr);
58void rts5229_init_params(struct rtsx_pcr *pcr);
59void rtl8411_init_params(struct rtsx_pcr *pcr);
60void rtl8402_init_params(struct rtsx_pcr *pcr);
61void rts5227_init_params(struct rtsx_pcr *pcr);

--- 57 unchanged lines hidden ---