Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/hwmon/ !
Dads1015.c83 unsigned int data_rate = data->channel_data[channel].data_rate; in ads1015_read_value() local
95 conversion_time_ms = DIV_ROUND_UP(1000, data_rate_table[data_rate]); in ads1015_read_value()
102 config |= (data_rate & 0x0007) << 5; in ads1015_read_value()
192 unsigned int data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config_of() local
221 data_rate = be32_to_cpup(property); in ads1015_get_channels_config_of()
222 if (data_rate > 7) { in ads1015_get_channels_config_of()
231 data->channel_data[channel].data_rate = data_rate; in ads1015_get_channels_config_of()
260 data->channel_data[k].data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config()
/linux-2.6.39/Documentation/hwmon/ !
Dads101548 - data_rate in samples per second
60 [2] = { .enabled = true, .pga = 1, .data_rate = 0 },
61 [4] = { .enabled = true, .pga = 4, .data_rate = 5 },
/linux-2.6.39/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()
744 int data_rate; in si21xx_set_frontend() local
765 data_rate = c->symbol_rate / 100; in si21xx_set_frontend()
770 + (data_rate * 135)) / 200; in si21xx_set_frontend()
773 + (data_rate * 135)) / 200; in si21xx_set_frontend()
/linux-2.6.39/net/irda/ircomm/ !
Dircomm_tty_ioctl.c88 self->settings.data_rate = baud; in ircomm_tty_change_speed()
274 info.baud_base = self->settings.data_rate; in ircomm_tty_get_serial_info()
315 if ((new_serial.baud_base != state->settings.data_rate) || in ircomm_tty_set_serial_info()
333 if (self->settings.data_rate != new_serial.baud_base) { in ircomm_tty_set_serial_info()
334 self->settings.data_rate = new_serial.baud_base; in ircomm_tty_set_serial_info()
Dircomm_tty_attach.c313 self->settings.data_rate); in ircomm_tty_send_initial_parameters()
314 if (!self->settings.data_rate) in ircomm_tty_send_initial_parameters()
315 self->settings.data_rate = 9600; in ircomm_tty_send_initial_parameters()
Dircomm_param.c287 param->pv.i = self->settings.data_rate; in ircomm_param_data_rate()
289 self->settings.data_rate = param->pv.i; in ircomm_param_data_rate()
/linux-2.6.39/include/linux/i2c/ !
Dads1015.h29 unsigned int data_rate; member
/linux-2.6.39/include/linux/ !
Dsynclink.h164 unsigned long data_rate; /* bits per second */ member
313 compat_ulong_t data_rate; member
Dibmtr.h175 unsigned char data_rate; member
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/ !
Dieee80211_tx.c394 if (tcb_desc->data_rate == 2) in ieee80211_qurey_ShortPreambleMode()
438 if((tcb_desc->data_rate & 0x80)==0) // If using legacy rate, it shall use 20MHz channel. in ieee80211_query_BandwidthMode()
911 tcb_desc->data_rate = ieee->basic_rate; in ieee80211_rtl_xmit()
913 tcb_desc->data_rate = CURRENT_RATE(ieee->mode, ieee->rate, ieee->HTCurrentOperaRate); in ieee80211_rtl_xmit()
916 tcb_desc->data_rate = MGN_1M; in ieee80211_rtl_xmit()
/linux-2.6.39/include/net/irda/ !
Dircomm_param.h124 __u32 data_rate; /* Data rate in bps */ member
/linux-2.6.39/include/linux/input/ !
Dadxl34x.h194 u8 data_rate; member
/linux-2.6.39/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()
847 AC_WRITE(ac, BW_RATE, RATE(ac->pdata.data_rate) | in adxl34x_probe()
/linux-2.6.39/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()
/linux-2.6.39/Documentation/devicetree/bindings/hwmon/ !
Dads1015.txt25 - data_rate in samples per second
/linux-2.6.39/drivers/tty/ !
Dsynclink_gt.c369 .data_rate = 9600,
479 static void set_rate(struct slgt_info *info, u32 data_rate);
923 if (info->params.data_rate) { in wait_until_sent()
1160 tmp_params.data_rate = (compat_ulong_t)info->params.data_rate; in get_params32()
1190 info->params.data_rate = tmp_params.data_rate; in set_params32()
2588 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2590 if (info->params.data_rate) { in change_params()
2592 info->params.data_rate; in change_params()
4247 if ((rd_reg32(info, JCR) & BIT8) && info->params.data_rate && in async_mode()
4248 ((info->base_clock < (info->params.data_rate * 16)) || in async_mode()
[all …]
Dsynclink.c1968 if (info->params.data_rate <= 460800) in mgsl_change_params()
1969 info->params.data_rate = tty_get_baud_rate(info->port.tty); in mgsl_change_params()
1971 if ( info->params.data_rate ) { in mgsl_change_params()
1973 info->params.data_rate; in mgsl_change_params()
3161 if ( info->params.data_rate ) { in mgsl_wait_until_sent()
5277 static void usc_enable_aux_clock( struct mgsl_struct *info, u32 data_rate ) in usc_enable_aux_clock() argument
5282 if ( data_rate ) { in usc_enable_aux_clock()
5296 Tc = (u16)(XtalSpeed/data_rate); in usc_enable_aux_clock()
5297 if ( !(((XtalSpeed % data_rate) * 2) / data_rate) ) in usc_enable_aux_clock()
6016 usc_enable_async_clock( info, info->params.data_rate ); in usc_set_async_mode()
[all …]
Dsynclinkmp.c593 static void set_rate(SLMP_INFO *info, u32 data_rate);
1082 if ( info->params.data_rate ) { in wait_until_sent()
2820 if (info->params.data_rate <= 460800) { in change_params()
2821 info->params.data_rate = tty_get_baud_rate(info->port.tty); in change_params()
2824 if ( info->params.data_rate ) { in change_params()
2826 info->params.data_rate; in change_params()
4072 static void set_rate( SLMP_INFO *info, u32 data_rate ) in set_rate() argument
4080 if (data_rate != 0) { in set_rate()
4081 Divisor = 14745600/data_rate; in set_rate()
4512 set_rate( info, info->params.data_rate * 16 ); in async_mode()
/linux-2.6.39/sound/oss/ !
Ddev_table.h132 int data_rate; /* Bytes/second */ member
Daudio.c569 dmap->data_rate = sz; in reorganize_buffers()
650 dmap->max_byte_counter = (dmap->data_rate * 60 * 60) + in reorganize_buffers()
Ddmabuf.c49 tmout = (dmap->fragment_size * HZ) / dmap->data_rate; in dmabuf_timeout()
178 dmap->data_rate = 8000; in dma_init_buffers()
/linux-2.6.39/drivers/staging/vt6655/ !
Ddevice.h384 int data_rate; member
/linux-2.6.39/drivers/staging/vt6656/ !
Ddevice.h409 int data_rate; member
/linux-2.6.39/drivers/char/pcmcia/ !
Dsynclink_cs.c1455 if (info->params.data_rate <= 460800) { in mgslpc_change_params()
1456 info->params.data_rate = tty_get_baud_rate(tty); in mgslpc_change_params()
1459 if ( info->params.data_rate ) { in mgslpc_change_params()
1461 info->params.data_rate; in mgslpc_change_params()
2395 if ( info->params.data_rate ) { in mgslpc_wait_until_sent()
3484 mgslpc_set_rate(info, CHA, info->params.data_rate * 16); in async_mode()
/linux-2.6.39/arch/blackfin/mach-bf527/boards/ !
Dtll6527m.c234 .data_rate = 0x8,

12