Home
last modified time | relevance | path

Searched refs:hwrate (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.c230 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 Dclkgen-pll.c427 long hwrate = 0; in set_rate_stm_pll3200c32() local
434 clk_pll3200c32_get_rate(parent_rate, &params, &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, &params, &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 Dclkgen-fsyn.c400 long hwrate = 0; in quadfs_pll_fs660c32_set_rate() local
411 clk_fs660c32_vco_get_rate(parent_rate, &params, &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, &params); in quadfs_set_rate()
863 if (!hwrate) in quadfs_set_rate()
/linux/drivers/mfd/
H A Ddb8500-prcmu.c1839 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()