Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-st.c273 u32 val, ns_per_clk; in st_i2c_hw_config() local
287 ns_per_clk = 1000000000 / rate; in st_i2c_hw_config()
300 val = t->rep_start_hold / ns_per_clk; in st_i2c_hw_config()
304 val = t->rep_start_setup / ns_per_clk; in st_i2c_hw_config()
308 val = t->start_hold / ns_per_clk; in st_i2c_hw_config()
312 val = t->data_setup_time / ns_per_clk; in st_i2c_hw_config()
316 val = t->stop_setup_time / ns_per_clk; in st_i2c_hw_config()
320 val = t->bus_free_time / ns_per_clk; in st_i2c_hw_config()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmvsdio.c44 unsigned int ns_per_clk; member
88 tmout = DIV_ROUND_UP(data->timeout_ns, host->ns_per_clk); in mvsd_setup_data()
618 host->ns_per_clk = 1000000000 / (host->base_clock / (m+1)); in mvsd_set_ios()