/Linux-v6.6/tools/perf/tests/ |
D | backward-ring-buffer.c | 32 static int count_samples(struct evlist *evlist, int *sample_count, in count_samples() argument 47 (*sample_count)++; in count_samples() 63 int *sample_count, int *comm_count) in do_test() argument 79 err = count_samples(evlist, sample_count, comm_count); in do_test() 87 int ret = TEST_SKIP, err, sample_count = 0, comm_count = 0; in test__backward_ring_buffer() local 141 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer() 146 if ((sample_count != NR_ITERS) || (comm_count != NR_ITERS)) { in test__backward_ring_buffer() 148 sample_count, comm_count); in test__backward_ring_buffer() 161 err = do_test(evlist, 1, &sample_count, &comm_count); in test__backward_ring_buffer()
|
/Linux-v6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | misc.c | 200 void *__event_read_samples(void *sample_buff, size_t *size, u64 *sample_count) in __event_read_samples() argument 221 if (sample_count) in __event_read_samples() 222 *sample_count = 0; in __event_read_samples() 238 if (!sample_count) in __event_read_samples() 241 *sample_count += 1; in __event_read_samples() 256 u64 sample_count; in collect_samples() local 259 __event_read_samples(sample_buff, &size, &sample_count); in collect_samples() 260 return sample_count; in collect_samples()
|
D | misc.h | 53 void *__event_read_samples(void *sample_buff, size_t *size, u64 *sample_count);
|
/Linux-v6.6/drivers/media/pci/cx88/ |
D | cx88-dsp.c | 245 unsigned int sample_count = spl * (AUD_RDS_LINES - 1); in read_rds_samples() local 253 current_address - srch->fifo_start, sample_count, in read_rds_samples() 255 samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); in read_rds_samples() 259 *N = sample_count; in read_rds_samples() 261 for (i = 0; i < sample_count; i++) { in read_rds_samples() 267 dprintk(2, "RDS samples dump: %*ph\n", sample_count, samples); in read_rds_samples()
|
/Linux-v6.6/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-v6.6/drivers/comedi/drivers/ |
D | ni_atmio16d.c | 291 unsigned int sample_count, tmp, chan, gain; in atmio16d_ai_cmd() local 348 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd() 352 if (sample_count < 65536) { in atmio16d_ai_cmd() 354 outw(sample_count, dev->iobase + AM9513A_DATA_REG); in atmio16d_ai_cmd() 363 tmp = sample_count & 0xFFFF; in atmio16d_ai_cmd() 375 tmp = sample_count & 0xFFFF; in atmio16d_ai_cmd() 377 outw((sample_count >> 16) & 0xFFFF, in atmio16d_ai_cmd() 380 outw(((sample_count >> 16) & 0xFFFF) + 1, in atmio16d_ai_cmd()
|
/Linux-v6.6/drivers/s390/cio/ |
D | cmf.c | 424 u16 sample_count; member 621 ret = cmb->sample_count; in read_cmb() 641 ret = time_to_avg_nsec(val, cmb->sample_count); in read_cmb() 680 data->sample_count = cmb->sample_count; in readall_cmb() 747 u32 sample_count; member 875 ret = cmb->sample_count; in read_cmbe() 901 ret = time_to_avg_nsec(val, cmb->sample_count); in read_cmbe() 940 data->sample_count = cmb->sample_count; in readall_cmbe() 1026 cmf_attr(sample_count);
|
/Linux-v6.6/arch/s390/include/uapi/asm/ |
D | cmb.h | 36 __u64 sample_count; member
|
/Linux-v6.6/sound/pci/mixart/ |
D | mixart_core.c | 474 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; in snd_mixart_threaded_irq() local 475 sample_count |= notify->streams[i].sample_pos_low_part; in snd_mixart_threaded_irq() 480 if (new_elapse_pos > sample_count) { in snd_mixart_threaded_irq() 492 stream->buf_period_frag = (u32)( sample_count - stream->abs_period_elapsed ); in snd_mixart_threaded_irq()
|
/Linux-v6.6/drivers/thermal/intel/ |
D | therm_throt.c | 92 u8 sample_count; member 331 state->sample_count = 0; in throttle_active_work() 336 state->sample_count++; in throttle_active_work() 338 if (state->sample_count < ARRAY_SIZE(state->temp_samples)) in throttle_active_work()
|
/Linux-v6.6/drivers/media/test-drivers/vidtv/ |
D | vidtv_s302m.c | 280 e->last_sample_cb(e->sample_count); in vidtv_s302m_get_sample() 369 e->sample_count++; in vidtv_s302m_write_frames() 464 e->sample_count = 0; in vidtv_s302m_encoder_init()
|
D | vidtv_encoder.h | 135 u64 sample_count; member
|
/Linux-v6.6/drivers/iio/adc/ |
D | ti-tsc2046.c | 228 unsigned int bit_count, sample_count; in tsc2046_adc_time_to_count() local 231 sample_count = DIV_ROUND_UP(bit_count, TI_TSC2046_SAMPLE_BITS); in tsc2046_adc_time_to_count() 235 bit_count, sample_count); in tsc2046_adc_time_to_count() 237 return sample_count; in tsc2046_adc_time_to_count()
|
D | at91-sama5d2_adc.c | 1488 int sample_index = 0, sample_count, sample_size; in at91_adc_trigger_handler_dma() local 1498 sample_count = div_s64(transferred_len, sample_size); in at91_adc_trigger_handler_dma() 1504 interval = div_s64((ns - st->dma_st.dma_ts), sample_count); in at91_adc_trigger_handler_dma()
|
/Linux-v6.6/sound/firewire/ |
D | isight.c | 71 __be32 sample_count; member 181 count = be32_to_cpu(payload->sample_count); in isight_packet()
|
/Linux-v6.6/sound/pci/pcxhr/ |
D | pcxhr.c | 663 snd_pcm_uframes_t *sample_count) 673 *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24; 674 *sample_count += (snd_pcm_uframes_t)rmh.stat[1]; 676 dev_dbg(chip->card->dev, "PIPE_SAMPLE_COUNT = %lx\n", *sample_count);
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
D | ia_css_debug.c | 2357 static u32 sample_count; in ia_css_debug_dump_isp_binary() local 2370 sample_count++; in ia_css_debug_dump_isp_binary() 2376 sample_count); in ia_css_debug_dump_isp_binary() 2377 sample_count = 0; in ia_css_debug_dump_isp_binary()
|
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 2009 u32 sample_count = 1; in vmw_gb_surface_define() local 2071 sample_count = metadata->multisample_count; in vmw_gb_surface_define() 2079 sample_count); in vmw_gb_surface_define()
|