Searched refs:mcs (Results 1 – 4 of 4) sorted by relevance
267 unsigned int mcs; in adau1977_lookup_mcs() local280 mcs = adau1977->sysclk / rate; in adau1977_lookup_mcs()283 if (mcs < 1 || mcs > 6 || mcs == 5) in adau1977_lookup_mcs()286 mcs = mcs - 1; in adau1977_lookup_mcs()287 if (mcs == 5) in adau1977_lookup_mcs()288 mcs = 4; in adau1977_lookup_mcs()290 return mcs; in adau1977_lookup_mcs()302 int mcs, fs; in adau1977_hw_params() local310 mcs = adau1977_lookup_mcs(adau1977, rate, fs); in adau1977_hw_params()311 if (mcs < 0) in adau1977_hw_params()[all …]
342 int mcs; in ssm2518_hw_params() local345 mcs = ssm2518_lookup_mcs(ssm2518, rate); in ssm2518_hw_params()346 if (mcs < 0) in ssm2518_hw_params()347 return mcs; in ssm2518_hw_params()388 SSM2518_POWER1_MCS_MASK, mcs << 1); in ssm2518_hw_params()
654 int i, mcs = -EINVAL, ir = -EINVAL; in sta32x_hw_params() local683 mcs = i; in sta32x_hw_params()688 if (mcs < 0) { in sta32x_hw_params()694 (mcs << STA32X_CONFA_MCS_SHIFT); in sta32x_hw_params()
683 int i, mcs = -EINVAL, ir = -EINVAL; in sta350_hw_params() local712 mcs = i; in sta350_hw_params()717 if (mcs < 0) { in sta350_hw_params()723 (mcs << STA350_CONFA_MCS_SHIFT); in sta350_hw_params()