Searched refs:prealloc_bufsz (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/comedi/ |
D | comedi_buf.c | 63 async->prealloc_bufsz = 0; in __comedi_buf_free() 267 if (async->prealloc_buf && async->prealloc_bufsz == new_size) in comedi_buf_alloc() 285 async->prealloc_bufsz = new_size; in comedi_buf_alloc() 315 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_unalloc() 323 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; in comedi_buf_write_n_available() 382 buf_end = async->prealloc_bufsz - async->munge_ptr; in comedi_buf_munge() 400 async->munge_ptr %= async->prealloc_bufsz; in comedi_buf_munge() 441 if (async->buf_write_ptr >= async->prealloc_bufsz) in comedi_buf_write_free() 442 async->buf_write_ptr %= async->prealloc_bufsz; in comedi_buf_write_free() 552 async->buf_read_ptr %= async->prealloc_bufsz; in comedi_buf_read_free() [all …]
|
D | comedi_fops.c | 374 s->index, async->prealloc_bufsz); in resize_async_buffer() 451 size = s->async->prealloc_bufsz / 1024; in read_buffer_kb_show() 564 size = s->async->prealloc_bufsz / 1024; in write_buffer_kb_show() 906 bc.size = async->prealloc_bufsz; in do_bufconfig_ioctl() 1804 if (!async->prealloc_bufsz) { in do_cmd_ioctl() 2367 if (size > async->prealloc_bufsz) { in comedi_mmap() 2518 comedi_buf_write_alloc(s, async->prealloc_bufsz); in comedi_write() 2542 n1 = min(n, async->prealloc_bufsz - wp); in comedi_write() 2676 n1 = min(n, async->prealloc_bufsz - rp); in comedi_read()
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | mite.c | 279 comedi_buf_write_alloc(s, async->prealloc_bufsz); in mite_sync_input_dma() 314 comedi_buf_read_alloc(s, async->prealloc_bufsz); in mite_sync_output_dma() 724 if (async->prealloc_bufsz == 0) in mite_buf_change() 727 n_links = async->prealloc_bufsz >> PAGE_SHIFT; in mite_buf_change()
|
D | addi_apci_3120.c | 243 if (dmalen0 > s->async->prealloc_bufsz) in apci3120_setup_dma() 244 dmalen0 = s->async->prealloc_bufsz; in apci3120_setup_dma() 245 if (dmalen1 > s->async->prealloc_bufsz) in apci3120_setup_dma() 246 dmalen1 = s->async->prealloc_bufsz; in apci3120_setup_dma()
|
D | adl_pci9118.c | 811 if (dmalen0 > s->async->prealloc_bufsz) { in pci9118_ai_setup_dma() 813 dmalen0 = s->async->prealloc_bufsz & ~3L; in pci9118_ai_setup_dma() 815 if (dmalen1 > s->async->prealloc_bufsz) { in pci9118_ai_setup_dma() 817 dmalen1 = s->async->prealloc_bufsz & ~3L; in pci9118_ai_setup_dma()
|
D | ni_pcidio.c | 343 comedi_buf_write_alloc(s, s->async->prealloc_bufsz); in setup_mite_dma() 750 memset(s->async->prealloc_buf, 0xaa, s->async->prealloc_bufsz); in ni_pcidio_change()
|
D | ni_tiocmd.c | 112 comedi_buf_write_alloc(s, async->prealloc_bufsz); in ni_tio_input_cmd()
|
D | ni_mio_common.c | 1441 comedi_buf_write_alloc(s, s->async->prealloc_bufsz); in ni_ai_setup_MITE_dma() 1475 comedi_buf_read_alloc(s, s->async->prealloc_bufsz); in ni_ao_setup_MITE_dma() 1966 if (nbytes > sdev->async->prealloc_bufsz) { in ni_cmd_set_mite_transfer() 1977 nbytes = sdev->async->prealloc_bufsz; in ni_cmd_set_mite_transfer() 3591 s->async->prealloc_bufsz / in ni_cdio_cmdtest() 3628 comedi_buf_read_alloc(s, s->async->prealloc_bufsz); in ni_cdo_inttrig() 3701 s->async->prealloc_bufsz / in ni_cdio_cmd()
|
/linux-6.1.9/include/linux/comedi/ |
D | comedidev.h | 348 unsigned int prealloc_bufsz; member
|