Searched refs:smpcmp (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/mmc/ |
H A D | renesas-sdhi.c | 180 unsigned int smpcmp) in renesas_sdhi_select_tuning() argument 200 if (!(smpcmp & BIT(i))) { in renesas_sdhi_select_tuning() 201 smpcmp &= ~BIT(i % tap_num); in renesas_sdhi_select_tuning() 202 smpcmp &= ~BIT((i % tap_num) + tap_num); in renesas_sdhi_select_tuning() 244 if (smpcmp & BIT(i)) in renesas_sdhi_select_tuning() 287 unsigned int taps = 0, smpcmp = 0; in renesas_sdhi_execute_tuning() local 330 smpcmp |= BIT(i); in renesas_sdhi_execute_tuning() 335 ret = renesas_sdhi_select_tuning(priv, tap_num, taps, smpcmp); in renesas_sdhi_execute_tuning()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | renesas_sdhi_core.c | 635 if (!test_bit(i, priv->smpcmp)) in renesas_sdhi_select_tuning() 636 clear_bit(i + offset, priv->smpcmp); in renesas_sdhi_select_tuning() 644 bitmap = priv->smpcmp; in renesas_sdhi_select_tuning() 697 bitmap_zero(priv->smpcmp, priv->tap_num * 2); in renesas_sdhi_execute_tuning() 710 set_bit(i, priv->smpcmp); in renesas_sdhi_execute_tuning() 742 u32 smpcmp = sd_scc_read32(host, priv, SH_MOBILE_SDHI_SCC_SMPCMP) & in renesas_sdhi_manual_correction() local 744 if (!smpcmp) { in renesas_sdhi_manual_correction() 746 } else if (smpcmp == SH_MOBILE_SDHI_SCC_SMPCMP_CMD_REQUP) { in renesas_sdhi_manual_correction() 749 } else if (smpcmp == SH_MOBILE_SDHI_SCC_SMPCMP_CMD_REQDOWN) { in renesas_sdhi_manual_correction() 762 return test_bit(error_tap % priv->tap_num, priv->smpcmp); in renesas_sdhi_manual_correction()
|
H A D | renesas_sdhi.h | 90 DECLARE_BITMAP(smpcmp, BITS_PER_LONG);
|