Searched refs:bus_hz (Results 1 – 1 of 1) sorted by relevance
69 u32 bus_hz; in temac_mdio_setup() local75 bus_hz = 0; in temac_mdio_setup()77 of_property_read_u32(np, "clock-frequency", &bus_hz); in temac_mdio_setup()79 bus_hz = pdata->mdio_clk_freq; in temac_mdio_setup()83 if (bus_hz != 0) { in temac_mdio_setup()84 clk_div = bus_hz / (2500 * 1000 * 2) - 1; in temac_mdio_setup()