Lines Matching +full:0 +full:x96

30 		{0x13, 0x13, 0x13},  in rts5228_fill_driving()
31 {0x96, 0x96, 0x96}, in rts5228_fill_driving()
32 {0x7F, 0x7F, 0x7F}, in rts5228_fill_driving()
33 {0x96, 0x96, 0x96}, in rts5228_fill_driving()
36 {0x99, 0x99, 0x99}, in rts5228_fill_driving()
37 {0xB5, 0xB5, 0xB5}, in rts5228_fill_driving()
38 {0xE6, 0x7E, 0xFE}, in rts5228_fill_driving()
39 {0x6B, 0x6B, 0x6B}, in rts5228_fill_driving()
52 0xFF, driving[drive_sel][0]); in rts5228_fill_driving()
55 0xFF, driving[drive_sel][1]); in rts5228_fill_driving()
58 0xFF, driving[drive_sel][2]); in rts5228_fill_driving()
66 /* 0x724~0x727 */ in rtsx5228_fetch_vendor_settings()
68 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG1, reg); in rtsx5228_fetch_vendor_settings()
77 /* 0x814~0x817 */ in rtsx5228_fetch_vendor_settings()
79 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG2, reg); in rtsx5228_fetch_vendor_settings()
91 return rtsx_pci_write_phy_register(pcr, 0x07, 0x8F40); in rts5228_optimize_phy()
96 /* Set relink_time to 0 */ in rts5228_force_power_down()
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()
100 RELINK_TIME_MASK, 0); in rts5228_force_power_down()
107 CD_RESUME_EN_MASK, 0); in rts5228_force_power_down()
108 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x00); in rts5228_force_power_down()
132 0x02, 0x02); in rts5228_turn_on_led()
138 0x02, 0x00); in rts5228_turn_off_led()
142 * SD_DAT[3:0] ==> pull up
149 RTSX_REG_PAIR(CARD_PULL_CTL2, 0xAA),
150 RTSX_REG_PAIR(CARD_PULL_CTL3, 0xE9),
151 0,
155 * SD_DAT[3:0] ==> pull down
162 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
163 RTSX_REG_PAIR(CARD_PULL_CTL3, 0xD5),
164 0,
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()
176 return 0; in rts5228_sd_set_sample_push_timing_sd30()
207 rtsx_pci_write_register(pcr, SD_CFG1, 0xFF, in rts5228_card_power_on()
211 0xFF, SD20_RX_POS_EDGE); in rts5228_card_power_on()
212 rtsx_pci_write_register(pcr, SD_PUSH_POINT_CTL, 0xFF, 0); in rts5228_card_power_on()
217 rtsx_pci_write_register(pcr, SD_CFG3, SD30_CLK_END_EN, 0); in rts5228_card_power_on()
220 SD30_CLK_STOP_CFG0, 0); in rts5228_card_power_on()
226 return 0; in rts5228_card_power_on()
232 u16 val = 0; in rts5228_switch_output_voltage()
242 if (err < 0) in rts5228_switch_output_voltage()
248 SD_IO_USING_1V8, 0); in rts5228_switch_output_voltage()
254 if (err < 0) in rts5228_switch_output_voltage()
269 return 0; in rts5228_switch_output_voltage()
290 u8 val = 0; in rts5228_enable_ocp()
293 rtsx_pci_write_register(pcr, REG_OCPCTL, 0xFF, val); in rts5228_enable_ocp()
301 u8 mask = 0; in rts5228_disable_ocp()
304 rtsx_pci_write_register(pcr, REG_OCPCTL, mask, 0); in rts5228_disable_ocp()
306 RTS5228_LDO1_OCP_EN | RTS5228_LDO1_OCP_LMT_EN, 0); in rts5228_disable_ocp()
311 int err = 0; in rts5228_card_power_off()
315 RTS5228_LDO_POWERON_MASK, 0); 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()
352 RTS5228_LDO1_OCP_EN | RTS5228_LDO1_OCP_LMT_EN, 0); in rts5228_init_ocp()
358 u8 mask = 0; in rts5228_clear_ocpstat()
359 u8 val = 0; 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()
382 pcr->ocp_stat = 0; in rts5228_process_ocp()
397 rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, 0xFF, 0); in rts5228_init_from_cfg()
416 rtsx_pci_write_register(pcr, L1SUB_CONFIG3, 0xFF, 0); in rts5228_extra_init_hw()
428 rtsx_pci_write_register(pcr, OLT_LED_CTL, 0x0F, 0x02); in rts5228_extra_init_hw()
434 rtsx_pci_write_register(pcr, PETXCFG, 0x30, 0x30); in rts5228_extra_init_hw()
436 rtsx_pci_write_register(pcr, PETXCFG, 0x30, 0x00); in rts5228_extra_init_hw()
449 rtsx_pci_write_register(pcr, PWD_SUSPEND_EN, 0xFF, 0xFB); in rts5228_extra_init_hw()
452 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x01); in rts5228_extra_init_hw()
457 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, 0x01, 0x00); in rts5228_extra_init_hw()
461 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3, D3_DELINK_MODE_EN, 0x00); in rts5228_extra_init_hw()
463 return 0; in rts5228_extra_init_hw()
475 val |= (pcr->aspm_en & 0x02); in rts5228_enable_aspm()
490 PCI_EXP_LNKCTL_ASPMC, 0); in rts5228_disable_aspm()
494 rtsx_pci_write_register(pcr, SD_CFG1, SD_ASYNC_FIFO_NOT_RST, 0); in rts5228_disable_aspm()
511 u8 val = 0; in rts5228_set_l1off_cfg_sub_d0()
579 if (err < 0) in rts5228_pci_switch_clock()
592 return 0; in rts5228_pci_switch_clock()
643 ssc_depth = 0; in rts5228_pci_switch_clock()
651 0xFF, (div << 4) | mcu_cnt); in rts5228_pci_switch_clock()
652 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SSC_CTL1, SSC_RSTB, 0); in rts5228_pci_switch_clock()
655 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SSC_DIV_N_0, 0xFF, n); in rts5228_pci_switch_clock()
659 PHASE_NOT_RESET, 0); in rts5228_pci_switch_clock()
661 PHASE_NOT_RESET, 0); in rts5228_pci_switch_clock()
669 if (err < 0) in rts5228_pci_switch_clock()
674 err = rtsx_pci_write_register(pcr, CLK_CTL, CLK_LOW_FREQ, 0); in rts5228_pci_switch_clock()
675 if (err < 0) in rts5228_pci_switch_clock()
679 return 0; in rts5228_pci_switch_clock()
692 pcr->flags = 0; in rts5228_init_params()
716 option->ltr_l1off_sspwrgate = 0x7F; in rts5228_init_params()
717 option->ltr_l1off_snooze_sspwrgate = 0x78; in rts5228_init_params()