Searched refs:hwrate (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.c | 230 const struct rt2x00_rate *hwrate) in rt2x00queue_create_tx_descriptor_plcp() argument 256 txdesc->u.plcp.signal = hwrate->plcp; in rt2x00queue_create_tx_descriptor_plcp() 259 if (hwrate->flags & DEV_RATE_OFDM) { in rt2x00queue_create_tx_descriptor_plcp() 266 residual = GET_DURATION_RES(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp() 267 duration = GET_DURATION(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp() 275 if (hwrate->bitrate == 110 && residual <= 30) in rt2x00queue_create_tx_descriptor_plcp() 295 const struct rt2x00_rate *hwrate) in rt2x00queue_create_tx_descriptor_ht() argument 324 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); in rt2x00queue_create_tx_descriptor_ht() 393 const struct rt2x00_rate *hwrate = NULL; in rt2x00queue_create_tx_descriptor() local 464 hwrate = rt2x00_get_rate(rate->hw_value); in rt2x00queue_create_tx_descriptor() [all …]
|
| /linux/drivers/clk/st/ |
| H A D | clkgen-pll.c | 427 long hwrate = 0; in set_rate_stm_pll3200c32() local 434 clk_pll3200c32_get_rate(parent_rate, ¶ms, &hwrate); in set_rate_stm_pll3200c32() 438 hwrate, (unsigned int)params.ndiv, in set_rate_stm_pll3200c32() 441 if (!hwrate) in set_rate_stm_pll3200c32() 584 long hwrate; in set_rate_stm_pll4600c28() local 591 clk_pll4600c28_get_rate(parent_rate, ¶ms, &hwrate); in set_rate_stm_pll4600c28() 600 hwrate, (unsigned int)params.ndiv, in set_rate_stm_pll4600c28() 603 if (!hwrate) in set_rate_stm_pll4600c28()
|
| H A D | clkgen-fsyn.c | 400 long hwrate = 0; in quadfs_pll_fs660c32_set_rate() local 411 clk_fs660c32_vco_get_rate(parent_rate, ¶ms, &hwrate); in quadfs_pll_fs660c32_set_rate() 415 hwrate, (unsigned int)params.ndiv); in quadfs_pll_fs660c32_set_rate() 417 if (!hwrate) in quadfs_pll_fs660c32_set_rate() 855 long hwrate; in quadfs_set_rate() local 862 hwrate = quadfs_find_best_rate(hw, rate, parent_rate, ¶ms); in quadfs_set_rate() 863 if (!hwrate) in quadfs_set_rate()
|
| /linux/sound/soc/sunxi/ |
| H A D | sun4i-codec.c | 568 unsigned int hwrate) in sun4i_codec_hw_params_capture() argument 573 hwrate << SUN4I_CODEC_ADC_FIFOC_ADC_FS); in sun4i_codec_hw_params_capture() 608 unsigned int hwrate) in sun4i_codec_hw_params_playback() argument 615 hwrate << SUN4I_CODEC_DAC_FIFOC_DAC_FS); in sun4i_codec_hw_params_playback() 658 int ret, hwrate; in sun4i_codec_hw_params() local 668 hwrate = sun4i_codec_get_hw_rate(params); in sun4i_codec_hw_params() 669 if (hwrate < 0) in sun4i_codec_hw_params() 670 return hwrate; in sun4i_codec_hw_params() 674 hwrate); in sun4i_codec_hw_params() 677 hwrate); in sun4i_codec_hw_params()
|
| /linux/drivers/mfd/ |
| H A D | db8500-prcmu.c | 1839 u64 hwrate; in set_plldsi_rate() local 1847 hwrate = (d * src_rate); in set_plldsi_rate() 1848 if (((2 * hwrate) < (r * MIN_PLL_VCO_RATE)) || in set_plldsi_rate() 1849 ((r * MAX_PLL_VCO_RATE) < (2 * hwrate))) in set_plldsi_rate() 1851 (void)do_div(hwrate, r); in set_plldsi_rate() 1852 if (rate < hwrate) { in set_plldsi_rate() 1858 if ((rate - hwrate) < rem) { in set_plldsi_rate() 1859 rem = (rate - hwrate); in set_plldsi_rate()
|