Lines Matching refs:bus_hz
1095 div = host->bus_hz / clock; in dw_mci_setup_bus()
1096 if (host->bus_hz % clock && host->bus_hz > clock) in dw_mci_setup_bus()
1103 div = (host->bus_hz != clock) ? DIV_ROUND_UP(div, 2) : 0; in dw_mci_setup_bus()
1108 slot->id, host->bus_hz, clock, in dw_mci_setup_bus()
1109 div ? ((host->bus_hz / div) >> 1) : in dw_mci_setup_bus()
1110 host->bus_hz, div); in dw_mci_setup_bus()
1695 drto_ms = DIV_ROUND_UP(drto_clks, host->bus_hz / 1000); in dw_mci_set_drto()
2902 pdata->bus_hz = clock_frequency; in dw_mci_parse_dt()
2988 host->bus_hz = host->pdata->bus_hz; in dw_mci_probe()
2996 if (host->pdata->bus_hz) { in dw_mci_probe()
2997 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe()
3001 host->pdata->bus_hz); in dw_mci_probe()
3003 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe()
3006 if (!host->bus_hz) { in dw_mci_probe()