/drivers/media/pci/tw68/ |
H A D | tw68-risc.c | 47 unsigned int line, todo, done; local 82 todo = bpl; /* one full line to be done */ 89 todo -= done; 92 while (todo > sg_dma_len(sg)) { 97 todo -= sg_dma_len(sg); 101 if (todo) { 102 /* final chunk - offset 0, count 'todo' */ 105 todo); 108 offset = todo;
|
/drivers/media/dvb-core/ |
H A D | dvb_ringbuffer.c | 113 size_t todo = len; local 121 todo -= split; 124 if (copy_to_user(buf, rbuf->data+rbuf->pread, todo)) 127 rbuf->pread = (rbuf->pread + todo) % rbuf->size; 134 size_t todo = len; local 141 todo -= split; 144 memcpy(buf, rbuf->data+rbuf->pread, todo); 146 rbuf->pread = (rbuf->pread + todo) % rbuf->size; 152 size_t todo = len; local 160 todo 173 size_t todo = len; local 211 size_t todo; local 239 size_t todo; local [all...] |
H A D | dmxdev.h | 89 int todo; member in struct:dmxdev_filter
|
H A D | dmxdev.c | 64 size_t todo; local 77 for (todo = count; todo > 0; todo -= ret) { 96 if (avail > todo) 97 avail = todo; 106 return (count - todo) ? (count - todo) : ret; 700 filter->todo = 0; 903 if (dfil->todo < [all...] |
/drivers/s390/cio/ |
H A D | ccwreq.c | 173 enum uc_todo todo; local 195 todo = cdev->drv->uc_handler(cdev, lcirb); 197 CIO_HEX_EVENT(2, &todo, sizeof(todo)); 198 switch (todo) {
|
H A D | cio.h | 72 * When rescheduled, todo's with higher values will overwrite those 100 enum sch_todo todo; member in struct:subchannel
|
H A D | io_sch.h | 162 enum cdev_todo todo; member in struct:ccw_device_private
|
/drivers/usb/serial/ |
H A D | cyberjack.c | 316 short todo; local 339 todo = priv->rdtodo; 343 dev_dbg(dev, "%s - rdtodo: %d\n", __func__, todo); 346 if (todo /* || (urb->actual_length==port->bulk_in_endpointAddress)*/) {
|
H A D | kobil_sct.c | 298 int todo = 0; local 327 todo = priv->filled - priv->cur_pos; 329 while (todo > 0) { 331 length = min(todo, port->interrupt_out_size); 341 todo = priv->filled - priv->cur_pos; 343 if (todo > 0)
|
H A D | usb_wwan.c | 187 int left, todo; local 200 todo = left; 201 if (todo > OUT_BUFLEN) 202 todo = OUT_BUFLEN; 222 memcpy(this_urb->transfer_buffer, buf, todo); 223 this_urb->transfer_buffer_length = todo; 248 buf += todo; 249 left -= todo;
|
/drivers/atm/ |
H A D | suni.c | 108 if (todo & flag) { \ 111 todo &= ~flag; \ 117 int todo; local 119 if (get_user(todo,(int __user *)arg)) return -EFAULT; 128 return put_user(todo,(int __user *)arg) ? -EFAULT : 0;
|
/drivers/media/pci/cx88/ |
H A D | cx88-input.c | 531 unsigned todo, bits; local 548 for (todo = 32; todo > 0; todo -= bits) { 550 bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples));
|
H A D | cx88-core.c | 82 unsigned int line,todo,sol; local 106 todo = bpl; 110 todo -= (sg_dma_len(sg)-offset); 113 while (todo > sg_dma_len(sg)) { 117 todo -= sg_dma_len(sg); 120 *(rp++)=cpu_to_le32(RISC_WRITE|RISC_EOL|todo); 122 offset += todo;
|
/drivers/mfd/ |
H A D | cros_ec_spi.c | 124 int todo; local 169 todo = end - ++ptr; 170 BUG_ON(todo < 0 || todo > ec_dev->din_size); 171 todo = min(todo, need_len); 172 memmove(ec_dev->din, ptr, todo); 173 ptr = ec_dev->din + todo; 175 need_len, todo); 176 need_len -= todo; [all...] |
/drivers/w1/slaves/ |
H A D | w1_ds2431.c | 104 int todo = count; local 113 while (todo > 0) { 116 if (todo >= W1_F2D_READ_MAXLEN) 119 block_read = todo; 124 todo -= W1_F2D_READ_MAXLEN;
|
/drivers/base/ |
H A D | devres.c | 409 struct list_head *todo) 414 /* First pass - move normal devres entries to @todo and clear 434 list_move_tail(&node->entry, todo); 468 list_move_tail(&grp->node[0].entry, todo); 480 LIST_HEAD(todo); variable 484 cnt = remove_nodes(dev, first, end, &todo); 491 list_for_each_entry_safe_reverse(dr, tmp, &todo, node.entry) { 407 remove_nodes(struct device *dev, struct list_head *first, struct list_head *end, struct list_head *todo) argument
|
/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 53 u32 instructions,line,todo; local 97 todo = bpl; 101 todo -= (sg_dma_len(sg)-offset); 104 while (todo > sg_dma_len(sg)) { 108 todo -= sg_dma_len(sg); 112 todo); 114 offset += todo; 134 unsigned int instructions,line,todo,ylen,chroma; local 186 for (todo = ybpl; todo > [all...] |
/drivers/media/pci/cx25821/ |
H A D | cx25821-core.c | 988 unsigned int line, todo; local 1010 todo = bpl; 1015 todo -= (sg_dma_len(sg) - offset); 1018 while (todo > sg_dma_len(sg)) { 1023 todo -= sg_dma_len(sg); 1026 *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); 1029 offset += todo; 1093 unsigned int line, todo, sol; local 1121 todo = bpl; 1126 todo [all...] |
/drivers/gpu/drm/nouveau/core/engine/fifo/ |
H A D | nvc0.c | 421 u64 mask, todo; local 428 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) 432 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) {
|
H A D | nve0.c | 447 u64 mask, todo; local 454 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) 458 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~(1 << engn)) {
|
/drivers/md/ |
H A D | dm-stats.c | 500 sector_t rel_sector, offset, todo, fragment_len; local 507 todo = end_sector - s->start; 510 todo = end_sector - bi_sector; 513 todo -= (end_sector - s->end); 522 fragment_len = todo; 527 todo -= fragment_len; 530 } while (unlikely(todo != 0));
|
H A D | dm-verity.c | 359 unsigned todo; local 401 todo = 1 << v->data_dev_block_bits; 409 if (likely(len >= todo)) 410 len = todo; 420 todo -= len; 421 } while (todo);
|
/drivers/media/pci/cx23885/ |
H A D | cx23885-core.c | 1063 unsigned int line, todo, sol; local 1097 todo = bpl; 1102 todo -= (sg_dma_len(sg)-offset); 1105 while (todo > sg_dma_len(sg)) { 1110 todo -= sg_dma_len(sg); 1113 *(rp++) = cpu_to_le32(RISC_WRITE|RISC_EOL|todo); 1116 offset += todo;
|
/drivers/media/pci/ttpci/ |
H A D | av7110_av.c | 402 unsigned long todo = count; local 405 while (todo > 0) { 409 return count - todo; 412 if (free > todo) 413 free = todo; 415 todo -= free; 419 return count - todo; 450 unsigned long todo = count; local 463 while (todo >= TS_SIZE) { 466 return count - todo; 487 unsigned long todo = count, n; local 520 unsigned long todo = count, n; local 550 unsigned long todo = count, n; local [all...] |
/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 2855 unsigned long page, start = vma->vm_start, todo, pos, fraglen; local 2928 todo = size; 2929 if (todo > fh->buffers.buffer_size) 2930 todo = fh->buffers.buffer_size; 2933 todo, PAGE_SHARED)) { 2941 size -= todo; 2942 start += todo; 2955 todo = size; 2956 if (todo > fraglen) 2957 todo [all...] |