Home
last modified time | relevance | path

Searched refs:converted_rate (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/sound/soc/sh/rcar/
Dcore.c1575 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()
Drsnd.h500 u32 converted_rate; /* converted sampling rate */ member
526 #define rsnd_io_converted_rate(io) ((io)->converted_rate)
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.h936 u64 converted_rate; in otx2_convert_rate() local
939 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()