Searched refs:ns_per_clk (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-st.c276 u32 val, ns_per_clk; st_i2c_hw_config() local
290 ns_per_clk = 1000000000 / rate; st_i2c_hw_config()
303 val = t->rep_start_hold / ns_per_clk; st_i2c_hw_config()
307 val = t->rep_start_setup / ns_per_clk; st_i2c_hw_config()
311 val = t->start_hold / ns_per_clk; st_i2c_hw_config()
315 val = t->data_setup_time / ns_per_clk; st_i2c_hw_config()
319 val = t->stop_setup_time / ns_per_clk; st_i2c_hw_config()
323 val = t->bus_free_time / ns_per_clk; st_i2c_hw_config()
/linux-4.4.14/drivers/mmc/host/
H A Dmvsdio.c50 unsigned int ns_per_clk; member in struct:mvsd_host
94 tmout = DIV_ROUND_UP(data->timeout_ns, host->ns_per_clk); mvsd_setup_data()
623 host->ns_per_clk = 1000000000 / (host->base_clock / (m+1)); mvsd_set_ios()

Completed in 126 milliseconds