Home
last modified time | relevance | path

Searched refs:smpl_dly (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mmc/host/
H A Ddw_mmc-k3.c69 u32 smpl_dly; member
220 u32 smpl_dly; in dw_mci_hs_set_timing() local
231 smpl_dly = hs_timing_cfg[ctrl_id][timing].smpl_dly; in dw_mci_hs_set_timing()
253 FIELD_PREP(UHS_REG_EXT_SAMPLE_DLY_MASK, smpl_dly) | in dw_mci_hs_set_timing()
H A Dsunplus-mmc.c806 u8 smpl_dly = 0, candidate_dly = 0; in spmmc_execute_tuning() local
813 value |= FIELD_PREP(SPMMC_SD_READ_RESPONSE_DELAY, smpl_dly); in spmmc_execute_tuning()
815 value |= FIELD_PREP(SPMMC_SD_READ_DATA_DELAY, smpl_dly); in spmmc_execute_tuning()
817 value |= FIELD_PREP(SPMMC_SD_READ_CRC_DELAY, smpl_dly); in spmmc_execute_tuning()
821 candidate_dly |= (1 << smpl_dly); in spmmc_execute_tuning()
824 } while (smpl_dly++ <= SPMMC_MAX_TUNABLE_DLY); in spmmc_execute_tuning()
828 smpl_dly = spmmc_find_best_delay(candidate_dly); in spmmc_execute_tuning()
831 value |= FIELD_PREP(SPMMC_SD_READ_RESPONSE_DELAY, smpl_dly); in spmmc_execute_tuning()
833 value |= FIELD_PREP(SPMMC_SD_READ_DATA_DELAY, smpl_dly); in spmmc_execute_tuning()
835 value |= FIELD_PREP(SPMMC_SD_READ_CRC_DELAY, smpl_dly); in spmmc_execute_tuning()