Home
last modified time | relevance | path

Searched refs:sample_count (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/drivers/input/touchscreen/
Dtnetv107x-ts.c94 int sample_count; member
136 if (ts->sample_count >= TSC_SKIP) { in tsc_poll()
140 } else if (ts->sample_count > 0) { in tsc_poll()
145 for (i = 0, val = 0; i < ts->sample_count; i++) in tsc_poll()
147 x = val / ts->sample_count; in tsc_poll()
149 for (i = 0, val = 0; i < ts->sample_count; i++) in tsc_poll()
151 y = val / ts->sample_count; in tsc_poll()
153 for (i = 0, val = 0; i < ts->sample_count; i++) in tsc_poll()
155 p = val / ts->sample_count; in tsc_poll()
164 ts->sample_count = 0; in tsc_poll()
[all …]
/linux-3.4.99/drivers/media/video/cx88/
Dcx88-dsp.c239 unsigned int sample_count = spl*(AUD_RDS_LINES-1); in read_rds_samples() local
246 current_address - srch->fifo_start, sample_count, in read_rds_samples()
249 samples = kmalloc(sizeof(s16)*sample_count, GFP_KERNEL); in read_rds_samples()
253 *N = sample_count; in read_rds_samples()
255 for (i = 0; i < sample_count; i++) { in read_rds_samples()
263 for (i = 0; i < sample_count; i++) in read_rds_samples()
/linux-3.4.99/net/mac80211/
Drc80211_minstrel_debugfs.c98 mi->packet_count - mi->sample_count, in minstrel_stats_open()
99 mi->sample_count); in minstrel_stats_open()
Drc80211_minstrel.c180 mi->sample_count++; in minstrel_tx_status()
251 (mi->sample_count + mi->sample_deferred / 2); in minstrel_get_rate()
258 mi->sample_count = 0; in minstrel_get_rate()
270 mi->sample_count += (delta - mi->n_rates * 2); in minstrel_get_rate()
282 mi->sample_count++; in minstrel_get_rate()
Drc80211_minstrel_ht.c201 mi->sample_count = 0; in minstrel_ht_update_stats()
219 mi->sample_count++; in minstrel_ht_update_stats()
262 mi->sample_count *= 4; in minstrel_ht_update_stats()
413 if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) { in minstrel_ht_tx_status()
416 mi->sample_count--; in minstrel_ht_tx_status()
723 mi->sample_count = 16; in minstrel_ht_update_caps()
726 mi->sample_count = 8; in minstrel_ht_update_caps()
Drc80211_minstrel_ht.h104 u8 sample_count; member
Drc80211_minstrel.h52 unsigned int sample_count; member
/linux-3.4.99/drivers/s390/cio/
Dcmf.c492 u16 sample_count; member
677 ret = cmb->sample_count; in read_cmb()
698 ret = time_to_avg_nsec(val, cmb->sample_count); in read_cmb()
738 data->sample_count = cmb->sample_count; in readall_cmb()
800 u32 sample_count; member
934 ret = cmb->sample_count; in read_cmbe()
961 ret = time_to_avg_nsec(val, cmb->sample_count); in read_cmbe()
1001 data->sample_count = cmb->sample_count; in readall_cmbe()
1121 cmf_attr(sample_count);
/linux-3.4.99/drivers/staging/comedi/drivers/
Dni_atmio16d.c410 unsigned int sample_count, tmp, chan, gain; in atmio16d_ai_cmd() local
470 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd()
474 if (sample_count < 65536) { in atmio16d_ai_cmd()
476 outw(sample_count, dev->iobase + AM9513A_DATA_REG); in atmio16d_ai_cmd()
485 tmp = sample_count & 0xFFFF; in atmio16d_ai_cmd()
497 tmp = sample_count & 0xFFFF; in atmio16d_ai_cmd()
499 outw((sample_count >> 16) & 0xFFFF, in atmio16d_ai_cmd()
502 outw(((sample_count >> 16) & 0xFFFF) + 1, in atmio16d_ai_cmd()
/linux-3.4.99/arch/s390/include/asm/
Dcmb.h35 __u64 sample_count; member
/linux-3.4.99/sound/pci/mixart/
Dmixart_core.c488 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; in snd_mixart_interrupt() local
489 sample_count |= notify->streams[i].sample_pos_low_part; in snd_mixart_interrupt()
494 if (new_elapse_pos > sample_count) { in snd_mixart_interrupt()
506 stream->buf_period_frag = (u32)( sample_count - stream->abs_period_elapsed ); in snd_mixart_interrupt()
/linux-3.4.99/sound/pci/pcxhr/
Dpcxhr.c652 snd_pcm_uframes_t *sample_count)
662 *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24;
663 *sample_count += (snd_pcm_uframes_t)rmh.stat[1];
665 snd_printdd("PIPE_SAMPLE_COUNT = %lx\n", *sample_count);
/linux-3.4.99/sound/firewire/
Disight.c71 __be32 sample_count; member
187 count = be32_to_cpu(payload->sample_count); in isight_packet()