Home
last modified time | relevance | path

Searched refs:host_clock (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/xilinx/
Dxilinx_axienet_mdio.c131 u32 clk_div, host_clock; in axienet_mdio_setup() local
170 if (of_property_read_u32(np1, "clock-frequency", &host_clock)) { in axienet_mdio_setup()
180 clk_div = (host_clock / (MAX_MDIO_FREQ * 2)) - 1; in axienet_mdio_setup()
185 if (host_clock % (MAX_MDIO_FREQ * 2)) in axienet_mdio_setup()
190 clk_div, host_clock); in axienet_mdio_setup()
/linux-4.4.14/arch/x86/kvm/
Dtrace.h816 TP_PROTO(bool use_master_clock, unsigned int host_clock, bool offset_matched),
817 TP_ARGS(use_master_clock, host_clock, offset_matched),
821 __field( unsigned int, host_clock )
827 __entry->host_clock = host_clock;
833 __print_symbolic(__entry->host_clock, host_clocks),
840 unsigned int host_clock),
842 host_clock),
849 __field( unsigned int, host_clock )
857 __entry->host_clock = host_clock;
864 __print_symbolic(__entry->host_clock, host_clocks))
/linux-4.4.14/drivers/mmc/host/
Dsdhci-esdhc-imx.c634 unsigned int host_clock = pltfm_host->clock; in esdhc_pltfm_set_clock() local
658 while (host_clock / pre_div / 16 > clock && pre_div < 256) in esdhc_pltfm_set_clock()
661 while (host_clock / pre_div / div > clock && div < 16) in esdhc_pltfm_set_clock()
664 host->mmc->actual_clock = host_clock / pre_div / div; in esdhc_pltfm_set_clock()