Searched refs:sdhci_pdata (Results 1 – 1 of 1) sorted by relevance
53 struct pic32_sdhci_priv *sdhci_pdata = sdhci_priv(host); in pic32_sdhci_get_max_clock() local55 return clk_get_rate(sdhci_pdata->base_clk); in pic32_sdhci_get_max_clock()141 struct pic32_sdhci_priv *sdhci_pdata; in pic32_sdhci_probe() local153 sdhci_pdata = sdhci_pltfm_priv(pltfm_host); in pic32_sdhci_probe()163 sdhci_pdata->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); in pic32_sdhci_probe()164 if (IS_ERR(sdhci_pdata->sys_clk)) { in pic32_sdhci_probe()165 ret = PTR_ERR(sdhci_pdata->sys_clk); in pic32_sdhci_probe()170 ret = clk_prepare_enable(sdhci_pdata->sys_clk); in pic32_sdhci_probe()176 sdhci_pdata->base_clk = devm_clk_get(&pdev->dev, "base_clk"); in pic32_sdhci_probe()177 if (IS_ERR(sdhci_pdata->base_clk)) { in pic32_sdhci_probe()[all …]