/drivers/comedi/drivers/ |
D | das16m1.c | 380 u16 num_samples; in das16m1_handler() local 391 num_samples = 0; in das16m1_handler() 403 num_samples = -hw_counter - devpriv->adc_count; in das16m1_handler() 407 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler() 408 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler() 411 if (num_samples > DAS16M1_AI_FIFO_SZ) in das16m1_handler() 412 num_samples = DAS16M1_AI_FIFO_SZ; in das16m1_handler() 413 insw(dev->iobase, devpriv->ai_buffer, num_samples); in das16m1_handler() 414 comedi_buf_write_samples(s, devpriv->ai_buffer, num_samples); in das16m1_handler() 415 devpriv->adc_count += num_samples; in das16m1_handler()
|
D | cb_pcidas64.c | 1391 static int set_ai_fifo_size(struct comedi_device *dev, unsigned int num_samples) in set_ai_fifo_size() argument 1398 num_fifo_entries = num_samples / fifo->sample_packing_ratio; in set_ai_fifo_size() 2255 unsigned int num_samples; in dma_transfer_size() local 2257 num_samples = devpriv->ai_fifo_segment_length * in dma_transfer_size() 2259 if (num_samples > DMA_BUFFER_SIZE / sizeof(u16)) in dma_transfer_size() 2260 num_samples = DMA_BUFFER_SIZE / sizeof(u16); in dma_transfer_size() 2262 return num_samples; in dma_transfer_size() 2680 int num_samples; in pio_drain_ai_fifo_16() local 2705 num_samples = in pio_drain_ai_fifo_16() 2708 num_samples = write_index - read_index; in pio_drain_ai_fifo_16() [all …]
|
D | cb_pcidas.c | 1148 unsigned int num_samples; in cb_pcidas_ai_interrupt() local 1153 num_samples = comedi_nsamples_left(s, board->fifo_size / 2); in cb_pcidas_ai_interrupt() 1155 devpriv->ai_buffer, num_samples); in cb_pcidas_ai_interrupt() 1156 comedi_buf_write_samples(s, devpriv->ai_buffer, num_samples); in cb_pcidas_ai_interrupt()
|
D | adl_pci9111.c | 399 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9111_ai_munge() local 402 for (i = 0; i < num_samples; i++) in pci9111_ai_munge()
|
D | das16.c | 797 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das16_ai_munge() local 801 for (i = 0; i < num_samples; i++) { in das16_ai_munge()
|
D | das1800.c | 329 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das1800_ai_munge() local 335 for (i = 0; i < num_samples; i++) in das1800_ai_munge()
|
D | adl_pci9118.c | 605 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9118_ai_munge() local 609 for (i = 0; i < num_samples; i++) { in pci9118_ai_munge()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmw_surface_cache.h | 172 u32 num_samples) in vmw_surface_get_serialized_size_extended() argument 179 total_size *= max_t(u32, 1, num_samples); in vmw_surface_get_serialized_size_extended() 382 u32 num_samples, in vmw_surface_setup_cache() argument 401 desc->bytesPerBlock * num_samples; in vmw_surface_setup_cache()
|
D | vmwgfx_surface.c | 1957 u32 num_samples; in vmw_surface_dirty_alloc() local 1991 num_samples = max_t(u32, 1, metadata->multisample_count); in vmw_surface_dirty_alloc() 1993 num_mip, num_layers, num_samples, in vmw_surface_dirty_alloc()
|
/drivers/media/test-drivers/vidtv/ |
D | vidtv_s302m.c | 215 au->num_samples = s; in vidtv_s302m_compute_sample_count_from_video() 357 au_sz = au->num_samples * in vidtv_s302m_write_frames() 362 for (j = 0; j < au->num_samples; ++j) { in vidtv_s302m_write_frames() 414 e->access_units->num_samples = FF_S302M_DEFAULT_NUM_FRAMES; in vidtv_s302m_encode()
|
D | vidtv_encoder.h | 23 u32 num_samples; member
|
/drivers/input/touchscreen/ |
D | mxs-lradc-ts.c | 212 unsigned int num_samples, val; in mxs_lradc_ts_read_raw_channel() local 216 num_samples = ts->over_sample_cnt; in mxs_lradc_ts_read_raw_channel() 218 num_samples = 1; in mxs_lradc_ts_read_raw_channel() 221 return val / num_samples; in mxs_lradc_ts_read_raw_channel()
|
/drivers/comedi/ |
D | drivers.c | 419 unsigned int num_samples; in comedi_bytes_per_scan_cmd() local 427 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan_cmd() 430 num_samples = cmd->scan_end_arg; in comedi_bytes_per_scan_cmd() 433 return comedi_samples_to_bytes(s, num_samples); in comedi_bytes_per_scan_cmd()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | util.c | 700 if (atomic_read(&phist_data->num_samples) > MWIFIEX_HIST_MAX_SAMPLES) in mwifiex_hist_data_add() 713 atomic_inc(&phist_data->num_samples); in mwifiex_hist_data_set() 726 atomic_set(&phist_data->num_samples, 0); in mwifiex_hist_data_reset()
|
D | decl.h | 257 atomic_t num_samples; member
|
D | debugfs.c | 277 atomic_read(&phist_data->num_samples)); in mwifiex_histogram_read()
|