rtl8411.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) rtl8411.c (3df4fce739e2b263120f528c5e0fe6b2f8937b5b)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* Driver for Realtek PCI-Express card reader
3 *
4 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
5 *
6 * Author:
7 * Wei WANG <wei_wang@realsil.com.cn>
8 * Roger Tseng <rogerable@realtek.com>

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

463{
464 pcr->extra_caps = EXTRA_CAPS_SD_SDR50 | EXTRA_CAPS_SD_SDR104;
465 pcr->num_slots = 2;
466 pcr->flags = 0;
467 pcr->card_drive_sel = RTL8411_CARD_DRIVE_DEFAULT;
468 pcr->sd30_drive_sel_1v8 = DRIVER_TYPE_B;
469 pcr->sd30_drive_sel_3v3 = DRIVER_TYPE_D;
470 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) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
5 *
6 * Author:
7 * Wei WANG <wei_wang@realsil.com.cn>
8 * Roger Tseng <rogerable@realtek.com>

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

463{
464 pcr->extra_caps = EXTRA_CAPS_SD_SDR50 | EXTRA_CAPS_SD_SDR104;
465 pcr->num_slots = 2;
466 pcr->flags = 0;
467 pcr->card_drive_sel = RTL8411_CARD_DRIVE_DEFAULT;
468 pcr->sd30_drive_sel_1v8 = DRIVER_TYPE_B;
469 pcr->sd30_drive_sel_3v3 = DRIVER_TYPE_D;
470 pcr->aspm_en = ASPM_L1_EN;
471 pcr->aspm_mode = ASPM_MODE_CFG;
471 pcr->tx_initial_phase = SET_CLOCK_PHASE(23, 7, 14);
472 pcr->rx_initial_phase = SET_CLOCK_PHASE(4, 3, 10);
473 pcr->ic_version = rtl8411_get_ic_version(pcr);
474}
475
476void rtl8411_init_params(struct rtsx_pcr *pcr)
477{
478 rtl8411_init_common_params(pcr);

--- 20 unchanged lines hidden ---
472 pcr->tx_initial_phase = SET_CLOCK_PHASE(23, 7, 14);
473 pcr->rx_initial_phase = SET_CLOCK_PHASE(4, 3, 10);
474 pcr->ic_version = rtl8411_get_ic_version(pcr);
475}
476
477void rtl8411_init_params(struct rtsx_pcr *pcr)
478{
479 rtl8411_init_common_params(pcr);

--- 20 unchanged lines hidden ---