Lines Matching refs:bus_hz
972 div = host->bus_hz / clock; in dw_mci_setup_bus()
973 if (host->bus_hz % clock && host->bus_hz > clock) in dw_mci_setup_bus()
980 div = (host->bus_hz != clock) ? DIV_ROUND_UP(div, 2) : 0; in dw_mci_setup_bus()
985 slot->id, host->bus_hz, clock, in dw_mci_setup_bus()
986 div ? ((host->bus_hz / div) >> 1) : in dw_mci_setup_bus()
987 host->bus_hz, div); in dw_mci_setup_bus()
2693 pdata->bus_hz = clock_frequency; in dw_mci_parse_dt()
2777 host->bus_hz = host->pdata->bus_hz; in dw_mci_probe()
2785 if (host->pdata->bus_hz) { in dw_mci_probe()
2786 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe()
2790 host->pdata->bus_hz); in dw_mci_probe()
2792 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe()
2795 if (!host->bus_hz) { in dw_mci_probe()