rtl8411.c (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) | rtl8411.c (71732e24609b5a7af96efc89aebde55f76c1de3e) |
---|---|
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> --- 62 unchanged lines hidden (view full) --- 71 72 pcr->aspm_en = rtsx_reg_to_aspm(reg); 73 pcr->sd30_drive_sel_1v8 = 74 map_sd_drive(rtsx_reg_to_sd30_drive_sel_1v8(reg)); 75 pcr->sd30_drive_sel_3v3 = 76 map_sd_drive(rtl8411b_reg_to_sd30_drive_sel_3v3(reg)); 77} 78 | 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> --- 62 unchanged lines hidden (view full) --- 71 72 pcr->aspm_en = rtsx_reg_to_aspm(reg); 73 pcr->sd30_drive_sel_1v8 = 74 map_sd_drive(rtsx_reg_to_sd30_drive_sel_1v8(reg)); 75 pcr->sd30_drive_sel_3v3 = 76 map_sd_drive(rtl8411b_reg_to_sd30_drive_sel_3v3(reg)); 77} 78 |
79static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) | 79static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) |
80{ 81 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); 82} 83 84static int rtl8411_extra_init_hw(struct rtsx_pcr *pcr) 85{ 86 rtsx_pci_init_cmd(pcr); 87 --- 412 unchanged lines hidden --- | 80{ 81 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); 82} 83 84static int rtl8411_extra_init_hw(struct rtsx_pcr *pcr) 85{ 86 rtsx_pci_init_cmd(pcr); 87 --- 412 unchanged lines hidden --- |