Searched refs:converted_rate (Results 1 – 3 of 3) sorted by relevance
1575 io->converted_rate = 0; in rsnd_hw_params()1590 io->converted_rate = params_rate(be_params); in rsnd_hw_params()1594 if (io->converted_rate) { in rsnd_hw_params()1608 dev_dbg(dev, "convert rate = %d\n", io->converted_rate); in rsnd_hw_params()1640 if (params_rate(hw_params) > io->converted_rate * k_down) { in rsnd_hw_params()1642 io->converted_rate * k_down; in rsnd_hw_params()1644 io->converted_rate * k_down; in rsnd_hw_params()1646 } else if (params_rate(hw_params) * k_up < io->converted_rate) { in rsnd_hw_params()1648 DIV_ROUND_UP(io->converted_rate, k_up); in rsnd_hw_params()1650 DIV_ROUND_UP(io->converted_rate, k_up); in rsnd_hw_params()
500 u32 converted_rate; /* converted sampling rate */ member526 #define rsnd_io_converted_rate(io) ((io)->converted_rate)
936 u64 converted_rate; in otx2_convert_rate() local939 converted_rate = rate * 8; in otx2_convert_rate()940 converted_rate = max_t(u64, converted_rate / 1000000, 1); in otx2_convert_rate()942 return converted_rate; in otx2_convert_rate()