Lines Matching refs:rtsx_pci_write_register
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()
184 rtsx_pci_write_register(pcr, RTS525A_EFUSE_CTL, in rts52xa_save_content_from_efuse()
198 rtsx_pci_write_register(pcr, RTS525A_EFUSE_ADD, in rts52xa_save_content_from_efuse()
200 rtsx_pci_write_register(pcr, RTS525A_EFUSE_CTL, in rts52xa_save_content_from_efuse()
209 rtsx_pci_write_register(pcr, 0xFF04 + i, 0xFF, val); in rts52xa_save_content_from_efuse()
212 rtsx_pci_write_register(pcr, 0xFF04, 0xFF, (u8)PCI_VID(pcr)); in rts52xa_save_content_from_efuse()
213 rtsx_pci_write_register(pcr, 0xFF05, 0xFF, (u8)(PCI_VID(pcr) >> 8)); in rts52xa_save_content_from_efuse()
214 rtsx_pci_write_register(pcr, 0xFF06, 0xFF, (u8)PCI_PID(pcr)); in rts52xa_save_content_from_efuse()
215 rtsx_pci_write_register(pcr, 0xFF07, 0xFF, (u8)(PCI_PID(pcr) >> 8)); in rts52xa_save_content_from_efuse()
220 rtsx_pci_write_register(pcr, RTS525A_EFUSE_ADD, in rts52xa_save_content_from_efuse()
223 rtsx_pci_write_register(pcr, RTS525A_EFUSE_ADD, in rts52xa_save_content_from_efuse()
225 rtsx_pci_write_register(pcr, RTS525A_EFUSE_CTL, in rts52xa_save_content_from_efuse()
234 rtsx_pci_write_register(pcr, 0xFF08 + i, 0xFF, val); in rts52xa_save_content_from_efuse()
236 rtsx_pci_write_register(pcr, 0xFF00, 0xFF, (cnt & 0x7F) | 0x80); in rts52xa_save_content_from_efuse()
237 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, in rts52xa_save_content_from_efuse()
250 rtsx_pci_write_register(pcr, RTS525A_BIOS_CFG, in rts52xa_save_content_to_autoload_space()
253 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, in rts52xa_save_content_to_autoload_space()
266 rtsx_pci_write_register(pcr, 0xFF00, 0xFF, 0x80); in rts52xa_save_content_to_autoload_space()
267 rtsx_pci_write_register(pcr, 0xFF04, 0xFF, (u8)PCI_VID(pcr)); in rts52xa_save_content_to_autoload_space()
268 rtsx_pci_write_register(pcr, 0xFF05, 0xFF, (u8)(PCI_VID(pcr) >> 8)); in rts52xa_save_content_to_autoload_space()
269 rtsx_pci_write_register(pcr, 0xFF06, 0xFF, (u8)PCI_PID(pcr)); in rts52xa_save_content_to_autoload_space()
270 rtsx_pci_write_register(pcr, 0xFF07, 0xFF, (u8)(PCI_PID(pcr) >> 8)); in rts52xa_save_content_to_autoload_space()
307 rtsx_pci_write_register(pcr, REG_VREF, PWD_SUSPND_EN, PWD_SUSPND_EN); in rts5249_extra_init_hw()
308 rtsx_pci_write_register(pcr, RTS524A_AUTOLOAD_CFG1, in rts5249_extra_init_hw()
314 rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, 0x01, 0x01); in rts5249_extra_init_hw()
315 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, 0x30, 0x30); in rts5249_extra_init_hw()
317 rtsx_pci_write_register(pcr, PM_CTRL3, 0x01, 0x01); in rts5249_extra_init_hw()
318 rtsx_pci_write_register(pcr, PME_FORCE_CTL, 0xFF, 0x33); in rts5249_extra_init_hw()
322 rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, 0x01, 0x00); in rts5249_extra_init_hw()
323 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, 0x30, 0x20); in rts5249_extra_init_hw()
325 rtsx_pci_write_register(pcr, PME_FORCE_CTL, 0xFF, 0x30); in rts5249_extra_init_hw()
326 rtsx_pci_write_register(pcr, PM_CTRL3, 0x01, 0x00); in rts5249_extra_init_hw()
336 rtsx_pci_write_register(pcr, PETXCFG, in rts5249_extra_init_hw()
339 rtsx_pci_write_register(pcr, PETXCFG, in rts5249_extra_init_hw()
342 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x10, 0x00); in rts5249_extra_init_hw()
344 rtsx_pci_write_register(pcr, RTS524A_PME_FORCE_CTL, in rts5249_extra_init_hw()
356 err = rtsx_pci_write_register(pcr, PM_CTRL3, D3_DELINK_MODE_EN, 0x00); in rts5249_optimize_phy()
420 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x02); in rtsx_base_turn_on_led()
425 return rtsx_pci_write_register(pcr, GPIO_CTL, 0x02, 0x00); in rtsx_base_turn_off_led()
430 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x08); in rtsx_base_enable_auto_blink()
435 return rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x08, 0x00); in rtsx_base_disable_auto_blink()
472 rtsx_pci_write_register(pcr, CARD_PWR_CTL, SD_POWER_MASK, SD_POWER_OFF); in rtsx_base_card_power_off()
474 rtsx_pci_write_register(pcr, PWR_GATE_CTRL, LDO3318_PWR_MASK, 0x00); in rtsx_base_card_power_off()
638 err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, in rts524a_optimize_phy()
681 rtsx_pci_write_register(pcr, FUNC_FORCE_CTL, in rts524a_extra_init_hw()
683 rtsx_pci_write_register(pcr, PM_EVENT_DEBUG, PME_DEBUG_0, PME_DEBUG_0); in rts524a_extra_init_hw()
684 rtsx_pci_write_register(pcr, LDO_VCC_CFG1, LDO_VCC_LMT_EN, in rts524a_extra_init_hw()
686 rtsx_pci_write_register(pcr, PCLK_CTL, PCLK_MODE_SEL, PCLK_MODE_SEL); in rts524a_extra_init_hw()
688 rtsx_pci_write_register(pcr, LDO_DV18_CFG, in rts524a_extra_init_hw()
690 rtsx_pci_write_register(pcr, LDO_VCC_CFG1, in rts524a_extra_init_hw()
692 rtsx_pci_write_register(pcr, LDO_VIO_CFG, in rts524a_extra_init_hw()
694 rtsx_pci_write_register(pcr, LDO_VIO_CFG, in rts524a_extra_init_hw()
696 rtsx_pci_write_register(pcr, LDO_DV12S_CFG, in rts524a_extra_init_hw()
698 rtsx_pci_write_register(pcr, SD40_LDO_CTL1, in rts524a_extra_init_hw()
778 rtsx_pci_write_register(pcr, LDO_VCC_CFG1, in rts525a_card_power_on()
787 rtsx_pci_write_register(pcr, LDO_CONFIG2, in rts525a_switch_output_voltage()
789 rtsx_pci_write_register(pcr, SD_PAD_CTL, SD_IO_USING_1V8, 0); in rts525a_switch_output_voltage()
792 rtsx_pci_write_register(pcr, LDO_CONFIG2, in rts525a_switch_output_voltage()
794 rtsx_pci_write_register(pcr, SD_PAD_CTL, SD_IO_USING_1V8, in rts525a_switch_output_voltage()
810 err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, in rts525a_optimize_phy()
836 rtsx_pci_write_register(pcr, RTS5250_CLK_CFG3, RTS525A_CFG_MEM_PD, RTS525A_CFG_MEM_PD); in rts525a_extra_init_hw()
838 rtsx_pci_write_register(pcr, PCLK_CTL, PCLK_MODE_SEL, PCLK_MODE_SEL); in rts525a_extra_init_hw()
840 rtsx_pci_write_register(pcr, L1SUB_CONFIG2, in rts525a_extra_init_hw()
842 rtsx_pci_write_register(pcr, RREF_CFG, in rts525a_extra_init_hw()
844 rtsx_pci_write_register(pcr, LDO_VIO_CFG, in rts525a_extra_init_hw()
846 rtsx_pci_write_register(pcr, LDO_DV12S_CFG, in rts525a_extra_init_hw()
848 rtsx_pci_write_register(pcr, LDO_AV12S_CFG, in rts525a_extra_init_hw()
850 rtsx_pci_write_register(pcr, LDO_VCC_CFG0, in rts525a_extra_init_hw()
852 rtsx_pci_write_register(pcr, OOBS_CONFIG, in rts525a_extra_init_hw()