rts5228.c (cbecf716ca618fd44feda6bd9a64a8179d031fc5) rts5228.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 * Ricky WU <ricky_wu@realtek.com>
8 * Rui FENG <rui_feng@realsil.com.cn>

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

713 pcr->num_slots = 1;
714 pcr->ops = &rts5228_pcr_ops;
715
716 pcr->flags = 0;
717 pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT;
718 pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
719 pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
720 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 * Ricky WU <ricky_wu@realtek.com>
8 * Rui FENG <rui_feng@realsil.com.cn>

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

713 pcr->num_slots = 1;
714 pcr->ops = &rts5228_pcr_ops;
715
716 pcr->flags = 0;
717 pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT;
718 pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
719 pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
720 pcr->aspm_en = ASPM_L1_EN;
721 pcr->aspm_mode = ASPM_MODE_REG;
721 pcr->tx_initial_phase = SET_CLOCK_PHASE(28, 27, 11);
722 pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
723
724 pcr->ic_version = rts5228_get_ic_version(pcr);
725 pcr->sd_pull_ctl_enable_tbl = rts5228_sd_pull_ctl_enable_tbl;
726 pcr->sd_pull_ctl_disable_tbl = rts5228_sd_pull_ctl_disable_tbl;
727
728 pcr->reg_pm_ctrl3 = RTS5228_AUTOLOAD_CFG3;

--- 18 unchanged lines hidden ---
722 pcr->tx_initial_phase = SET_CLOCK_PHASE(28, 27, 11);
723 pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
724
725 pcr->ic_version = rts5228_get_ic_version(pcr);
726 pcr->sd_pull_ctl_enable_tbl = rts5228_sd_pull_ctl_enable_tbl;
727 pcr->sd_pull_ctl_disable_tbl = rts5228_sd_pull_ctl_disable_tbl;
728
729 pcr->reg_pm_ctrl3 = RTS5228_AUTOLOAD_CFG3;

--- 18 unchanged lines hidden ---