/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/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/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/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 | css.c | 445 * @todo: todo 447 * Schedule the operation identified by @todo to be performed on the slow path 451 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo) argument 453 CIO_MSG_EVENT(4, "sch_todo: sched sch=0.%x.%04x todo=%d\n", 454 sch->schid.ssid, sch->schid.sch_no, todo); 455 if (sch->todo >= todo) 460 sch->todo = todo; 471 enum sch_todo todo; local [all...] |
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 | css.h | 145 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo);
|
H A D | device.h | 100 void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo);
|
/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/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/firewire/ |
H A D | core-cdev.c | 139 /* Schedule work and access todo only with client->lock held. */ 142 ISO_RES_ALLOC_ONCE, ISO_RES_DEALLOC_ONCE,} todo; member in struct:iso_resource 1253 int generation, channel, bandwidth, todo; local 1258 todo = r->todo; 1260 if (todo == ISO_RES_ALLOC && 1267 skip = todo == ISO_RES_REALLOC && 1270 free = todo == ISO_RES_DEALLOC || 1271 todo == ISO_RES_ALLOC_ONCE || 1272 todo 1359 init_iso_resource(struct client *client, struct fw_cdev_allocate_iso_resource *request, int todo) argument [all...] |
/drivers/usb/serial/ |
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;
|
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)*/) {
|
/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/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/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/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)) {
|
/drivers/usb/phy/ |
H A D | phy-isp1301-omap.c | 67 unsigned long todo; member in struct:isp1301 328 if (isp && !test_and_set_bit(work, &isp->todo)) { 1108 stop = test_bit(WORK_STOP, &isp->todo); 1112 if (test_and_clear_bit(WORK_UPDATE_ISP, &isp->todo)) { 1118 if (test_and_clear_bit(WORK_UPDATE_OTG, &isp->todo)) { 1125 if (test_and_clear_bit(WORK_HOST_RESUME, &isp->todo)) { 1160 if (test_and_clear_bit(WORK_TIMER, &isp->todo)) { 1169 if (isp->todo) 1171 "work done, todo = 0x%lx\n", 1172 isp->todo); [all...] |
/drivers/staging/android/ |
H A D | binder.c | 316 struct list_head todo; member in struct:binder_proc 343 struct list_head todo; member in struct:binder_thread 975 list_add_tail(&node->work.entry, &node->proc->todo); 1428 target_list = &target_thread->todo; 1431 target_list = &target_proc->todo; 1578 &thread->todo); 1704 list_add_tail(&tcomplete->entry, &thread->todo); 1924 list_move_tail(buffer->target_node->async_todo.next, &thread->todo); 2033 list_add_tail(&ref->death->work.entry, &thread->todo); 2035 list_add_tail(&ref->death->work.entry, &proc->todo); [all...] |
/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));
|
/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));
|