Lines Matching refs:dev_index
74 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_get_clk()
113 sclk = get_mmc_clk(host->dev_index); in exynos_dwmci_core_init()
116 set_mmc_clk(host->dev_index, div); in exynos_dwmci_core_init()
131 printf("DWMMC%d registration failed\n", host->dev_index); in exynos_dwmci_core_init()
146 printf("DWMMC%d not configure\n", host->dev_index); in do_dwmci_init()
163 host->dev_index = fdtdec_get_int(blob, node, "index", host->dev_id); in exynos_dwmci_get_config()
164 if (host->dev_index == host->dev_id) in exynos_dwmci_get_config()
165 host->dev_index = host->dev_id - PERIPH_ID_SDMMC0; in exynos_dwmci_get_config()
167 if (host->dev_index > 4) { in exynos_dwmci_get_config()
168 printf("DWMMC%d: Can't get the dev index\n", host->dev_index); in exynos_dwmci_get_config()
178 printf("DWMMC%d: Can't get base address\n", host->dev_index); in exynos_dwmci_get_config()
187 host->dev_index); in exynos_dwmci_get_config()
197 if (host->dev_index == 0) in exynos_dwmci_get_config()
199 else if (host->dev_index == 2) in exynos_dwmci_get_config()