Lines Matching +full:0 +full:x55

20 	val = rtsx_pci_readb(pcr, 0x1C);  in rts5209_get_ic_version()
21 return val & 0x0F; in rts5209_get_ic_version()
30 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG1, reg); in rts5209_fetch_vendor_settings()
39 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG2, reg); in rts5209_fetch_vendor_settings()
52 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); in rts5209_force_power_down()
60 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CARD_GPIO, 0xFF, 0x03); in rts5209_extra_init_hw()
62 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, ASPM_FORCE_CTL, 0x3F, 0); in rts5209_extra_init_hw()
63 /* Force CLKREQ# PIN to drive 0 to request clock */ in rts5209_extra_init_hw()
64 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, PETXCFG, 0x08, 0x08); in rts5209_extra_init_hw()
66 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CARD_GPIO_DIR, 0xFF, 0x03); in rts5209_extra_init_hw()
69 0xFF, pcr->sd30_drive_sel_3v3); in rts5209_extra_init_hw()
76 return rtsx_pci_write_phy_register(pcr, 0x00, 0xB966); in rts5209_optimize_phy()
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()
118 LDO3318_PWR_MASK, 0x04); in rts5209_card_power_on()
120 if (err < 0) in rts5209_card_power_on()
129 LDO3318_PWR_MASK, 0x00); in rts5209_card_power_on()
149 LDO3318_PWR_MASK, 0x06); in rts5209_card_power_off()
159 SD30_DRIVE_SEL, 0x07, pcr->sd30_drive_sel_3v3); in rts5209_switch_output_voltage()
160 if (err < 0) in rts5209_switch_output_voltage()
162 err = rtsx_pci_write_phy_register(pcr, 0x08, 0x4FC0 | 0x24); in rts5209_switch_output_voltage()
163 if (err < 0) in rts5209_switch_output_voltage()
167 SD30_DRIVE_SEL, 0x07, pcr->sd30_drive_sel_1v8); in rts5209_switch_output_voltage()
168 if (err < 0) in rts5209_switch_output_voltage()
170 err = rtsx_pci_write_phy_register(pcr, 0x08, 0x4C40 | 0x24); in rts5209_switch_output_voltage()
171 if (err < 0) in rts5209_switch_output_voltage()
177 return 0; in rts5209_switch_output_voltage()
197 * SD_DAT[3:0] ==> pull up
204 RTSX_REG_PAIR(CARD_PULL_CTL1, 0xAA),
205 RTSX_REG_PAIR(CARD_PULL_CTL2, 0xAA),
206 RTSX_REG_PAIR(CARD_PULL_CTL3, 0xE9),
207 0,
211 * SD_DAT[3:0] ==> pull down
218 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x55),
219 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
220 RTSX_REG_PAIR(CARD_PULL_CTL3, 0xD5),
221 0,
229 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x55),
230 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x55),
231 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x15),
232 0,
240 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x55),
241 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x55),
242 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x15),
243 0,
253 pcr->flags = 0; in rts5209_init_params()