/Linux-v4.19/tools/perf/tests/ |
D | backward-ring-buffer.c | 28 static int count_samples(struct perf_evlist *evlist, int *sample_count, in count_samples() argument 43 (*sample_count)++; in count_samples() 59 int *sample_count, int *comm_count) in do_test() argument 75 err = count_samples(evlist, sample_count, comm_count); in do_test() 83 int ret = TEST_SKIP, err, sample_count = 0, comm_count = 0; in test__backward_ring_buffer() local 136 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer() 141 if ((sample_count != NR_ITERS) || (comm_count != NR_ITERS)) { in test__backward_ring_buffer() 143 sample_count, comm_count); in test__backward_ring_buffer() 147 err = do_test(evlist, 1, &sample_count, &comm_count); in test__backward_ring_buffer()
|
/Linux-v4.19/drivers/media/pci/cx88/ |
D | cx88-dsp.c | 254 unsigned int sample_count = spl * (AUD_RDS_LINES - 1); in read_rds_samples() local 262 current_address - srch->fifo_start, sample_count, in read_rds_samples() 264 samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); in read_rds_samples() 268 *N = sample_count; in read_rds_samples() 270 for (i = 0; i < sample_count; i++) { in read_rds_samples() 276 dprintk(2, "RDS samples dump: %*ph\n", sample_count, samples); in read_rds_samples()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | fsl-imx25-tcq.c | 32 unsigned int sample_count; member 121 MX25_ADCQ_CFG_NOS(priv->sample_count) | in imx25_setup_queue_cfgs() 133 MX25_ADCQ_CFG_NOS(priv->sample_count) | in imx25_setup_queue_cfgs() 159 priv->expected_samples = priv->sample_count * 2 + 2; in imx25_setup_queue_4wire() 278 x_pos /= priv->sample_count; in mx25_tcq_create_event_for_4wire() 279 y_pos /= priv->sample_count; in mx25_tcq_create_event_for_4wire() 323 samples -= samples % priv->sample_count; in mx25_tcq_irq_thread() 441 priv->sample_count = 3; in mx25_tcq_parse_dt()
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | ni_atmio16d.c | 302 unsigned int sample_count, tmp, chan, gain; in atmio16d_ai_cmd() local 359 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd() 363 if (sample_count < 65536) { in atmio16d_ai_cmd() 365 outw(sample_count, dev->iobase + AM9513A_DATA_REG); in atmio16d_ai_cmd() 374 tmp = sample_count & 0xFFFF; in atmio16d_ai_cmd() 386 tmp = sample_count & 0xFFFF; in atmio16d_ai_cmd() 388 outw((sample_count >> 16) & 0xFFFF, in atmio16d_ai_cmd() 391 outw(((sample_count >> 16) & 0xFFFF) + 1, in atmio16d_ai_cmd()
|
/Linux-v4.19/drivers/s390/cio/ |
D | cmf.c | 423 u16 sample_count; member 620 ret = cmb->sample_count; in read_cmb() 640 ret = time_to_avg_nsec(val, cmb->sample_count); in read_cmb() 679 data->sample_count = cmb->sample_count; in readall_cmb() 746 u32 sample_count; member 874 ret = cmb->sample_count; in read_cmbe() 900 ret = time_to_avg_nsec(val, cmb->sample_count); in read_cmbe() 939 data->sample_count = cmb->sample_count; in readall_cmbe() 1025 cmf_attr(sample_count);
|
/Linux-v4.19/arch/s390/include/uapi/asm/ |
D | cmb.h | 36 __u64 sample_count; member
|
/Linux-v4.19/sound/pci/mixart/ |
D | mixart_core.c | 487 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; in snd_mixart_threaded_irq() local 488 sample_count |= notify->streams[i].sample_pos_low_part; in snd_mixart_threaded_irq() 493 if (new_elapse_pos > sample_count) { in snd_mixart_threaded_irq() 505 stream->buf_period_frag = (u32)( sample_count - stream->abs_period_elapsed ); in snd_mixart_threaded_irq()
|
/Linux-v4.19/net/mac80211/ |
D | rc80211_minstrel_ht.h | 92 u8 sample_count; member
|
D | rc80211_minstrel_ht.c | 512 mi->sample_count = 0; in minstrel_ht_update_stats() 527 mi->sample_count++; in minstrel_ht_update_stats() 576 mi->sample_count *= 8; in minstrel_ht_update_stats() 710 if (!mi->sample_wait && !mi->sample_tries && mi->sample_count > 0) { in minstrel_ht_tx_status() 713 mi->sample_count--; in minstrel_ht_tx_status() 1170 mi->sample_count = 16; in minstrel_ht_update_caps() 1173 mi->sample_count = 8; in minstrel_ht_update_caps()
|
/Linux-v4.19/sound/firewire/ |
D | isight.c | 71 __be32 sample_count; member 181 count = be32_to_cpu(payload->sample_count); in isight_packet()
|
/Linux-v4.19/sound/pci/pcxhr/ |
D | pcxhr.c | 677 snd_pcm_uframes_t *sample_count) 687 *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24; 688 *sample_count += (snd_pcm_uframes_t)rmh.stat[1]; 690 dev_dbg(chip->card->dev, "PIPE_SAMPLE_COUNT = %lx\n", *sample_count);
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 1402 u32 sample_count = 1; in vmw_surface_gb_priv_define() local 1481 sample_count = srf->multisample_count; in vmw_surface_gb_priv_define() 1488 sample_count); in vmw_surface_gb_priv_define()
|
/Linux-v4.19/drivers/iio/adc/ |
D | at91-sama5d2_adc.c | 1049 int sample_index = 0, sample_count, sample_size; in at91_adc_trigger_handler_dma() local 1059 sample_count = div_s64(transferred_len, sample_size); in at91_adc_trigger_handler_dma() 1065 interval = div_s64((ns - st->dma_st.dma_ts), sample_count); in at91_adc_trigger_handler_dma()
|