Lines Matching refs:extra
211 u32 extra, reg; in dwcmshc_rk3568_set_clock() local
234 extra = sdhci_readl(host, reg); in dwcmshc_rk3568_set_clock()
235 extra &= ~BIT(0); in dwcmshc_rk3568_set_clock()
236 sdhci_writel(host, extra, reg); in dwcmshc_rk3568_set_clock()
252 extra = DWCMSHC_EMMC_DLL_DLYENA | in dwcmshc_rk3568_set_clock()
255 sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_STRBIN); in dwcmshc_rk3568_set_clock()
268 extra = DWCMSHC_EMMC_DLL_DLYENA; in dwcmshc_rk3568_set_clock()
270 extra |= DLL_RXCLK_NO_INVERTER << DWCMSHC_EMMC_DLL_RXCLK_SRCSEL; in dwcmshc_rk3568_set_clock()
271 sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_RXCLK); in dwcmshc_rk3568_set_clock()
274 extra = 0x5 << DWCMSHC_EMMC_DLL_START_POINT | in dwcmshc_rk3568_set_clock()
277 sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_CTRL); in dwcmshc_rk3568_set_clock()
279 extra, DLL_LOCK_WO_TMOUT(extra), 1, in dwcmshc_rk3568_set_clock()
286 extra = 0x1 << 16 | /* tune clock stop en */ in dwcmshc_rk3568_set_clock()
289 sdhci_writel(host, extra, dwc_priv->vendor_specific_area1 + DWCMSHC_EMMC_ATCTRL); in dwcmshc_rk3568_set_clock()
298 extra = DLL_CMDOUT_SRC_CLK_NEG | in dwcmshc_rk3568_set_clock()
303 sdhci_writel(host, extra, DECMSHC_EMMC_DLL_CMDOUT); in dwcmshc_rk3568_set_clock()
306 extra = DWCMSHC_EMMC_DLL_DLYENA | in dwcmshc_rk3568_set_clock()
310 sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_TXCLK); in dwcmshc_rk3568_set_clock()
312 extra = DWCMSHC_EMMC_DLL_DLYENA | in dwcmshc_rk3568_set_clock()
315 sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_STRBIN); in dwcmshc_rk3568_set_clock()
466 u32 extra; in dwcmshc_probe() local
482 extra = DIV_ROUND_UP_ULL(dma_get_required_mask(dev), SZ_128M); in dwcmshc_probe()
483 if (extra > SDHCI_MAX_SEGS) in dwcmshc_probe()
484 extra = SDHCI_MAX_SEGS; in dwcmshc_probe()
485 host->adma_table_cnt += extra; in dwcmshc_probe()