Searched refs:hwrate (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.c | 237 const struct rt2x00_rate *hwrate) in rt2x00queue_create_tx_descriptor_plcp() argument 263 txdesc->u.plcp.signal = hwrate->plcp; in rt2x00queue_create_tx_descriptor_plcp() 266 if (hwrate->flags & DEV_RATE_OFDM) { in rt2x00queue_create_tx_descriptor_plcp() 273 residual = GET_DURATION_RES(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp() 274 duration = GET_DURATION(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp() 282 if (hwrate->bitrate == 110 && residual <= 30) in rt2x00queue_create_tx_descriptor_plcp() 302 const struct rt2x00_rate *hwrate) in rt2x00queue_create_tx_descriptor_ht() argument 331 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); in rt2x00queue_create_tx_descriptor_ht() 400 const struct rt2x00_rate *hwrate = NULL; in rt2x00queue_create_tx_descriptor() local 473 hwrate = rt2x00_get_rate(rate->hw_value); in rt2x00queue_create_tx_descriptor() [all …]
|
/Linux-v4.19/drivers/clk/st/ |
D | clkgen-pll.c | 380 long hwrate = 0; in set_rate_stm_pll3200c32() local 387 clk_pll3200c32_get_rate(parent_rate, ¶ms, &hwrate); in set_rate_stm_pll3200c32() 391 hwrate, (unsigned int)params.ndiv, in set_rate_stm_pll3200c32() 394 if (!hwrate) in set_rate_stm_pll3200c32() 534 long hwrate; in set_rate_stm_pll4600c28() local 541 clk_pll4600c28_get_rate(parent_rate, ¶ms, &hwrate); in set_rate_stm_pll4600c28() 550 hwrate, (unsigned int)params.ndiv, in set_rate_stm_pll4600c28() 553 if (!hwrate) in set_rate_stm_pll4600c28()
|
D | clkgen-fsyn.c | 344 long hwrate = 0; in quadfs_pll_fs660c32_set_rate() local 355 clk_fs660c32_vco_get_rate(parent_rate, ¶ms, &hwrate); in quadfs_pll_fs660c32_set_rate() 359 hwrate, (unsigned int)params.ndiv); in quadfs_pll_fs660c32_set_rate() 361 if (!hwrate) in quadfs_pll_fs660c32_set_rate() 797 long hwrate; in quadfs_set_rate() local 805 hwrate = quadfs_find_best_rate(hw, rate, parent_rate, ¶ms); in quadfs_set_rate() 806 if (!hwrate) in quadfs_set_rate()
|
/Linux-v4.19/sound/soc/sunxi/ |
D | sun4i-codec.c | 471 unsigned int hwrate) in sun4i_codec_hw_params_capture() argument 476 hwrate << SUN4I_CODEC_ADC_FIFOC_ADC_FS); in sun4i_codec_hw_params_capture() 517 unsigned int hwrate) in sun4i_codec_hw_params_playback() argument 524 hwrate << SUN4I_CODEC_DAC_FIFOC_DAC_FS); in sun4i_codec_hw_params_playback() 571 int ret, hwrate; in sun4i_codec_hw_params() local 581 hwrate = sun4i_codec_get_hw_rate(params); in sun4i_codec_hw_params() 582 if (hwrate < 0) in sun4i_codec_hw_params() 583 return hwrate; in sun4i_codec_hw_params() 587 hwrate); in sun4i_codec_hw_params() 590 hwrate); in sun4i_codec_hw_params()
|
/Linux-v4.19/drivers/mfd/ |
D | db8500-prcmu.c | 1882 u64 hwrate; in set_plldsi_rate() local 1890 hwrate = (d * src_rate); in set_plldsi_rate() 1891 if (((2 * hwrate) < (r * MIN_PLL_VCO_RATE)) || in set_plldsi_rate() 1892 ((r * MAX_PLL_VCO_RATE) < (2 * hwrate))) in set_plldsi_rate() 1894 (void)do_div(hwrate, r); in set_plldsi_rate() 1895 if (rate < hwrate) { in set_plldsi_rate() 1901 if ((rate - hwrate) < rem) { in set_plldsi_rate() 1902 rem = (rate - hwrate); in set_plldsi_rate()
|