Searched refs:mcs (Results 1 – 4 of 4) sorted by relevance
268 unsigned int mcs; in adau1977_lookup_mcs() local281 mcs = adau1977->sysclk / rate; in adau1977_lookup_mcs()284 if (mcs < 1 || mcs > 6 || mcs == 5) in adau1977_lookup_mcs()287 mcs = mcs - 1; in adau1977_lookup_mcs()288 if (mcs == 5) in adau1977_lookup_mcs()289 mcs = 4; in adau1977_lookup_mcs()291 return mcs; in adau1977_lookup_mcs()303 int mcs, fs; in adau1977_hw_params() local311 mcs = adau1977_lookup_mcs(adau1977, rate, fs); in adau1977_hw_params()312 if (mcs < 0) in adau1977_hw_params()[all …]
343 int mcs; in ssm2518_hw_params() local346 mcs = ssm2518_lookup_mcs(ssm2518, rate); in ssm2518_hw_params()347 if (mcs < 0) in ssm2518_hw_params()348 return mcs; in ssm2518_hw_params()389 SSM2518_POWER1_MCS_MASK, mcs << 1); in ssm2518_hw_params()
656 int i, mcs = -EINVAL, ir = -EINVAL; in sta32x_hw_params() local685 mcs = i; in sta32x_hw_params()690 if (mcs < 0) { in sta32x_hw_params()696 (mcs << STA32X_CONFA_MCS_SHIFT); in sta32x_hw_params()
687 int i, mcs = -EINVAL, ir = -EINVAL; in sta350_hw_params() local716 mcs = i; in sta350_hw_params()721 if (mcs < 0) { in sta350_hw_params()727 (mcs << STA350_CONFA_MCS_SHIFT); in sta350_hw_params()