[go: nahoru, domu]

Searched refs:todo (Results 1 - 25 of 41) sorted by relevance

12

/drivers/media/dvb-core/
H A Ddvb_ringbuffer.c113 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 Ddmxdev.h89 int todo; member in struct:dmxdev_filter
H A Ddmxdev.c64 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 Dcros_ec_spi.c124 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 Dtw68-risc.c47 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 Dccwreq.c173 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 Dcss.c445 * @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 Dcio.h72 * When rescheduled, todo's with higher values will overwrite those
100 enum sch_todo todo; member in struct:subchannel
H A Dcss.h145 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo);
H A Ddevice.h100 void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo);
/drivers/w1/slaves/
H A Dw1_ds2431.c104 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 Dav7110_av.c402 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 Dcore-cdev.c139 /* 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 Dkobil_sct.c298 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 Dusb_wwan.c187 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 Dcyberjack.c316 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 Dsuni.c108 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 Dbttv-risc.c53 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 Dcx25821-core.c988 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 Ddevres.c409 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 Dnvc0.c421 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 Dphy-isp1301-omap.c67 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 Dbinder.c316 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 Dcx88-input.c531 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 Ddm-stats.c500 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));

Completed in 475 milliseconds

12