Searched refs:ns_per_clk (Results 1 – 2 of 2) sorted by relevance
273 u32 val, ns_per_clk; in st_i2c_hw_config() local287 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()
44 unsigned int ns_per_clk; member88 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()