Searched refs:hwrate (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/sound/oss/ |
H A D | vidc.c | 193 unsigned int hwctrl, hwrate, hwrate_ext, rate_int, rate_ext; vidc_audio_set_speed() local 200 hwrate = (((VIDC_SOUND_CLOCK * 2) / rate) + 1) >> 1; vidc_audio_set_speed() 201 if (hwrate < 3) vidc_audio_set_speed() 202 hwrate = 3; vidc_audio_set_speed() 203 if (hwrate > 255) vidc_audio_set_speed() 204 hwrate = 255; vidc_audio_set_speed() 213 rate_int = VIDC_SOUND_CLOCK / hwrate; vidc_audio_set_speed() 221 hwrate=hwrate_ext; vidc_audio_set_speed() 227 /*printk("VIDC: internal %d %d %d\n", rate, rate_int, hwrate);*/ vidc_audio_set_speed() 234 vidc_writel(0xb0000000 | (hwrate - 2)); vidc_audio_set_speed() 237 newsize = (10000 / hwrate) & ~3; vidc_audio_set_speed()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
H A D | rt2x00queue.c | 238 const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_plcp() 264 txdesc->u.plcp.signal = hwrate->plcp; rt2x00queue_create_tx_descriptor_plcp() 267 if (hwrate->flags & DEV_RATE_OFDM) { rt2x00queue_create_tx_descriptor_plcp() 274 residual = GET_DURATION_RES(data_length, hwrate->bitrate); rt2x00queue_create_tx_descriptor_plcp() 275 duration = GET_DURATION(data_length, hwrate->bitrate); rt2x00queue_create_tx_descriptor_plcp() 283 if (hwrate->bitrate == 110 && residual <= 30) rt2x00queue_create_tx_descriptor_plcp() 303 const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_ht() 333 txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); rt2x00queue_create_tx_descriptor_ht() 401 const struct rt2x00_rate *hwrate = NULL; rt2x00queue_create_tx_descriptor() local 474 hwrate = rt2x00_get_rate(rate->hw_value); rt2x00queue_create_tx_descriptor() 475 if (hwrate->flags & DEV_RATE_OFDM) rt2x00queue_create_tx_descriptor() 489 sta, hwrate); rt2x00queue_create_tx_descriptor() 492 hwrate); rt2x00queue_create_tx_descriptor() 235 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_plcp() argument 299 rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta, const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_ht() argument
|
/linux-4.4.14/sound/soc/sunxi/ |
H A D | sun4i-codec.c | 287 int ret, hwrate; sun4i_codec_hw_params() local 301 hwrate = sun4i_codec_get_hw_rate(params); sun4i_codec_hw_params() 302 if (hwrate < 0) sun4i_codec_hw_params() 303 return hwrate; sun4i_codec_hw_params() 308 hwrate << SUN4I_CODEC_DAC_FIFOC_DAC_FS); sun4i_codec_hw_params()
|
/linux-4.4.14/drivers/clk/st/ |
H A D | clkgen-pll.c | 573 long hwrate = 0; set_rate_stm_pll3200c32() local 580 clk_pll3200c32_get_rate(parent_rate, ¶ms, &hwrate); set_rate_stm_pll3200c32() 584 hwrate, (unsigned int)params.ndiv, set_rate_stm_pll3200c32() 587 if (!hwrate) set_rate_stm_pll3200c32() 754 long hwrate; set_rate_stm_pll4600c28() local 761 clk_pll4600c28_get_rate(parent_rate, ¶ms, &hwrate); set_rate_stm_pll4600c28() 770 hwrate, (unsigned int)params.ndiv, set_rate_stm_pll4600c28() 773 if (!hwrate) set_rate_stm_pll4600c28()
|
H A D | clkgen-fsyn.c | 574 long hwrate = 0; quadfs_pll_fs660c32_set_rate() local 581 clk_fs660c32_vco_get_rate(parent_rate, ¶ms, &hwrate); quadfs_pll_fs660c32_set_rate() 585 hwrate, (unsigned int)params.ndiv); quadfs_pll_fs660c32_set_rate() 587 if (!hwrate) quadfs_pll_fs660c32_set_rate() 994 long hwrate; quadfs_set_rate() local 1002 hwrate = quadfs_find_best_rate(hw, rate, parent_rate, ¶ms); quadfs_set_rate() 1003 if (!hwrate) quadfs_set_rate()
|
/linux-4.4.14/drivers/mfd/ |
H A D | db8500-prcmu.c | 1908 u64 hwrate; set_plldsi_rate() local 1916 hwrate = (d * src_rate); set_plldsi_rate() 1917 if (((2 * hwrate) < (r * MIN_PLL_VCO_RATE)) || set_plldsi_rate() 1918 ((r * MAX_PLL_VCO_RATE) < (2 * hwrate))) set_plldsi_rate() 1920 (void)do_div(hwrate, r); set_plldsi_rate() 1921 if (rate < hwrate) { set_plldsi_rate() 1927 if ((rate - hwrate) < rem) { set_plldsi_rate() 1928 rem = (rate - hwrate); set_plldsi_rate()
|
Completed in 444 milliseconds