Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/comedi/drivers/ni_pcimio.c ni_cdio_cmd() -> comedi_bytes_per_scan()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 4096-ptr_max
PARAM_VALUE 0 s->async->buf_read_alloc_count 0
PARAM_VALUE 0 s->async->buf_read_count 0
PARAM_VALUE 0 s->async->buf_read_ptr 0
PARAM_VALUE 0 s->async->buf_write_alloc_count 0
PARAM_VALUE 0 s->async->buf_write_count 0
PARAM_VALUE 0 s->async->buf_write_ptr 0
PARAM_VALUE 0 s->async->cb_mask 54-55
PARAM_VALUE 0 s->async->cmd.chanlist 1-ptr_max
PARAM_VALUE 0 s->async->cmd.chanlist_len 1-u32max
PARAM_VALUE 0 s->async->cmd.data 0
PARAM_VALUE 0 s->async->cmd.scan_begin_arg 0-2147483646,2147483648-u32max
PARAM_VALUE 0 s->async->cmd.subdev 0-4294967294
PARAM_VALUE 0 s->async->cur_chan 0
PARAM_VALUE 0 s->async->events 0
PARAM_VALUE 0 s->async->munge_chan 0
PARAM_VALUE 0 s->async->munge_count 0
PARAM_VALUE 0 s->async->munge_ptr 0
PARAM_VALUE 0 s->async->prealloc_bufsz 1-u32max
PARAM_VALUE 0 s->async->run_active.refs.counter 1
PARAM_VALUE 0 s->async->run_complete.done 0
PARAM_VALUE 0 s->async->scan_progress 0
PARAM_VALUE 0 s->async->scans_done 0
PARAM_VALUE 0 s->busy 4096-ptr_max
PARAM_VALUE 0 s->io_bits 1-u32max
PARAM_VALUE 0 s->lock 0,4096-ptr_max
PARAM_VALUE 0 s->runflags 0,4-u32max
PARAM_VALUE 0 s->spin_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 s->lock 1
DATA_SOURCE 0 s $1
FUZZY_MAX 0 s->async->cb_mask 54
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/comedi/drivers/ni_pcimio.c ni_cmd_set_mite_transfer() -> comedi_bytes_per_scan()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 4096-ptr_max
PARAM_VALUE 0 s->async->buf_read_alloc_count 0
PARAM_VALUE 0 s->async->buf_read_count 0
PARAM_VALUE 0 s->async->buf_read_ptr 0
PARAM_VALUE 0 s->async->buf_write_alloc_count 0
PARAM_VALUE 0 s->async->buf_write_count 0
PARAM_VALUE 0 s->async->buf_write_ptr 0
PARAM_VALUE 0 s->async->cb_mask 54-55
PARAM_VALUE 0 s->async->cmd.chanlist 1-ptr_max
PARAM_VALUE 0 s->async->cmd.chanlist_len 1-u32max
PARAM_VALUE 0 s->async->cmd.data 0
PARAM_VALUE 0 s->async->cmd.scan_begin_arg 0-2147483646,2147483648-u32max
PARAM_VALUE 0 s->async->cmd.subdev 0-4294967294
PARAM_VALUE 0 s->async->cur_chan 0
PARAM_VALUE 0 s->async->events 0
PARAM_VALUE 0 s->async->munge_chan 0
PARAM_VALUE 0 s->async->munge_count 0
PARAM_VALUE 0 s->async->munge_ptr 0
PARAM_VALUE 0 s->async->prealloc_bufsz 1-u32max
PARAM_VALUE 0 s->async->scan_progress 0
PARAM_VALUE 0 s->async->scans_done 0
PARAM_VALUE 0 s->busy 4096-ptr_max
PARAM_VALUE 0 s->lock 0,4096-ptr_max
PARAM_VALUE 0 s->runflags 0,4-u32max
PARAM_VALUE 0 s->spin_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 s->async->cmd.chanlist_len 1
CAPPED_DATA 0 s->lock 1
DATA_SOURCE 0 s $1
FUZZY_MAX 0 s->async->cb_mask 54
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/comedi/drivers/mite.c mite_sync_output_dma() -> comedi_bytes_per_scan()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
DATA_SOURCE 0 s $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &dev->spinlock
HALF_LOCKED2 &devpriv->interrupt_lock
HALF_LOCKED2 &devpriv->mite_channel_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq_flags

drivers/comedi/drivers/pcl812.c pcl812_ai_setup_dma() -> comedi_bytes_per_scan()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
DATA_SOURCE 0 s $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex