Lines Matching refs:mclk_freq
1231 u32 mclk_freq = slave->bus->prop.mclk_freq; in sdw_slave_set_frequency() local
1246 if (!mclk_freq) { in sdw_slave_set_frequency()
1261 if (!(19200000 % mclk_freq)) { in sdw_slave_set_frequency()
1262 mclk_freq = 19200000; in sdw_slave_set_frequency()
1264 } else if (!(24000000 % mclk_freq)) { in sdw_slave_set_frequency()
1265 mclk_freq = 24000000; in sdw_slave_set_frequency()
1267 } else if (!(24576000 % mclk_freq)) { in sdw_slave_set_frequency()
1268 mclk_freq = 24576000; in sdw_slave_set_frequency()
1270 } else if (!(22579200 % mclk_freq)) { in sdw_slave_set_frequency()
1271 mclk_freq = 22579200; in sdw_slave_set_frequency()
1273 } else if (!(32000000 % mclk_freq)) { in sdw_slave_set_frequency()
1274 mclk_freq = 32000000; in sdw_slave_set_frequency()
1279 mclk_freq); in sdw_slave_set_frequency()
1283 if (mclk_freq % curr_freq) { in sdw_slave_set_frequency()
1286 mclk_freq, curr_freq); in sdw_slave_set_frequency()
1290 scale = mclk_freq / curr_freq; in sdw_slave_set_frequency()
1301 scale, mclk_freq, curr_freq); in sdw_slave_set_frequency()
1327 base, scale_index, mclk_freq, curr_freq); in sdw_slave_set_frequency()