Searched refs:scl_rate (Results 1 – 3 of 3) sorted by relevance
498 ret = sprintf(buf, "%ld\n", i3cbus->scl_rate.i3c); in i3c_scl_frequency_show()513 ret = sprintf(buf, "%ld\n", i3cbus->scl_rate.i2c); in i2c_scl_frequency_show()561 if (!i3cbus->scl_rate.i3c) in i3c_bus_set_mode()562 i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE; in i3c_bus_set_mode()566 if (!i3cbus->scl_rate.i3c) in i3c_bus_set_mode()567 i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE; in i3c_bus_set_mode()568 if (!i3cbus->scl_rate.i2c) in i3c_bus_set_mode()569 i3cbus->scl_rate.i2c = max_i2c_scl_rate; in i3c_bus_set_mode()572 if (!i3cbus->scl_rate.i2c) in i3c_bus_set_mode()573 i3cbus->scl_rate.i2c = max_i2c_scl_rate; in i3c_bus_set_mode()[all …]
1106 pres_step = 1000000000UL / (bus->scl_rate.i3c * 4); in cdns_i3c_master_upd_i3c_scl_lim()1236 pres = DIV_ROUND_UP(sysclk_rate, (bus->scl_rate.i3c * 4)) - 1; in cdns_i3c_master_bus_init()1240 bus->scl_rate.i3c = sysclk_rate / ((pres + 1) * 4); in cdns_i3c_master_bus_init()1247 max_i2cfreq = bus->scl_rate.i2c; in cdns_i3c_master_bus_init()1253 bus->scl_rate.i2c = sysclk_rate / ((pres + 1) * 5); in cdns_i3c_master_bus_init()1259 pres_step = 1000000000 / (bus->scl_rate.i3c * 4); in cdns_i3c_master_bus_init()
340 } scl_rate; member