Home
last modified time | relevance | path

Searched refs:data_rate (Results 1 – 25 of 28) sorted by relevance

12

/drivers/hwmon/
Dads1015.c78 unsigned int data_rate = data->channel_data[channel].data_rate; in ads1015_read_adc() local
91 conversion_time_ms = DIV_ROUND_UP(1000, rate_table[data_rate]); in ads1015_read_adc()
98 config |= (data_rate & 0x0007) << 5; in ads1015_read_adc()
190 unsigned int data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config_of() local
216 data_rate = pval; in ads1015_get_channels_config_of()
217 if (data_rate > 7) { in ads1015_get_channels_config_of()
227 data->channel_data[channel].data_rate = data_rate; in ads1015_get_channels_config_of()
256 data->channel_data[k].data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config()
/drivers/media/dvb-frontends/
Dsi21xx.c357 u32 sym_rate, data_rate; in si21xx_set_symbolrate() local
366 data_rate = srate; in si21xx_set_symbolrate()
371 sym_rate = sym_rate + ((data_rate % 100) * 0x800000) / in si21xx_set_symbolrate()
373 data_rate /= 100; in si21xx_set_symbolrate()
734 int data_rate; in si21xx_set_frontend() local
755 data_rate = c->symbol_rate / 100; in si21xx_set_frontend()
760 + (data_rate * 135)) / 200; in si21xx_set_frontend()
763 + (data_rate * 135)) / 200; in si21xx_set_frontend()
/drivers/staging/rtl8192e/
Drtllib_tx.c362 if (tcb_desc->data_rate == 2) in rtllib_qurey_ShortPreambleMode()
403 if ((tcb_desc->data_rate & 0x80) == 0) in rtllib_query_BandwidthMode()
910 tcb_desc->data_rate = in rtllib_xmit_inter()
914 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
928 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
930 tcb_desc->data_rate = rtllib_current_rate(ieee); in rtllib_xmit_inter()
935 tcb_desc->data_rate = in rtllib_xmit_inter()
939 tcb_desc->data_rate = MGN_1M; in rtllib_xmit_inter()
Drtllib.h170 u8 data_rate; member
Drtllib_softmac.c225 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_mgmt_xmit()
302 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_ps_mgmt_xmit()
/drivers/gpu/drm/radeon/
Drv740_dpm.c99 u16 data_rate; in rv740_get_dll_speed() local
106 data_rate = (u16)(memory_clock * factor / 1000); in rv740_get_dll_speed()
108 if (data_rate < dll_speed_table[0].max) { in rv740_get_dll_speed()
110 if (data_rate > dll_speed_table[i].min && in rv740_get_dll_speed()
111 data_rate <= dll_speed_table[i].max) in rv740_get_dll_speed()
/drivers/net/wireless/mwifiex/
Djoin.c173 priv->data_rate); in mwifiex_get_common_rates()
177 if ((*ptr & 0x7f) == priv->data_rate) { in mwifiex_get_common_rates()
186 priv->data_rate); in mwifiex_get_common_rates()
946 memset(adhoc_start->data_rate, 0, sizeof(adhoc_start->data_rate)); in mwifiex_cmd_802_11_ad_hoc_start()
947 mwifiex_get_active_data_rates(priv, adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
959 for (i = 0; i < sizeof(adhoc_start->data_rate); i++) in mwifiex_cmd_802_11_ad_hoc_start()
960 if (!adhoc_start->data_rate[i]) in mwifiex_cmd_802_11_ad_hoc_start()
967 &adhoc_start->data_rate, priv->curr_bss_params.num_of_rates); in mwifiex_cmd_802_11_ad_hoc_start()
970 adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
Dsta_cmdresp.c338 priv->data_rate = 0; in mwifiex_ret_tx_rate_cfg()
544 priv->data_rate = in mwifiex_ret_802_11_tx_rate_query()
Dinit.c84 priv->data_rate = 0; /* Initially indicate the rate as auto */ in mwifiex_init_priv()
Dsta_event.c93 priv->data_rate = 0; in mwifiex_reset_connect_state()
Dsta_ioctl.c632 *rate = priv->data_rate; in mwifiex_drv_get_data_rate()
Dfw.h1092 u8 data_rate[HOSTCMD_SUPPORTED_RATES]; member
Dmain.h541 u32 data_rate; member
Dsta_cmd.c2210 priv->data_rate = 0; in mwifiex_sta_init_cmd()
/drivers/input/misc/
Dadxl34x.c224 .data_rate = 8,
535 return sprintf(buf, "%u\n", RATE(ac->pdata.data_rate)); in adxl34x_rate_show()
552 ac->pdata.data_rate = RATE(val); in adxl34x_rate_store()
554 ac->pdata.data_rate | in adxl34x_rate_store()
846 AC_WRITE(ac, BW_RATE, RATE(ac->pdata.data_rate) | in adxl34x_probe()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c385 if (tcb_desc->data_rate == 2) in ieee80211_qurey_ShortPreambleMode()
430 if((tcb_desc->data_rate & 0x80)==0) // If using legacy rate, it shall use 20MHz channel. in ieee80211_query_BandwidthMode()
878 tcb_desc->data_rate = ieee->basic_rate; in ieee80211_xmit()
881 tcb_desc->data_rate = CURRENT_RATE(ieee->mode, ieee->rate, ieee->HTCurrentOperaRate); in ieee80211_xmit()
Dieee80211.h132 u8 data_rate; member
/drivers/tty/
Dsynclink_gt.c367 .data_rate = 9600,
477 static void set_rate(struct slgt_info *info, u32 data_rate);
912 if (info->params.data_rate) { in wait_until_sent()
1149 tmp_params.data_rate = (compat_ulong_t)info->params.data_rate; in get_params32()
1179 info->params.data_rate = tmp_params.data_rate; in set_params32()
2568 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2570 if (info->params.data_rate) { in change_params()
2572 info->params.data_rate; in change_params()
4242 if ((rd_reg32(info, JCR) & BIT8) && info->params.data_rate && in async_mode()
4243 ((info->base_clock < (info->params.data_rate * 16)) || in async_mode()
[all …]
Dsynclink.c1960 if (info->params.data_rate <= 460800) in mgsl_change_params()
1961 info->params.data_rate = tty_get_baud_rate(info->port.tty); in mgsl_change_params()
1963 if ( info->params.data_rate ) { in mgsl_change_params()
1965 info->params.data_rate; in mgsl_change_params()
3152 if ( info->params.data_rate ) { in mgsl_wait_until_sent()
5271 static void usc_enable_aux_clock( struct mgsl_struct *info, u32 data_rate ) in usc_enable_aux_clock() argument
5276 if ( data_rate ) { in usc_enable_aux_clock()
5290 Tc = (u16)(XtalSpeed/data_rate); in usc_enable_aux_clock()
5291 if ( !(((XtalSpeed % data_rate) * 2) / data_rate) ) in usc_enable_aux_clock()
6010 usc_enable_async_clock( info, info->params.data_rate ); in usc_set_async_mode()
[all …]
Dsynclinkmp.c591 static void set_rate(SLMP_INFO *info, u32 data_rate);
1080 if ( info->params.data_rate ) { in wait_until_sent()
2811 if (info->params.data_rate <= 460800) { in change_params()
2812 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2815 if ( info->params.data_rate ) { in change_params()
2817 info->params.data_rate; in change_params()
4070 static void set_rate( SLMP_INFO *info, u32 data_rate ) in set_rate() argument
4078 if (data_rate != 0) { in set_rate()
4079 Divisor = 14745600/data_rate; in set_rate()
4510 set_rate( info, info->params.data_rate * 16 ); in async_mode()
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c180 u8 data_rate, pwr_status, offset; in update_txdesc() local
270 data_rate = ODM_RA_GetDecisionRate_8188E(&haldata->odmpriv, pattrib->mac_id); in update_txdesc()
271 ptxdesc->txdw5 |= cpu_to_le32(data_rate & 0x3F); in update_txdesc()
/drivers/char/pcmcia/
Dsynclink_cs.c1459 if (info->params.data_rate <= 460800) { in mgslpc_change_params()
1460 info->params.data_rate = tty_get_baud_rate(tty); in mgslpc_change_params()
1463 if (info->params.data_rate) { in mgslpc_change_params()
1465 info->params.data_rate; in mgslpc_change_params()
2397 if (info->params.data_rate) { in mgslpc_wait_until_sent()
3500 mgslpc_set_rate(info, CHA, info->params.data_rate * 16); in async_mode()
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1193 pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0; in rtl92e_fill_tx_desc()
1194 pTxFwInfo->TxRate = _rtl92e_rate_mgn_to_hw((u8)cb_desc->data_rate); in rtl92e_fill_tx_desc()
/drivers/gpu/drm/i915/
Dintel_pm.c2955 unsigned int data_rate, y_data_rate; in skl_allocate_pipe_ddb() local
2962 data_rate = skl_plane_relative_data_rate(p, 0); in skl_allocate_pipe_ddb()
2970 plane_blocks += div_u64((uint64_t)alloc_size * data_rate, in skl_allocate_pipe_ddb()
/drivers/staging/rtl8192u/
Dr8192U_core.c1576 tx_fwinfo->TxHT = (tcb_desc->data_rate & 0x80) ? 1 : 0; in rtl8192_tx()
1577 tx_fwinfo->TxRate = MRateToHwRate8190Pci(tcb_desc->data_rate); in rtl8192_tx()

12