Lines Matching refs:bus_hz
1170 div = host->bus_hz / clock; in dw_mci_setup_bus()
1171 if (host->bus_hz % clock && host->bus_hz > clock) in dw_mci_setup_bus()
1178 div = (host->bus_hz != clock) ? DIV_ROUND_UP(div, 2) : 0; in dw_mci_setup_bus()
1183 slot->id, host->bus_hz, clock, in dw_mci_setup_bus()
1184 div ? ((host->bus_hz / div) >> 1) : in dw_mci_setup_bus()
1185 host->bus_hz, div); in dw_mci_setup_bus()
1791 drto_ms = DIV_ROUND_UP(drto_clks, host->bus_hz / 1000); in dw_mci_set_drto()
2962 pdata->bus_hz = clock_frequency; in dw_mci_parse_dt()
3040 host->bus_hz = host->pdata->bus_hz; in dw_mci_probe()
3048 if (host->pdata->bus_hz) { in dw_mci_probe()
3049 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe()
3053 host->pdata->bus_hz); in dw_mci_probe()
3055 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe()
3058 if (!host->bus_hz) { in dw_mci_probe()