Searched refs:converted_rate (Results 1 – 2 of 2) sorted by relevance
1512 io->converted_rate = 0; in rsnd_hw_params()1526 io->converted_rate = params_rate(be_params); in rsnd_hw_params()1530 if (io->converted_rate) { in rsnd_hw_params()1544 dev_dbg(dev, "convert rate = %d\n", io->converted_rate); in rsnd_hw_params()1576 if (params_rate(hw_params) > io->converted_rate * k_down) { in rsnd_hw_params()1578 io->converted_rate * k_down; in rsnd_hw_params()1580 io->converted_rate * k_down; in rsnd_hw_params()1582 } else if (params_rate(hw_params) * k_up < io->converted_rate) { in rsnd_hw_params()1584 (io->converted_rate + k_up - 1) / k_up; in rsnd_hw_params()1586 (io->converted_rate + k_up - 1) / k_up; in rsnd_hw_params()
506 u32 converted_rate; /* converted sampling rate */ member531 #define rsnd_io_converted_rate(io) ((io)->converted_rate)