Lines Matching refs:rtsx_pci_write_register

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()
113 rtsx_pci_write_register(pcr, FPDCTL, in rts5228_force_power_down()
119 return rtsx_pci_write_register(pcr, OLT_LED_CTL, in rts5228_enable_auto_blink()
125 return rtsx_pci_write_register(pcr, OLT_LED_CTL, in rts5228_disable_auto_blink()
131 return rtsx_pci_write_register(pcr, GPIO_CTL, in rts5228_turn_on_led()
137 return rtsx_pci_write_register(pcr, GPIO_CTL, in rts5228_turn_off_led()
169 rtsx_pci_write_register(pcr, SD_CFG1, SD_MODE_SELECT_MASK in rts5228_sd_set_sample_push_timing_sd30()
171 rtsx_pci_write_register(pcr, CLK_CTL, CLK_LOW_FREQ, CLK_LOW_FREQ); in rts5228_sd_set_sample_push_timing_sd30()
172 rtsx_pci_write_register(pcr, CARD_CLK_SOURCE, 0xFF, in rts5228_sd_set_sample_push_timing_sd30()
174 rtsx_pci_write_register(pcr, CLK_CTL, CLK_LOW_FREQ, 0); in rts5228_sd_set_sample_push_timing_sd30()
186 rtsx_pci_write_register(pcr, REG_CRC_DUMMY_0, in rts5228_card_power_on()
189 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG1, in rts5228_card_power_on()
192 rtsx_pci_write_register(pcr, RTS5228_LDO1233318_POW_CTL, in rts5228_card_power_on()
195 rtsx_pci_write_register(pcr, RTS5228_LDO1233318_POW_CTL, in rts5228_card_power_on()
199 rtsx_pci_write_register(pcr, RTS5228_LDO1233318_POW_CTL, in rts5228_card_power_on()
204 rtsx_pci_write_register(pcr, CARD_OE, SD_OUTPUT_EN, SD_OUTPUT_EN); in rts5228_card_power_on()
207 rtsx_pci_write_register(pcr, SD_CFG1, 0xFF, in rts5228_card_power_on()
210 rtsx_pci_write_register(pcr, SD_SAMPLE_POINT_CTL, in rts5228_card_power_on()
212 rtsx_pci_write_register(pcr, SD_PUSH_POINT_CTL, 0xFF, 0); in rts5228_card_power_on()
213 rtsx_pci_write_register(pcr, CARD_STOP, SD_STOP | SD_CLR_ERR, in rts5228_card_power_on()
217 rtsx_pci_write_register(pcr, SD_CFG3, SD30_CLK_END_EN, 0); in rts5228_card_power_on()
218 rtsx_pci_write_register(pcr, REG_SD_STOP_SDCLK_CFG, in rts5228_card_power_on()
234 rtsx_pci_write_register(pcr, RTS5228_CARD_PWR_CTL, in rts5228_switch_output_voltage()
245 rtsx_pci_write_register(pcr, RTS5228_DV3318_CFG, in rts5228_switch_output_voltage()
247 rtsx_pci_write_register(pcr, SD_PAD_CTL, in rts5228_switch_output_voltage()
257 rtsx_pci_write_register(pcr, RTS5228_DV3318_CFG, in rts5228_switch_output_voltage()
259 rtsx_pci_write_register(pcr, SD_PAD_CTL, in rts5228_switch_output_voltage()
276 rtsx_pci_write_register(pcr, RTS5260_DMA_RST_CTL_0, in rts5228_stop_cmd()
279 rtsx_pci_write_register(pcr, RBCTL, RB_FLUSH, RB_FLUSH); in rts5228_stop_cmd()
293 rtsx_pci_write_register(pcr, REG_OCPCTL, 0xFF, val); in rts5228_enable_ocp()
294 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG0, in rts5228_enable_ocp()
304 rtsx_pci_write_register(pcr, REG_OCPCTL, mask, 0); in rts5228_disable_ocp()
305 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG0, in rts5228_disable_ocp()
314 err = rtsx_pci_write_register(pcr, RTS5228_LDO1233318_POW_CTL, in rts5228_card_power_off()
316 rtsx_pci_write_register(pcr, REG_CRC_DUMMY_0, CFG_SD_POW_AUTO_PD, 0); in rts5228_card_power_off()
331 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG0, in rts5228_init_ocp()
335 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG0, in rts5228_init_ocp()
338 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG0, in rts5228_init_ocp()
346 rtsx_pci_write_register(pcr, REG_OCPGLITCH, mask, val); in rts5228_init_ocp()
351 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG0, in rts5228_init_ocp()
364 rtsx_pci_write_register(pcr, REG_OCPCTL, mask, val); in rts5228_clear_ocpstat()
367 rtsx_pci_write_register(pcr, REG_OCPCTL, mask, 0); in rts5228_clear_ocpstat()
381 rtsx_pci_write_register(pcr, CARD_OE, SD_OUTPUT_EN, 0); in rts5228_process_ocp()
425 rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, 0xFF, 0); in rts5228_init_from_cfg()
450 rtsx_pci_write_register(pcr, RTS5228_AUTOLOAD_CFG1, in rts5228_extra_init_hw()
455 rtsx_pci_write_register(pcr, L1SUB_CONFIG1, in rts5228_extra_init_hw()
457 rtsx_pci_write_register(pcr, L1SUB_CONFIG3, 0xFF, 0); in rts5228_extra_init_hw()
459 rtsx_pci_write_register(pcr, FUNC_FORCE_CTL, in rts5228_extra_init_hw()
462 rtsx_pci_write_register(pcr, PCLK_CTL, in rts5228_extra_init_hw()
465 rtsx_pci_write_register(pcr, PM_EVENT_DEBUG, PME_DEBUG_0, PME_DEBUG_0); in rts5228_extra_init_hw()
466 rtsx_pci_write_register(pcr, PM_CLK_FORCE_CTL, CLK_PM_EN, CLK_PM_EN); in rts5228_extra_init_hw()
469 rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x0F, 0x02); in rts5228_extra_init_hw()
475 rtsx_pci_write_register(pcr, PETXCFG, 0x30, 0x30); in rts5228_extra_init_hw()
477 rtsx_pci_write_register(pcr, PETXCFG, 0x30, 0x00); in rts5228_extra_init_hw()
484 rtsx_pci_write_register(pcr, PETXCFG, in rts5228_extra_init_hw()
487 rtsx_pci_write_register(pcr, PETXCFG, in rts5228_extra_init_hw()
490 rtsx_pci_write_register(pcr, PWD_SUSPEND_EN, 0xFF, 0xFB); in rts5228_extra_init_hw()
493 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x01); in rts5228_extra_init_hw()
494 rtsx_pci_write_register(pcr, RTS5228_REG_PME_FORCE_CTL, in rts5228_extra_init_hw()
498 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x00); in rts5228_extra_init_hw()
499 rtsx_pci_write_register(pcr, RTS5228_REG_PME_FORCE_CTL, in rts5228_extra_init_hw()
502 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, D3_DELINK_MODE_EN, 0x00); in rts5228_extra_init_hw()
517 rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, mask, val); in rts5228_enable_aspm()
534 rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, mask, val); in rts5228_disable_aspm()
535 rtsx_pci_write_register(pcr, SD_CFG1, SD_ASYNC_FIFO_NOT_RST, 0); in rts5228_disable_aspm()
618 err = rtsx_pci_write_register(pcr, SD_CFG1, in rts5228_pci_switch_clock()
715 err = rtsx_pci_write_register(pcr, CLK_CTL, CLK_LOW_FREQ, 0); in rts5228_pci_switch_clock()