Lines Matching +full:0 +full:x65

23 	return val & 0x0F;  in rtl8411_get_ic_version()
28 u8 val = 0; in rtl8411b_is_qfn48()
32 if (val & 0x2) in rtl8411b_is_qfn48()
35 return 0; in rtl8411b_is_qfn48()
41 u32 reg1 = 0; in rtl8411_fetch_vendor_settings()
42 u8 reg3 = 0; in rtl8411_fetch_vendor_settings()
45 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG1, reg1); in rtl8411_fetch_vendor_settings()
53 pcr->card_drive_sel &= 0x3F; in rtl8411_fetch_vendor_settings()
57 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG3, reg3); in rtl8411_fetch_vendor_settings()
64 u32 reg = 0; in rtl8411b_fetch_vendor_settings()
67 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG1, reg); in rtl8411b_fetch_vendor_settings()
81 rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07); in rtl8411_force_power_down()
89 0xFF, pcr->sd30_drive_sel_3v3); in rtl8411_extra_init_hw()
102 CARD_PULL_CTL3, 0xFF, 0xF5); in rtl8411b_extra_init_hw()
104 0xFF, pcr->sd30_drive_sel_3v3); in rtl8411b_extra_init_hw()
108 0x06, 0x00); in rtl8411b_extra_init_hw()
115 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x00); in rtl8411_turn_on_led()
120 return rtsx_pci_write_register(pcr, CARD_GPIO, 0x01, 0x01); in rtl8411_turn_off_led()
125 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0xFF, 0x0D); in rtl8411_enable_auto_blink()
130 return rtsx_pci_write_register(pcr, CARD_AUTO_BLINK, 0x08, 0x00); in rtl8411_disable_auto_blink()
143 if (err < 0) in rtl8411_card_power_on()
151 if (err < 0) in rtl8411_card_power_on()
158 if (err < 0) in rtl8411_card_power_on()
165 if (err < 0) in rtl8411_card_power_on()
177 if (err < 0) in rtl8411_card_power_off()
193 SD30_DRIVE_SEL, 0x07, pcr->sd30_drive_sel_3v3); in rtl8411_do_switch_output_voltage()
194 if (err < 0) in rtl8411_do_switch_output_voltage()
199 SD30_DRIVE_SEL, 0x07, pcr->sd30_drive_sel_1v8); in rtl8411_do_switch_output_voltage()
200 if (err < 0) in rtl8411_do_switch_output_voltage()
233 rtsx_pci_write_register(pcr, EFUSE_CONTENT, 0xe0, 0x00); in rtl8411_cd_deglitch()
234 return 0; in rtl8411_cd_deglitch()
248 card_exist = 0; in rtl8411_cd_deglitch()
253 pcr_dbg(pcr, "After CD deglitch, card_exist = 0x%x\n", in rtl8411_cd_deglitch()
259 rtsx_pci_write_register(pcr, EFUSE_CONTENT, 0xe0, 0x40); in rtl8411_cd_deglitch()
264 rtsx_pci_write_register(pcr, EFUSE_CONTENT, 0xe0, 0x80); in rtl8411_cd_deglitch()
333 * SD_DAT[3:0] ==> pull up
340 RTSX_REG_PAIR(CARD_PULL_CTL1, 0xAA),
341 RTSX_REG_PAIR(CARD_PULL_CTL2, 0xAA),
342 RTSX_REG_PAIR(CARD_PULL_CTL3, 0xA9),
343 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x09),
344 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x09),
345 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04),
346 0,
350 * SD_DAT[3:0] ==> pull down
357 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x65),
358 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
359 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x95),
360 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x09),
361 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05),
362 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04),
363 0,
371 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x65),
372 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
373 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x95),
374 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x05),
375 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05),
376 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04),
377 0,
385 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x65),
386 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
387 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x95),
388 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x09),
389 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05),
390 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04),
391 0,
395 RTSX_REG_PAIR(CARD_PULL_CTL1, 0xAA),
396 RTSX_REG_PAIR(CARD_PULL_CTL2, 0xAA),
397 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x09 | 0xD0),
398 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x09 | 0x50),
399 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05 | 0x50),
400 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
401 0,
405 RTSX_REG_PAIR(CARD_PULL_CTL2, 0xAA),
406 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x69 | 0x90),
407 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x08 | 0x11),
408 0,
412 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x65),
413 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
414 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x05 | 0xD0),
415 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x09 | 0x50),
416 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05 | 0x50),
417 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
418 0,
422 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
423 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x65 | 0x90),
424 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
425 0,
429 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x65),
430 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
431 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x05 | 0xD0),
432 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x05 | 0x50),
433 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05 | 0x50),
434 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
435 0,
439 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
440 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x65 | 0x90),
441 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
442 0,
446 RTSX_REG_PAIR(CARD_PULL_CTL1, 0x65),
447 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
448 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x05 | 0xD0),
449 RTSX_REG_PAIR(CARD_PULL_CTL4, 0x09 | 0x50),
450 RTSX_REG_PAIR(CARD_PULL_CTL5, 0x05 | 0x50),
451 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
452 0,
456 RTSX_REG_PAIR(CARD_PULL_CTL2, 0x55),
457 RTSX_REG_PAIR(CARD_PULL_CTL3, 0x65 | 0x90),
458 RTSX_REG_PAIR(CARD_PULL_CTL6, 0x04 | 0x11),
459 0,
466 pcr->flags = 0; in rtl8411_init_common_params()