rts5261.c (cdd38c5f1ce4398ec58fec95904b75824daab7b5) rts5261.c (3df4fce739e2b263120f528c5e0fe6b2f8937b5b)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* Driver for Realtek PCI-Express card reader
3 *
4 * Copyright(c) 2018-2019 Realtek Semiconductor Corp. All rights reserved.
5 *
6 * Author:
7 * Rui FENG <rui_feng@realsil.com.cn>
8 * Wei WANG <wei_wang@realsil.com.cn>

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

778 pcr->num_slots = 1;
779 pcr->ops = &rts5261_pcr_ops;
780
781 pcr->flags = 0;
782 pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT;
783 pcr->sd30_drive_sel_1v8 = 0x00;
784 pcr->sd30_drive_sel_3v3 = 0x00;
785 pcr->aspm_en = ASPM_L1_EN;
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* Driver for Realtek PCI-Express card reader
3 *
4 * Copyright(c) 2018-2019 Realtek Semiconductor Corp. All rights reserved.
5 *
6 * Author:
7 * Rui FENG <rui_feng@realsil.com.cn>
8 * Wei WANG <wei_wang@realsil.com.cn>

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

778 pcr->num_slots = 1;
779 pcr->ops = &rts5261_pcr_ops;
780
781 pcr->flags = 0;
782 pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT;
783 pcr->sd30_drive_sel_1v8 = 0x00;
784 pcr->sd30_drive_sel_3v3 = 0x00;
785 pcr->aspm_en = ASPM_L1_EN;
786 pcr->aspm_mode = ASPM_MODE_REG;
786 pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 11);
787 pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
788
789 pcr->ic_version = rts5261_get_ic_version(pcr);
790 pcr->sd_pull_ctl_enable_tbl = rts5261_sd_pull_ctl_enable_tbl;
791 pcr->sd_pull_ctl_disable_tbl = rts5261_sd_pull_ctl_disable_tbl;
792
793 pcr->reg_pm_ctrl3 = RTS5261_AUTOLOAD_CFG3;

--- 18 unchanged lines hidden ---
787 pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 11);
788 pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
789
790 pcr->ic_version = rts5261_get_ic_version(pcr);
791 pcr->sd_pull_ctl_enable_tbl = rts5261_sd_pull_ctl_enable_tbl;
792 pcr->sd_pull_ctl_disable_tbl = rts5261_sd_pull_ctl_disable_tbl;
793
794 pcr->reg_pm_ctrl3 = RTS5261_AUTOLOAD_CFG3;

--- 18 unchanged lines hidden ---