/drivers/hwmon/ |
D | ads1015.c | 67 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/ |
D | si21xx.c | 354 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/ |
D | join.c | 172 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()
|
D | sta_event.c | 83 priv->data_rate = 0; in mwifiex_reset_connect_state()
|
D | sta_cmdresp.c | 324 priv->data_rate = 0; in mwifiex_ret_tx_rate_cfg() 502 priv->data_rate = in mwifiex_ret_802_11_tx_rate_query()
|
D | init.c | 76 priv->data_rate = 0; /* Initially indicate the rate as auto */ in mwifiex_init_priv()
|
D | fw.h | 670 u8 data_rate[HOSTCMD_SUPPORTED_RATES]; member
|
D | main.h | 378 u32 data_rate; member
|
D | sta_cmd.c | 1167 priv->data_rate = 0; in mwifiex_sta_init_cmd()
|
D | sta_ioctl.c | 786 rate->rate = priv->data_rate; in mwifiex_drv_get_data_rate()
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 364 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()
|
D | rtllib_softmac.c | 237 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/ |
D | adxl34x.c | 225 .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/ |
D | ieee80211_tx.c | 383 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()
|
D | ieee80211.h | 146 u8 data_rate; member
|
/drivers/tty/ |
D | synclink_gt.c | 368 .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 …]
|
D | synclink.c | 1965 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 …]
|
D | synclinkmp.c | 592 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/ |
D | device.h | 384 int data_rate; member
|
D | device_main.c | 416 pOpts->data_rate=DATA_RATE_DEF; in device_get_options() 454 pDevice->uConnectionRate = pDevice->sOpts.data_rate; in device_set_options()
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 1454 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/ |
D | device.h | 409 int data_rate; member
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1179 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/ |
D | r8192U_core.c | 1330 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/ |
D | ibmtr.c | 566 ti->data_rate = readb(ti->mmio + AIPDATARATE); in ibmtr_probe1()
|