Searched refs:ns_per_clk (Results 1 – 1 of 1) sorted by relevance
276 u32 val, ns_per_clk; in st_i2c_hw_config() local290 ns_per_clk = 1000000000 / rate; in st_i2c_hw_config()303 val = t->rep_start_hold / ns_per_clk; in st_i2c_hw_config()307 val = t->rep_start_setup / ns_per_clk; in st_i2c_hw_config()311 val = t->start_hold / ns_per_clk; in st_i2c_hw_config()315 val = t->data_setup_time / ns_per_clk; in st_i2c_hw_config()319 val = t->stop_setup_time / ns_per_clk; in st_i2c_hw_config()323 val = t->bus_free_time / ns_per_clk; in st_i2c_hw_config()