Searched refs:final_phase (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/mmc/host/
H A Dmtk-sd.c292 u8 final_phase; member in struct:msdc_delay_phase
1278 u8 final_phase = 0xff; get_best_delay() local
1283 delay_phase.final_phase = final_phase; get_best_delay()
1300 final_phase = (start_final + len_final / 3) % PAD_DELAY_MAX; get_best_delay()
1302 final_phase = (start_final + len_final / 2) % PAD_DELAY_MAX; get_best_delay()
1304 delay, len_final, final_phase); get_best_delay()
1308 delay_phase.final_phase = final_phase; get_best_delay()
1346 final_rise_delay.final_phase); msdc_tune_response()
1347 final_delay = final_rise_delay.final_phase; msdc_tune_response()
1351 final_fall_delay.final_phase); msdc_tune_response()
1352 final_delay = final_fall_delay.final_phase; msdc_tune_response()
1398 final_rise_delay.final_phase); msdc_tune_data()
1399 final_delay = final_rise_delay.final_phase; msdc_tune_data()
1405 final_fall_delay.final_phase); msdc_tune_data()
1406 final_delay = final_fall_delay.final_phase; msdc_tune_data()
H A Drtsx_pci_sdmmc.c671 u8 final_phase = 0xFF; sd_search_final_phase() local
675 return final_phase; sd_search_final_phase()
687 final_phase = (start_final + len_final / 2) % RTSX_PHASE_MAX; sd_search_final_phase()
689 phase_map, len_final, final_phase); sd_search_final_phase() local
691 return final_phase; sd_search_final_phase()
752 u8 final_phase; sd_tuning_rx() local
772 final_phase = sd_search_final_phase(host, phase_map); sd_tuning_rx()
773 if (final_phase == 0xFF) sd_tuning_rx()
776 err = sd_change_phase(host, final_phase, true); sd_tuning_rx()
H A Drtsx_usb_sdmmc.c643 u8 final_phase = 0xFF; sd_search_final_phase() local
647 return final_phase; sd_search_final_phase()
659 final_phase = (start_final + len_final / 2) & MAX_PHASE; sd_search_final_phase()
661 phase_map, len_final, final_phase); sd_search_final_phase() local
663 return final_phase; sd_search_final_phase()
723 u8 final_phase; sd_tuning_rx() local
749 final_phase = sd_search_final_phase(host, phase_map); sd_tuning_rx()
750 if (final_phase == 0xFF) sd_tuning_rx()
753 err = sd_change_phase(host, final_phase, 0); sd_tuning_rx()
/linux-4.4.14/drivers/staging/rts5208/
H A Dsd.c1804 u8 final_phase = 0xFF; sd_search_final_phase() local
1808 final_phase = (u8)chip->sd_default_rx_phase; sd_search_final_phase()
1810 final_phase = (u8)chip->sd_default_tx_phase; sd_search_final_phase()
1863 final_phase = 0; sd_search_final_phase()
1868 final_phase = (u8)path[i].mid; sd_search_final_phase()
1889 final_phase = (u8)(temp_final_phase + sd_search_final_phase()
1892 final_phase = (u8)temp_final_phase; sd_search_final_phase()
1902 final_phase = (u8)(temp_final_phase + sd_search_final_phase()
1905 final_phase = (u8)temp_final_phase; sd_search_final_phase()
1911 dev_dbg(rtsx_dev(chip), "Final chosen phase: %d\n", final_phase); sd_search_final_phase() local
1912 return final_phase; sd_search_final_phase()
1921 u8 final_phase; sd_tuning_rx() local
1961 final_phase = sd_search_final_phase(chip, phase_map, TUNE_RX); sd_tuning_rx()
1962 if (final_phase == 0xFF) { sd_tuning_rx()
1967 retval = sd_change_phase(chip, final_phase, TUNE_RX); sd_tuning_rx()
1982 u8 final_phase; sd_ddr_pre_tuning_tx() local
2023 final_phase = sd_search_final_phase(chip, phase_map, TUNE_TX); sd_ddr_pre_tuning_tx()
2024 if (final_phase == 0xFF) { sd_ddr_pre_tuning_tx()
2029 retval = sd_change_phase(chip, final_phase, TUNE_TX); sd_ddr_pre_tuning_tx()
2036 (int)final_phase); sd_ddr_pre_tuning_tx()
2047 u8 final_phase; sd_tuning_tx() local
2089 final_phase = sd_search_final_phase(chip, phase_map, TUNE_TX); sd_tuning_tx()
2090 if (final_phase == 0xFF) { sd_tuning_tx()
2095 retval = sd_change_phase(chip, final_phase, TUNE_TX); sd_tuning_tx()

Completed in 287 milliseconds