Home
last modified time | relevance | path

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

12

/drivers/hwmon/
Dads1015.c67 unsigned int data_rate = data->channel_data[channel].data_rate; in ads1015_read_adc() local
78 conversion_time_ms = DIV_ROUND_UP(1000, data_rate_table[data_rate]); in ads1015_read_adc()
85 config |= (data_rate & 0x0007) << 5; in ads1015_read_adc()
178 unsigned int data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config_of() local
207 data_rate = be32_to_cpup(property); in ads1015_get_channels_config_of()
208 if (data_rate > 7) { in ads1015_get_channels_config_of()
217 data->channel_data[channel].data_rate = data_rate; in ads1015_get_channels_config_of()
246 data->channel_data[k].data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config()
/drivers/media/dvb/frontends/
Dsi21xx.c354 u32 sym_rate, data_rate; in si21xx_set_symbolrate() local
363 data_rate = srate; in si21xx_set_symbolrate()
368 sym_rate = sym_rate + ((data_rate % 100) * 0x800000) / in si21xx_set_symbolrate()
370 data_rate /= 100; in si21xx_set_symbolrate()
731 int data_rate; in si21xx_set_frontend() local
752 data_rate = c->symbol_rate / 100; in si21xx_set_frontend()
757 + (data_rate * 135)) / 200; in si21xx_set_frontend()
760 + (data_rate * 135)) / 200; in si21xx_set_frontend()
/drivers/net/wireless/mwifiex/
Djoin.c172 priv->data_rate); in mwifiex_get_common_rates()
176 if ((*ptr & 0x7f) == priv->data_rate) { in mwifiex_get_common_rates()
184 priv->data_rate); in mwifiex_get_common_rates()
841 memset(adhoc_start->data_rate, 0, sizeof(adhoc_start->data_rate)); in mwifiex_cmd_802_11_ad_hoc_start()
842 mwifiex_get_active_data_rates(priv, adhoc_start->data_rate); in mwifiex_cmd_802_11_ad_hoc_start()
854 for (i = 0; i < sizeof(adhoc_start->data_rate); i++) in mwifiex_cmd_802_11_ad_hoc_start()
855 if (!adhoc_start->data_rate[i]) in mwifiex_cmd_802_11_ad_hoc_start()
862 &adhoc_start->data_rate, priv->curr_bss_params.num_of_rates); in mwifiex_cmd_802_11_ad_hoc_start()
865 adhoc_start->data_rate[0], adhoc_start->data_rate[1], in mwifiex_cmd_802_11_ad_hoc_start()
866 adhoc_start->data_rate[2], adhoc_start->data_rate[3]); in mwifiex_cmd_802_11_ad_hoc_start()
Dsta_event.c83 priv->data_rate = 0; in mwifiex_reset_connect_state()
Dsta_cmdresp.c324 priv->data_rate = 0; in mwifiex_ret_tx_rate_cfg()
502 priv->data_rate = in mwifiex_ret_802_11_tx_rate_query()
Dinit.c76 priv->data_rate = 0; /* Initially indicate the rate as auto */ in mwifiex_init_priv()
Dfw.h670 u8 data_rate[HOSTCMD_SUPPORTED_RATES]; member
Dmain.h378 u32 data_rate; member
Dsta_cmd.c1167 priv->data_rate = 0; in mwifiex_sta_init_cmd()
Dsta_ioctl.c786 rate->rate = priv->data_rate; in mwifiex_drv_get_data_rate()
/drivers/staging/rtl8192e/
Drtllib_tx.c364 if (tcb_desc->data_rate == 2) in rtllib_qurey_ShortPreambleMode()
406 if ((tcb_desc->data_rate & 0x80) == 0) in rtllib_query_BandwidthMode()
890 tcb_desc->data_rate = in rtllib_xmit_inter()
894 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
908 tcb_desc->data_rate = ieee->basic_rate; in rtllib_xmit_inter()
910 tcb_desc->data_rate = CURRENT_RATE(ieee->mode, in rtllib_xmit_inter()
916 tcb_desc->data_rate = in rtllib_xmit_inter()
920 tcb_desc->data_rate = MGN_1M; in rtllib_xmit_inter()
Drtllib_softmac.c237 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_mgmt_xmit()
311 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_ps_mgmt_xmit()
/drivers/input/misc/
Dadxl34x.c225 .data_rate = 8,
536 return sprintf(buf, "%u\n", RATE(ac->pdata.data_rate)); in adxl34x_rate_show()
553 ac->pdata.data_rate = RATE(val); in adxl34x_rate_store()
555 ac->pdata.data_rate | in adxl34x_rate_store()
848 AC_WRITE(ac, BW_RATE, RATE(ac->pdata.data_rate) | in adxl34x_probe()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c383 if (tcb_desc->data_rate == 2) in ieee80211_qurey_ShortPreambleMode()
427 if((tcb_desc->data_rate & 0x80)==0) // If using legacy rate, it shall use 20MHz channel. in ieee80211_query_BandwidthMode()
873 tcb_desc->data_rate = ieee->basic_rate; in ieee80211_xmit()
876 tcb_desc->data_rate = CURRENT_RATE(ieee->mode, ieee->rate, ieee->HTCurrentOperaRate); in ieee80211_xmit()
Dieee80211.h146 u8 data_rate; member
/drivers/tty/
Dsynclink_gt.c368 .data_rate = 9600,
478 static void set_rate(struct slgt_info *info, u32 data_rate);
922 if (info->params.data_rate) { in wait_until_sent()
1159 tmp_params.data_rate = (compat_ulong_t)info->params.data_rate; in get_params32()
1189 info->params.data_rate = tmp_params.data_rate; in set_params32()
2587 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2589 if (info->params.data_rate) { in change_params()
2591 info->params.data_rate; in change_params()
4245 if ((rd_reg32(info, JCR) & BIT8) && info->params.data_rate && in async_mode()
4246 ((info->base_clock < (info->params.data_rate * 16)) || in async_mode()
[all …]
Dsynclink.c1965 if (info->params.data_rate <= 460800) in mgsl_change_params()
1966 info->params.data_rate = tty_get_baud_rate(info->port.tty); in mgsl_change_params()
1968 if ( info->params.data_rate ) { in mgsl_change_params()
1970 info->params.data_rate; in mgsl_change_params()
3157 if ( info->params.data_rate ) { in mgsl_wait_until_sent()
5272 static void usc_enable_aux_clock( struct mgsl_struct *info, u32 data_rate ) in usc_enable_aux_clock() argument
5277 if ( data_rate ) { in usc_enable_aux_clock()
5291 Tc = (u16)(XtalSpeed/data_rate); in usc_enable_aux_clock()
5292 if ( !(((XtalSpeed % data_rate) * 2) / data_rate) ) in usc_enable_aux_clock()
6011 usc_enable_async_clock( info, info->params.data_rate ); in usc_set_async_mode()
[all …]
Dsynclinkmp.c592 static void set_rate(SLMP_INFO *info, u32 data_rate);
1081 if ( info->params.data_rate ) { in wait_until_sent()
2819 if (info->params.data_rate <= 460800) { in change_params()
2820 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2823 if ( info->params.data_rate ) { in change_params()
2825 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/vt6655/
Ddevice.h384 int data_rate; member
Ddevice_main.c416 pOpts->data_rate=DATA_RATE_DEF; in device_get_options()
454 pDevice->uConnectionRate = pDevice->sOpts.data_rate; in device_set_options()
/drivers/char/pcmcia/
Dsynclink_cs.c1454 if (info->params.data_rate <= 460800) { in mgslpc_change_params()
1455 info->params.data_rate = tty_get_baud_rate(tty); in mgslpc_change_params()
1458 if ( info->params.data_rate ) { in mgslpc_change_params()
1460 info->params.data_rate; in mgslpc_change_params()
2394 if ( info->params.data_rate ) { in mgslpc_wait_until_sent()
3482 mgslpc_set_rate(info, CHA, info->params.data_rate * 16); in async_mode()
/drivers/staging/vt6656/
Ddevice.h409 int data_rate; member
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1179 pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0; in rtl8192_tx_fill_desc()
1180 pTxFwInfo->TxRate = MRateToHwRate8190Pci((u8)cb_desc->data_rate); in rtl8192_tx_fill_desc()
/drivers/staging/rtl8192u/
Dr8192U_core.c1330 tx_fwinfo->TxHT = (tcb_desc->data_rate&0x80)?1:0; in DrvAggr_Aggregation()
1331 tx_fwinfo->TxRate = MRateToHwRate8190Pci(tcb_desc->data_rate); in DrvAggr_Aggregation()
2019 tx_fwinfo->TxHT = (tcb_desc->data_rate&0x80)?1:0; in rtl8192_tx()
2020 tx_fwinfo->TxRate = MRateToHwRate8190Pci(tcb_desc->data_rate); in rtl8192_tx()
/drivers/net/tokenring/
Dibmtr.c566 ti->data_rate = readb(ti->mmio + AIPDATARATE); in ibmtr_probe1()

12