Lines Matching refs:host
23 struct sdhci_host *host = dev_get_priv(dev);
28 host->name = dev->name;
29 host->ioaddr = dev_read_addr_ptr(dev);
30 host->max_clk = dev_read_u32_default(dev, "clock-frequency", 0);
33 if (!ret && host->max_clk) {
34 ret = clk_set_rate(&clk, host->max_clk);
47 host->index = dev_read_u32_default(dev, "index", 0);
52 host->mmc = &plat->mmc;
53 host->mmc->priv = host;
54 host->mmc->dev = dev;
55 upriv->mmc = host->mmc;
57 ret = sdhci_setup_cfg(&plat->cfg, host, 0, NPCM_SDHC_MIN_FREQ);