Home
last modified time | relevance | path

Searched refs:prealloc_bufsz (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/drivers/staging/comedi/
Ddrivers.c266 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 …]
Dcomedi_fops.c352 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 …]
Dcomedidev.h137 unsigned int prealloc_bufsz; /* buffer size, in bytes */ member
/linux-3.4.99/drivers/staging/comedi/drivers/
Dmite.c357 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()
Dni_tiocmd.c131 comedi_buf_write_alloc(async, async->prealloc_bufsz); in ni_tio_input_cmd()
Dni_pcidio.c1046 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()
Dpcl812.c883 devpriv->ai_data_len = s->async->prealloc_bufsz; in pcl812_ai_cmd()
Dadv_pci1710.c1117 devpriv->ai_data_len = s->async->prealloc_bufsz; in pci171x_ai_cmd()
Dni_mio_common.c1611 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()
Dpcl818.c1460 devpriv->ai_data_len = s->async->prealloc_bufsz; in ai_cmd()
Dadl_pci9118.c1544 devpriv->ai_data_len = s->async->prealloc_bufsz; in pci9118_ai_cmd()
/linux-3.4.99/drivers/staging/comedi/drivers/addi-data/
Dhwdrv_apci3120.c649 devpriv->ui_AiDataLength = s->async->prealloc_bufsz; in i_APCI3120_CommandAnalogInput()