Searched refs:converted_rate (Results 1 – 2 of 2) sorted by relevance
1413 io->converted_rate = 0; in rsnd_hw_params()1427 io->converted_rate = params_rate(be_params); in rsnd_hw_params()1431 if (io->converted_rate) { in rsnd_hw_params()1445 dev_dbg(dev, "convert rate = %d\n", io->converted_rate); in rsnd_hw_params()1477 if (params_rate(hw_params) > io->converted_rate * k_down) { in rsnd_hw_params()1479 io->converted_rate * k_down; in rsnd_hw_params()1481 io->converted_rate * k_down; in rsnd_hw_params()1483 } else if (params_rate(hw_params) * k_up < io->converted_rate) { in rsnd_hw_params()1485 (io->converted_rate + k_up - 1) / k_up; in rsnd_hw_params()1487 (io->converted_rate + k_up - 1) / k_up; in rsnd_hw_params()
505 u32 converted_rate; /* converted sampling rate */ member530 #define rsnd_io_converted_rate(io) ((io)->converted_rate)