Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i3c/master/
H A Di3c-master-cdns.c1065 unsigned long i3c_lim_period, pres_step, ncycles; in cdns_i3c_master_upd_i3c_scl_lim() local
1106 pres_step = 1000000000UL / (bus->scl_rate.i3c * 4); in cdns_i3c_master_upd_i3c_scl_lim()
1114 ncycles = DIV_ROUND_UP(i3c_lim_period, pres_step); in cdns_i3c_master_upd_i3c_scl_lim()
1209 unsigned long pres_step, sysclk_rate, max_i2cfreq; in cdns_i3c_master_bus_init() local
1259 pres_step = 1000000000 / (bus->scl_rate.i3c * 4); in cdns_i3c_master_bus_init()
1260 ncycles = DIV_ROUND_UP(I3C_BUS_TLOW_OD_MIN_NS, pres_step) - 2; in cdns_i3c_master_bus_init()