Searched refs:prealloc_bufsz (Results 1 - 12 of 12) sorted by last modified time
/drivers/staging/comedi/ |
H A D | comedi_buf.c | 71 async->prealloc_bufsz = 0; 203 if (async->prealloc_buf && async->prealloc_bufsz == new_size) 221 async->prealloc_bufsz = new_size; 250 unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; 305 buf_end = async->prealloc_bufsz - async->munge_ptr; 323 async->munge_ptr %= async->prealloc_bufsz; 351 if (async->buf_write_ptr >= async->prealloc_bufsz) 352 async->buf_write_ptr %= async->prealloc_bufsz; 425 async->buf_read_ptr %= async->prealloc_bufsz; 465 if (write_ptr >= async->prealloc_bufsz) [all...] |
H A D | comedi_fops.c | 277 s->index, async->prealloc_bufsz); 354 size = s->async->prealloc_bufsz / 1024; 467 size = s->async->prealloc_bufsz / 1024; 751 bc.size = async->prealloc_bufsz; 1547 if (!async->prealloc_bufsz) { 1951 if (size > async->prealloc_bufsz) { 2019 comedi_buf_write_alloc(s, s->async->prealloc_bufsz); 2115 if (async->buf_write_ptr + m > async->prealloc_bufsz) 2116 m = async->prealloc_bufsz - async->buf_write_ptr; 2117 comedi_buf_write_alloc(s, async->prealloc_bufsz); [all...] |
H A D | comedidev.h | 111 * @prealloc_bufsz: buffer size (in bytes) 138 * of the buffer of fixed length prealloc_bufsz is accessible at any time). 143 * (Buf_Read_Count + prealloc_bufsz) 145 * (Those aren't the actual members, apart from prealloc_bufsz.) When 161 * [Buf_Write_Alloc_Count, Buf_Read_Count + prealloc_bufsz): 163 * [Buf_Read_Count + prealloc_bufsz, infinity): 182 * value from a lower _Count value because prealloc_bufsz < UINT_MAX+1. 186 * of the corresponding capitalized _Count values modulo prealloc_bufsz. 188 * operation is done by subtracting prealloc_bufsz when the value 189 * exceeds prealloc_bufsz (assumin 194 unsigned int prealloc_bufsz; member in struct:comedi_async [all...] |
/drivers/staging/comedi/drivers/addi-data/ |
H A D | hwdrv_apci3120.c | 1052 if (dmalen0 > s->async->prealloc_bufsz) 1053 dmalen0 = s->async->prealloc_bufsz; 1054 if (dmalen1 > s->async->prealloc_bufsz) 1055 dmalen1 = s->async->prealloc_bufsz;
|
/drivers/staging/comedi/drivers/ |
H A D | adl_pci9118.c | 656 m = s->async->prealloc_bufsz >> 1; 813 if (dmalen0 > s->async->prealloc_bufsz) { 815 dmalen0 = s->async->prealloc_bufsz & ~3L; 817 if (dmalen1 > s->async->prealloc_bufsz) { 819 dmalen1 = s->async->prealloc_bufsz & ~3L;
|
H A D | adv_pci1710.c | 852 if (samplesinbuf * sizeof(short) >= s->async->prealloc_bufsz) { 853 m = s->async->prealloc_bufsz / sizeof(short);
|
H A D | mite.c | 315 if (async->prealloc_bufsz == 0) 318 n_links = async->prealloc_bufsz >> PAGE_SHIFT; 527 comedi_buf_write_alloc(s, async->prealloc_bufsz); 562 comedi_buf_read_alloc(s, async->prealloc_bufsz);
|
H A D | ni_mio_common.c | 1683 comedi_buf_write_alloc(s, s->async->prealloc_bufsz); 1717 comedi_buf_read_alloc(s, s->async->prealloc_bufsz); 3569 comedi_buf_read_alloc(s, s->async->prealloc_bufsz);
|
H A D | ni_pcidio.c | 351 comedi_buf_write_alloc(s, s->async->prealloc_bufsz); 770 memset(s->async->prealloc_buf, 0xaa, s->async->prealloc_bufsz);
|
H A D | ni_tiocmd.c | 124 comedi_buf_write_alloc(s, async->prealloc_bufsz);
|
H A D | pcl812.c | 565 if (s->async->prealloc_bufsz < devpriv->hwdmasize) { 567 s->async->prealloc_bufsz; 569 s->async->prealloc_bufsz;
|
H A D | pcl818.c | 831 devpriv->ai_data_len = s->async->prealloc_bufsz;
|
Completed in 111 milliseconds