/linux-6.1.9/drivers/misc/cardreader/ |
D | rts5261.c | 50 rtsx_pci_write_register(pcr, SD30_CLK_DRIVE_SEL, in rts5261_fill_driving() 53 rtsx_pci_write_register(pcr, SD30_CMD_DRIVE_SEL, in rts5261_fill_driving() 56 rtsx_pci_write_register(pcr, SD30_DAT_DRIVE_SEL, in rts5261_fill_driving() 63 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 1, MASK_8_BIT_DEF, 0); in rts5261_force_power_down() 64 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 2, MASK_8_BIT_DEF, 0); in rts5261_force_power_down() 65 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, in rts5261_force_power_down() 69 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, in rts5261_force_power_down() 73 rtsx_pci_write_register(pcr, RTS5261_AUTOLOAD_CFG1, in rts5261_force_power_down() 75 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x00); in rts5261_force_power_down() 76 rtsx_pci_write_register(pcr, RTS5261_REG_PME_FORCE_CTL, in rts5261_force_power_down() [all …]
|
D | rts5260.c | 51 rtsx_pci_write_register(pcr, SD30_CLK_DRIVE_SEL, in rts5260_fill_driving() 54 rtsx_pci_write_register(pcr, SD30_CMD_DRIVE_SEL, in rts5260_fill_driving() 57 rtsx_pci_write_register(pcr, SD30_DAT_DRIVE_SEL, in rts5260_fill_driving() 90 return rtsx_pci_write_register(pcr, OLT_LED_CTL, in rtsx_base_enable_auto_blink() 96 return rtsx_pci_write_register(pcr, OLT_LED_CTL, in rtsx_base_disable_auto_blink() 102 return rtsx_pci_write_register(pcr, RTS5260_REG_GPIO_CTL0, in rts5260_turn_on_led() 108 return rtsx_pci_write_register(pcr, RTS5260_REG_GPIO_CTL0, in rts5260_turn_off_led() 166 rtsx_pci_write_register(pcr, SD_CFG1, SD_MODE_SELECT_MASK in sd_set_sample_push_timing_sd30() 168 rtsx_pci_write_register(pcr, CLK_CTL, CLK_LOW_FREQ, CLK_LOW_FREQ); in sd_set_sample_push_timing_sd30() 169 rtsx_pci_write_register(pcr, CARD_CLK_SOURCE, 0xFF, in sd_set_sample_push_timing_sd30() [all …]
|
D | rts5228.c | 51 rtsx_pci_write_register(pcr, SD30_CLK_DRIVE_SEL, in rts5228_fill_driving() 54 rtsx_pci_write_register(pcr, SD30_CMD_DRIVE_SEL, in rts5228_fill_driving() 57 rtsx_pci_write_register(pcr, SD30_DAT_DRIVE_SEL, in rts5228_fill_driving() 97 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 1, MASK_8_BIT_DEF, 0); in rts5228_force_power_down() 98 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 2, MASK_8_BIT_DEF, 0); in rts5228_force_power_down() 99 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, in rts5228_force_power_down() 102 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, in rts5228_force_power_down() 106 rtsx_pci_write_register(pcr, RTS5228_AUTOLOAD_CFG1, in rts5228_force_power_down() 108 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x00); in rts5228_force_power_down() 109 rtsx_pci_write_register(pcr, RTS5228_REG_PME_FORCE_CTL, in rts5228_force_power_down() [all …]
|
D | rts5249.c | 150 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 1, MASK_8_BIT_DEF, 0); in rts52xa_force_power_down() 151 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 2, MASK_8_BIT_DEF, 0); in rts52xa_force_power_down() 152 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, in rts52xa_force_power_down() 155 rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, in rts52xa_force_power_down() 159 rtsx_pci_write_register(pcr, RTS524A_AUTOLOAD_CFG1, in rts52xa_force_power_down() 161 rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, 0x01, 0x00); in rts52xa_force_power_down() 162 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, 0x30, 0x20); in rts52xa_force_power_down() 165 rtsx_pci_write_register(pcr, FPDCTL, ALL_POWER_DOWN, ALL_POWER_DOWN); in rts52xa_force_power_down() 176 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, in rts52xa_save_content_from_efuse() 183 rtsx_pci_write_register(pcr, RTS525A_EFUSE_ADD, REG_EFUSE_ADD_MASK, 0x00); in rts52xa_save_content_from_efuse() [all …]
|
D | rtl8411.c | 81 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); in rtl8411_force_power_down() 115 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x00); in rtl8411_turn_on_led() 120 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x01); in rtl8411_turn_off_led() 125 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0xFF, 0x0D); in rtl8411_enable_auto_blink() 130 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0x08, 0x00); in rtl8411_disable_auto_blink() 149 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, in rtl8411_card_power_on() 156 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, in rtl8411_card_power_on() 163 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, in rtl8411_card_power_on() 168 return rtsx_pci_write_register(pcr, LDO_CTL, BPP_LDO_POWB, BPP_LDO_ON); in rtl8411_card_power_on() 175 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, in rtl8411_card_power_off() [all …]
|
D | rts5227.c | 214 err = rtsx_pci_write_register(pcr, PM_CTRL3, D3_DELINK_MODE_EN, 0x00); in rts5227_optimize_phy() 224 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x02); in rts5227_turn_on_led() 229 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x00); in rts5227_turn_off_led() 234 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x08); in rts5227_enable_auto_blink() 239 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x00); in rts5227_disable_auto_blink() 281 rtsx_pci_write_register(pcr, CARD_PWR_CTL, SD_POWER_MASK | in rts5227_card_power_off() 283 rtsx_pci_write_register(pcr, PWR_GATE_CTRL, LDO3318_PWR_MASK, 0X00); in rts5227_card_power_off() 402 err = rtsx_pci_write_register(pcr, RTS522A_PM_CTRL3, D3_DELINK_MODE_EN, in rts522a_optimize_phy() 428 rtsx_pci_write_register(pcr, FPDCTL, OC_POWER_DOWN, in rts522a_extra_init_hw() 431 rtsx_pci_write_register(pcr, FUNC_FORCE_CTL, FUNC_FORCE_UPME_XMT_DBG, in rts522a_extra_init_hw() [all …]
|
D | rtsx_pcr.c | 64 rtsx_pci_write_register(pcr, MSGTXDATA0, in rtsx_comm_set_ltr_latency() 66 rtsx_pci_write_register(pcr, MSGTXDATA1, in rtsx_comm_set_ltr_latency() 68 rtsx_pci_write_register(pcr, MSGTXDATA2, in rtsx_comm_set_ltr_latency() 70 rtsx_pci_write_register(pcr, MSGTXDATA3, in rtsx_comm_set_ltr_latency() 72 rtsx_pci_write_register(pcr, LTR_CTL, LTR_TX_EN_MASK | in rtsx_comm_set_ltr_latency() 94 rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, FORCE_ASPM_CTL0 | in rtsx_comm_set_aspm() 97 rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, FORCE_ASPM_CTL0 | in rtsx_comm_set_aspm() 117 rtsx_pci_write_register(pcr, L1SUB_CONFIG3, 0xFF, val); in rtsx_set_l1off_sub() 164 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data) in rtsx_pci_write_register() function 186 EXPORT_SYMBOL_GPL(rtsx_pci_write_register); [all …]
|
D | rts5209.c | 52 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); in rts5209_force_power_down() 81 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x00); in rts5209_turn_on_led() 86 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x01); in rts5209_turn_off_led() 91 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0xFF, 0x0D); in rts5209_enable_auto_blink() 96 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0x08, 0x00); in rts5209_disable_auto_blink() 158 err = rtsx_pci_write_register(pcr, in rts5209_switch_output_voltage() 166 err = rtsx_pci_write_register(pcr, in rts5209_switch_output_voltage()
|
D | rts5229.c | 49 rtsx_pci_write_register(pcr, FPDCTL, 0x03, 0x03); in rts5229_force_power_down() 82 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x02); in rts5229_turn_on_led() 87 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x00); in rts5229_turn_off_led() 92 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x08); in rts5229_enable_auto_blink() 97 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x00); in rts5229_disable_auto_blink() 140 err = rtsx_pci_write_register(pcr, in rts5229_switch_output_voltage() 148 err = rtsx_pci_write_register(pcr, in rts5229_switch_output_voltage()
|
/linux-6.1.9/drivers/mmc/host/ |
D | rtsx_pci_sdmmc.c | 57 rtsx_pci_write_register(host->pcr, CARD_STOP, in sd_clear_error() 236 err = rtsx_pci_write_register(pcr, SD_BUS_STAT, in sd_send_cmd_get_rsp() 323 rtsx_pci_write_register(pcr, SD_BUS_STAT, in sd_send_cmd_get_rsp() 544 rtsx_pci_write_register(host->pcr, SD_CFG1, in sd_enable_initial_mode() 550 rtsx_pci_write_register(host->pcr, SD_CFG1, in sd_disable_initial_mode() 623 rtsx_pci_write_register(pcr, CLK_CTL, CHANGE_CLK, CHANGE_CLK); in sd_change_phase() 626 rtsx_pci_write_register(pcr, SD_VPRX_CTL, in sd_change_phase() 630 rtsx_pci_write_register(pcr, SD_VPTX_CTL, in sd_change_phase() 633 rtsx_pci_write_register(pcr, SD_VP_CTL, PHASE_NOT_RESET, 0); in sd_change_phase() 634 rtsx_pci_write_register(pcr, SD_VP_CTL, PHASE_NOT_RESET, in sd_change_phase() [all …]
|
/linux-6.1.9/drivers/memstick/host/ |
D | rtsx_pci_ms.c | 40 rtsx_pci_write_register(host->pcr, CARD_STOP, in ms_clear_error() 99 err = rtsx_pci_write_register(pcr, CARD_OE, in ms_power_on() 403 rtsx_pci_write_register(pcr, CARD_SELECT, 0x07, MS_MOD_SEL); in rtsx_pci_ms_handle_req() 404 rtsx_pci_write_register(pcr, CARD_SHARE_MODE, in rtsx_pci_ms_handle_req() 463 err = rtsx_pci_write_register(pcr, MS_CFG, 0x58, in rtsx_pci_ms_set_param() 471 err = rtsx_pci_write_register(pcr, MS_CFG, in rtsx_pci_ms_set_param()
|
/linux-6.1.9/include/linux/ |
D | rtsx_pci.h | 1298 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data);
|