Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/comedi/drivers/das16m1.c, line 447
- drivers/comedi/drivers/das1800.c, line 507
- drivers/comedi/drivers/ni_mio_common.c, line 1598
- drivers/comedi/drivers/ni_pcidio.c, line 368
- drivers/comedi/drivers/pcl812.c, line 900
- drivers/comedi/drivers/pcl816.c, line 472
Smatch caller information:
drivers/comedi/drivers/das1800.c das1800_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/drivers/pcl816.c pcl816_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/ni_pcimio.c ni_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/ni_pcidio.c ni_pcidio_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | irq_flags | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/ni_mio_cs.c ni_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/ni_atmio.c ni_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/pcl812.c pcl812_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/das16m1.c das16m1_ai_poll() -> comedi_buf_n_bytes_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | $1 |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |