/linux-4.1.27/drivers/mfd/ |
H A D | rts5249.c | 95 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 1, 0xFF, 0); rtsx_base_force_power_down() 96 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 2, 0xFF, 0); rtsx_base_force_power_down() 97 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, 0x01, 0); rtsx_base_force_power_down() 100 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, rtsx_base_force_power_down() 103 rtsx_pci_write_register(pcr, FPDCTL, 0x03, 0x03); rtsx_base_force_power_down() 135 err = rtsx_pci_write_register(pcr, PM_CTRL3, D3_DELINK_MODE_EN, 0x00); rts5249_optimize_phy() 199 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x02); rtsx_base_turn_on_led() 204 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x00); rtsx_base_turn_off_led() 209 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x08); rtsx_base_enable_auto_blink() 214 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x00); rtsx_base_disable_auto_blink() 399 err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, rts524a_optimize_phy() 442 rtsx_pci_write_register(pcr, FUNC_FORCE_CTL, rts524a_extra_init_hw() 444 rtsx_pci_write_register(pcr, PM_EVENT_DEBUG, PME_DEBUG_0, PME_DEBUG_0); rts524a_extra_init_hw() 445 rtsx_pci_write_register(pcr, LDO_VCC_CFG1, LDO_VCC_LMT_EN, rts524a_extra_init_hw() 447 rtsx_pci_write_register(pcr, PCLK_CTL, PCLK_MODE_SEL, PCLK_MODE_SEL); rts524a_extra_init_hw() 449 rtsx_pci_write_register(pcr, LDO_DV18_CFG, rts524a_extra_init_hw() 451 rtsx_pci_write_register(pcr, LDO_VCC_CFG1, rts524a_extra_init_hw() 453 rtsx_pci_write_register(pcr, LDO_VIO_CFG, rts524a_extra_init_hw() 455 rtsx_pci_write_register(pcr, LDO_VIO_CFG, rts524a_extra_init_hw() 457 rtsx_pci_write_register(pcr, LDO_DV12S_CFG, rts524a_extra_init_hw() 459 rtsx_pci_write_register(pcr, SD40_LDO_CTL1, rts524a_extra_init_hw() 492 rtsx_pci_write_register(pcr, LDO_VCC_CFG1, rts525a_card_power_on() 501 rtsx_pci_write_register(pcr, LDO_CONFIG2, rts525a_switch_output_voltage() 503 rtsx_pci_write_register(pcr, SD_PAD_CTL, SD_IO_USING_1V8, 0); rts525a_switch_output_voltage() 506 rtsx_pci_write_register(pcr, LDO_CONFIG2, rts525a_switch_output_voltage() 508 rtsx_pci_write_register(pcr, SD_PAD_CTL, SD_IO_USING_1V8, rts525a_switch_output_voltage() 524 err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, rts525a_optimize_phy() 550 rtsx_pci_write_register(pcr, PCLK_CTL, PCLK_MODE_SEL, PCLK_MODE_SEL); rts525a_extra_init_hw() 552 rtsx_pci_write_register(pcr, L1SUB_CONFIG2, rts525a_extra_init_hw() 554 rtsx_pci_write_register(pcr, RREF_CFG, rts525a_extra_init_hw() 556 rtsx_pci_write_register(pcr, LDO_VIO_CFG, rts525a_extra_init_hw() 558 rtsx_pci_write_register(pcr, LDO_DV12S_CFG, rts525a_extra_init_hw() 560 rtsx_pci_write_register(pcr, LDO_AV12S_CFG, rts525a_extra_init_hw() 562 rtsx_pci_write_register(pcr, LDO_VCC_CFG0, rts525a_extra_init_hw() 564 rtsx_pci_write_register(pcr, OOBS_CONFIG, rts525a_extra_init_hw()
|
H A D | rtl8411.c | 91 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); rtl8411_force_power_down() 125 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x00); rtl8411_turn_on_led() 130 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x01); rtl8411_turn_off_led() 135 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0xFF, 0x0D); rtl8411_enable_auto_blink() 140 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0x08, 0x00); rtl8411_disable_auto_blink() 159 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, rtl8411_card_power_on() 166 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, rtl8411_card_power_on() 173 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, rtl8411_card_power_on() 178 return rtsx_pci_write_register(pcr, LDO_CTL, BPP_LDO_POWB, BPP_LDO_ON); rtl8411_card_power_on() 185 err = rtsx_pci_write_register(pcr, CARD_PWR_CTL, rtl8411_card_power_off() 190 return rtsx_pci_write_register(pcr, LDO_CTL, rtl8411_card_power_off() 202 err = rtsx_pci_write_register(pcr, rtl8411_do_switch_output_voltage() 208 err = rtsx_pci_write_register(pcr, rtl8411_do_switch_output_voltage() 217 return rtsx_pci_write_register(pcr, LDO_CTL, mask, val); rtl8411_do_switch_output_voltage() 240 rtsx_pci_write_register(pcr, CD_PAD_CTL, rtl8411_cd_deglitch() 243 rtsx_pci_write_register(pcr, EFUSE_CONTENT, 0xe0, 0x00); rtl8411_cd_deglitch() 248 rtsx_pci_write_register(pcr, CARD_PWR_CTL, rtl8411_cd_deglitch() 260 rtsx_pci_write_register(pcr, CARD_PWR_CTL, rtl8411_cd_deglitch() 269 rtsx_pci_write_register(pcr, EFUSE_CONTENT, 0xe0, 0x40); rtl8411_cd_deglitch() 270 rtsx_pci_write_register(pcr, CD_PAD_CTL, rtl8411_cd_deglitch() 274 rtsx_pci_write_register(pcr, EFUSE_CONTENT, 0xe0, 0x80); rtl8411_cd_deglitch() 275 rtsx_pci_write_register(pcr, CD_PAD_CTL, rtl8411_cd_deglitch()
|
H A D | rts5227.c | 86 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 1, 0xFF, 0); rts5227_force_power_down() 87 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 2, 0xFF, 0); rts5227_force_power_down() 88 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, 0x01, 0); rts5227_force_power_down() 91 rtsx_pci_write_register(pcr, PM_CTRL3, 0x10, 0x10); rts5227_force_power_down() 93 rtsx_pci_write_register(pcr, FPDCTL, 0x03, 0x03); rts5227_force_power_down() 133 err = rtsx_pci_write_register(pcr, PM_CTRL3, D3_DELINK_MODE_EN, 0x00); rts5227_optimize_phy() 143 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x02); rts5227_turn_on_led() 148 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x00); rts5227_turn_off_led() 153 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x08); rts5227_enable_auto_blink() 158 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x00); rts5227_disable_auto_blink()
|
H A D | rts5209.c | 63 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); rts5209_force_power_down() 92 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x00); rts5209_turn_on_led() 97 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x01); rts5209_turn_off_led() 102 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0xFF, 0x0D); rts5209_enable_auto_blink() 107 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0x08, 0x00); rts5209_disable_auto_blink() 173 err = rtsx_pci_write_register(pcr, rts5209_switch_output_voltage() 181 err = rtsx_pci_write_register(pcr, rts5209_switch_output_voltage()
|
H A D | rts5229.c | 60 rtsx_pci_write_register(pcr, FPDCTL, 0x03, 0x03); rts5229_force_power_down() 93 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x02); rts5229_turn_on_led() 98 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x00); rts5229_turn_off_led() 103 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x08); rts5229_enable_auto_blink() 108 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x00); rts5229_disable_auto_blink() 155 err = rtsx_pci_write_register(pcr, rts5229_switch_output_voltage() 163 err = rtsx_pci_write_register(pcr, rts5229_switch_output_voltage()
|
H A D | rtsx_pcr.c | 99 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data) rtsx_pci_write_register() function 121 EXPORT_SYMBOL_GPL(rtsx_pci_write_register); variable 250 rtsx_pci_write_register(pcr, DMACTL, 0x80, 0x80); rtsx_pci_stop_cmd() 251 rtsx_pci_write_register(pcr, RBCTL, 0x80, 0x80); rtsx_pci_stop_cmd() 662 err = rtsx_pci_write_register(pcr, SD_CFG1, rtsx_pci_switch_clock() 735 err = rtsx_pci_write_register(pcr, CLK_CTL, CLK_LOW_FREQ, 0); rtsx_pci_switch_clock() 984 rtsx_pci_write_register(pcr, PETXCFG, 0x08, 0x08); rtsx_pci_power_off() 985 rtsx_pci_write_register(pcr, HOST_SLEEP_STATE, 0x03, pm_state); rtsx_pci_power_off() 1002 err = rtsx_pci_write_register(pcr, FPDCTL, SSC_POWER_DOWN, 0); rtsx_pci_init_hw() 1375 ret = rtsx_pci_write_register(pcr, HOST_SLEEP_STATE, 0x03, 0x00); rtsx_pci_resume()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | rtsx_pci_sdmmc.c | 70 rtsx_pci_write_register(host->pcr, CARD_STOP, sd_clear_error() 250 err = rtsx_pci_write_register(pcr, SD_BUS_STAT, sd_send_cmd_get_rsp() 337 rtsx_pci_write_register(pcr, SD_BUS_STAT, sd_send_cmd_get_rsp() 575 rtsx_pci_write_register(host->pcr, SD_CFG1, sd_enable_initial_mode() 581 rtsx_pci_write_register(host->pcr, SD_CFG1, sd_disable_initial_mode() 830 rtsx_pci_write_register(pcr, CARD_SELECT, 0x07, SD_MOD_SEL); sd_request() 831 rtsx_pci_write_register(pcr, CARD_SHARE_MODE, sd_request() 902 err = rtsx_pci_write_register(host->pcr, SD_CFG1, sd_set_bus_width() 934 err = rtsx_pci_write_register(pcr, CARD_OE, SD_OUTPUT_EN, SD_OUTPUT_EN); sd_power_on() 1173 err = rtsx_pci_write_register(pcr, SD_BUS_STAT, sd_wait_voltage_stable_1() 1191 err = rtsx_pci_write_register(pcr, SD_BUS_STAT, 0xFF, SD_CLK_TOGGLE_EN); sd_wait_voltage_stable_2() 1212 rtsx_pci_write_register(pcr, SD_BUS_STAT, sd_wait_voltage_stable_2() 1214 rtsx_pci_write_register(pcr, CARD_CLK_EN, 0xFF, 0); sd_wait_voltage_stable_2() 1265 err = rtsx_pci_write_register(pcr, SD_BUS_STAT, sdmmc_switch_voltage()
|
/linux-4.1.27/drivers/memstick/host/ |
H A D | rtsx_pci_ms.c | 52 rtsx_pci_write_register(host->pcr, CARD_STOP, ms_clear_error() 111 err = rtsx_pci_write_register(pcr, CARD_OE, ms_power_on() 415 rtsx_pci_write_register(pcr, CARD_SELECT, 0x07, MS_MOD_SEL); rtsx_pci_ms_handle_req() 416 rtsx_pci_write_register(pcr, CARD_SHARE_MODE, rtsx_pci_ms_handle_req() 475 err = rtsx_pci_write_register(pcr, MS_CFG, 0x58, rtsx_pci_ms_set_param() 483 err = rtsx_pci_write_register(pcr, MS_CFG, rtsx_pci_ms_set_param()
|
/linux-4.1.27/include/linux/mfd/ |
H A D | rtsx_pci.h | 977 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data);
|