Home
last modified time | relevance | path

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

/drivers/net/wireless/rt2x00/
Drt2x00queue.c238 const struct rt2x00_rate *hwrate) in rt2x00queue_create_tx_descriptor_plcp() argument
264 txdesc->u.plcp.signal = hwrate->plcp; in rt2x00queue_create_tx_descriptor_plcp()
267 if (hwrate->flags & DEV_RATE_OFDM) { in rt2x00queue_create_tx_descriptor_plcp()
274 residual = GET_DURATION_RES(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp()
275 duration = GET_DURATION(data_length, hwrate->bitrate); in rt2x00queue_create_tx_descriptor_plcp()
283 if (hwrate->bitrate == 110 && residual <= 30) in rt2x00queue_create_tx_descriptor_plcp()
303 const struct rt2x00_rate *hwrate) in rt2x00queue_create_tx_descriptor_ht() argument
333 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); in rt2x00queue_create_tx_descriptor_ht()
401 const struct rt2x00_rate *hwrate = NULL; in rt2x00queue_create_tx_descriptor() local
474 hwrate = rt2x00_get_rate(rate->hw_value); in rt2x00queue_create_tx_descriptor()
[all …]
/drivers/clk/st/
Dclkgen-fsyn.c573 long hwrate = 0; in quadfs_pll_fs660c32_set_rate() local
580 clk_fs660c32_vco_get_rate(parent_rate, &params, &hwrate); in quadfs_pll_fs660c32_set_rate()
584 hwrate, (unsigned int)params.ndiv); in quadfs_pll_fs660c32_set_rate()
586 if (!hwrate) in quadfs_pll_fs660c32_set_rate()
993 long hwrate; in quadfs_set_rate() local
1001 hwrate = quadfs_find_best_rate(hw, rate, parent_rate, &params); in quadfs_set_rate()
1002 if (!hwrate) in quadfs_set_rate()
/drivers/mfd/
Ddb8500-prcmu.c1917 u64 hwrate; in set_plldsi_rate() local
1925 hwrate = (d * src_rate); in set_plldsi_rate()
1926 if (((2 * hwrate) < (r * MIN_PLL_VCO_RATE)) || in set_plldsi_rate()
1927 ((r * MAX_PLL_VCO_RATE) < (2 * hwrate))) in set_plldsi_rate()
1929 (void)do_div(hwrate, r); in set_plldsi_rate()
1930 if (rate < hwrate) { in set_plldsi_rate()
1936 if ((rate - hwrate) < rem) { in set_plldsi_rate()
1937 rem = (rate - hwrate); in set_plldsi_rate()