rts5261.c (ff36e78fdb251b9fa65028554689806961e011eb) rts5261.c (4686392c32361c97e8434adf9cc77ad7991bfa81)
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>

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

759 pcr->num_slots = 1;
760 pcr->ops = &rts5261_pcr_ops;
761
762 pcr->flags = 0;
763 pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT;
764 pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
765 pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
766 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>

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

759 pcr->num_slots = 1;
760 pcr->ops = &rts5261_pcr_ops;
761
762 pcr->flags = 0;
763 pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT;
764 pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
765 pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
766 pcr->aspm_en = ASPM_L1_EN;
767 pcr->tx_initial_phase = SET_CLOCK_PHASE(20, 27, 16);
767 pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 11);
768 pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
769
770 pcr->ic_version = rts5261_get_ic_version(pcr);
771 pcr->sd_pull_ctl_enable_tbl = rts5261_sd_pull_ctl_enable_tbl;
772 pcr->sd_pull_ctl_disable_tbl = rts5261_sd_pull_ctl_disable_tbl;
773
774 pcr->reg_pm_ctrl3 = RTS5261_AUTOLOAD_CFG3;
775

--- 18 unchanged lines hidden ---
768 pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
769
770 pcr->ic_version = rts5261_get_ic_version(pcr);
771 pcr->sd_pull_ctl_enable_tbl = rts5261_sd_pull_ctl_enable_tbl;
772 pcr->sd_pull_ctl_disable_tbl = rts5261_sd_pull_ctl_disable_tbl;
773
774 pcr->reg_pm_ctrl3 = RTS5261_AUTOLOAD_CFG3;
775

--- 18 unchanged lines hidden ---