Searched refs:prealloc_bufsz (Results 1 – 12 of 12) sorted by relevance
/linux-3.4.99/drivers/staging/comedi/ |
D | drivers.c | 266 async->prealloc_bufsz = 0; in postconfig() 429 if (async->prealloc_buf && async->prealloc_bufsz == new_size) in comedi_buf_alloc() 436 async->prealloc_bufsz = 0; in comedi_buf_alloc() 546 async->prealloc_bufsz = new_size; in comedi_buf_alloc() 578 async->prealloc_bufsz) > 0) in comedi_buf_munge() 579 block_size = async->prealloc_bufsz - async->munge_ptr; in comedi_buf_munge() 591 async->munge_ptr %= async->prealloc_bufsz; in comedi_buf_munge() 606 free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_available() 621 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_alloc() 638 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_alloc_strict() [all …]
|
D | comedi_fops.c | 352 bc.size = async->prealloc_bufsz; in do_bufconfig_ioctl() 1139 if (!async->prealloc_bufsz) { in do_cmd_ioctl() 1526 if (size > async->prealloc_bufsz) { in comedi_mmap() 1597 write_subdev->async->prealloc_bufsz); in comedi_poll() 1676 if (async->buf_write_ptr + m > async->prealloc_bufsz) in comedi_write() 1677 m = async->prealloc_bufsz - async->buf_write_ptr; in comedi_write() 1678 comedi_buf_write_alloc(async, async->prealloc_bufsz); in comedi_write() 1775 if (async->buf_read_ptr + m > async->prealloc_bufsz) in comedi_read() 1776 m = async->prealloc_bufsz - async->buf_read_ptr; in comedi_read() 2484 dev->minor, (int)(s - dev->subdevices), async->prealloc_bufsz); in resize_async_buffer() [all …]
|
D | comedidev.h | 137 unsigned int prealloc_bufsz; /* buffer size, in bytes */ member
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | mite.c | 357 if (async->prealloc_bufsz == 0) in mite_buf_change() 360 n_links = async->prealloc_bufsz >> PAGE_SHIFT; in mite_buf_change() 576 comedi_buf_write_alloc(async, async->prealloc_bufsz); in mite_sync_input_dma() 615 comedi_buf_read_alloc(async, async->prealloc_bufsz); in mite_sync_output_dma()
|
D | ni_tiocmd.c | 131 comedi_buf_write_alloc(async, async->prealloc_bufsz); in ni_tio_input_cmd()
|
D | ni_pcidio.c | 1046 comedi_buf_write_alloc(s->async, s->async->prealloc_bufsz); in setup_mite_dma() 1090 memset(s->async->prealloc_buf, 0xaa, s->async->prealloc_bufsz); in ni_pcidio_change()
|
D | pcl812.c | 883 devpriv->ai_data_len = s->async->prealloc_bufsz; in pcl812_ai_cmd()
|
D | adv_pci1710.c | 1117 devpriv->ai_data_len = s->async->prealloc_bufsz; in pci171x_ai_cmd()
|
D | ni_mio_common.c | 1611 comedi_buf_write_alloc(s->async, s->async->prealloc_bufsz); in ni_ai_setup_MITE_dma() 1649 comedi_buf_read_alloc(s->async, s->async->prealloc_bufsz); in ni_ao_setup_MITE_dma() 3803 comedi_buf_read_alloc(s->async, s->async->prealloc_bufsz); in ni_cdo_inttrig()
|
D | pcl818.c | 1460 devpriv->ai_data_len = s->async->prealloc_bufsz; in ai_cmd()
|
D | adl_pci9118.c | 1544 devpriv->ai_data_len = s->async->prealloc_bufsz; in pci9118_ai_cmd()
|
/linux-3.4.99/drivers/staging/comedi/drivers/addi-data/ |
D | hwdrv_apci3120.c | 649 devpriv->ui_AiDataLength = s->async->prealloc_bufsz; in i_APCI3120_CommandAnalogInput()
|