Home
last modified time | relevance | path

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

/drivers/net/wireless/ralink/rt2x00/
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
467 hwrate = rt2x00_get_rate(rate->hw_value); in rt2x00queue_create_tx_descriptor()
[all …]
/drivers/clk/st/
Dclkgen-pll.c424 long hwrate = 0; in set_rate_stm_pll3200c32() local
431 clk_pll3200c32_get_rate(parent_rate, &params, &hwrate); in set_rate_stm_pll3200c32()
435 hwrate, (unsigned int)params.ndiv, in set_rate_stm_pll3200c32()
438 if (!hwrate) in set_rate_stm_pll3200c32()
578 long hwrate; in set_rate_stm_pll4600c28() local
585 clk_pll4600c28_get_rate(parent_rate, &params, &hwrate); in set_rate_stm_pll4600c28()
594 hwrate, (unsigned int)params.ndiv, in set_rate_stm_pll4600c28()
597 if (!hwrate) in set_rate_stm_pll4600c28()
Dclkgen-fsyn.c401 long hwrate = 0; in quadfs_pll_fs660c32_set_rate() local
412 clk_fs660c32_vco_get_rate(parent_rate, &params, &hwrate); in quadfs_pll_fs660c32_set_rate()
416 hwrate, (unsigned int)params.ndiv); in quadfs_pll_fs660c32_set_rate()
418 if (!hwrate) in quadfs_pll_fs660c32_set_rate()
854 long hwrate; in quadfs_set_rate() local
861 hwrate = quadfs_find_best_rate(hw, rate, parent_rate, &params); in quadfs_set_rate()
862 if (!hwrate) in quadfs_set_rate()
/drivers/mfd/
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()