/drivers/media/dvb/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 186 size_t todo; local 214 size_t todo; local [all...] |
H A D | dmxdev.h | 88 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; 708 filter->todo = 0; 910 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 | 157 enum cdev_todo todo; member in struct:ccw_device_private
|
H A D | css.c | 427 * @todo: todo 429 * Schedule the operation identified by @todo to be performed on the slow path 433 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo) argument 435 CIO_MSG_EVENT(4, "sch_todo: sched sch=0.%x.%04x todo=%d\n", 436 sch->schid.ssid, sch->schid.sch_no, todo); 437 if (sch->todo >= todo) 442 sch->todo = todo; 452 enum sch_todo todo; local [all...] |
H A D | device.c | 2045 enum cdev_todo todo; local 2050 /* Find out todo. */ 2052 todo = priv->todo; 2053 priv->todo = CDEV_TODO_NOTHING; 2054 CIO_MSG_EVENT(4, "cdev_todo: cdev=0.%x.%04x todo=%d\n", 2055 priv->dev_id.ssid, priv->dev_id.devno, todo); 2057 /* Perform todo. */ 2058 switch (todo) { 2088 * @todo 2094 ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo) argument [all...] |
/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/base/ |
H A D | devres.c | 331 struct list_head *todo) 336 /* First pass - move normal devres entries to @todo and clear 356 list_move_tail(&node->entry, todo); 390 list_move_tail(&grp->node[0].entry, todo); 402 LIST_HEAD(todo); variable 406 cnt = remove_nodes(dev, first, end, &todo); 413 list_for_each_entry_safe_reverse(dr, tmp, &todo, node.entry) { 329 remove_nodes(struct device *dev, struct list_head *first, struct list_head *end, struct list_head *todo) argument
|
/drivers/media/video/cx88/ |
H A D | cx88-input.c | 515 unsigned todo, bits; local 532 for (todo = 32; todo > 0; todo -= bits) { 534 bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples));
|
H A D | cx88-core.c | 80 unsigned int line,todo,sol; local 104 todo = bpl; 108 todo -= (sg_dma_len(sg)-offset); 111 while (todo > sg_dma_len(sg)) { 115 todo -= sg_dma_len(sg); 118 *(rp++)=cpu_to_le32(RISC_WRITE|RISC_EOL|todo); 120 offset += todo;
|
/drivers/usb/serial/ |
H A D | cyberjack.c | 366 short todo; local 398 todo = priv->rdtodo; 402 dbg("%s - rdtodo: %d", __func__, todo); 405 if (todo /* || (urb->actual_length==port->bulk_in_endpointAddress)*/) {
|
H A D | kobil_sct.c | 399 int todo = 0; local 430 todo = priv->filled - priv->cur_pos; 432 while (todo > 0) { 434 length = (todo < 8) ? todo : 8; 453 todo = priv->filled - priv->cur_pos; 455 if (todo > 0)
|
H A D | usb_wwan.c | 212 int left, todo; local 225 todo = left; 226 if (todo > OUT_BUFLEN) 227 todo = OUT_BUFLEN; 245 memcpy(this_urb->transfer_buffer, buf, todo); 246 this_urb->transfer_buffer_length = todo; 270 buf += todo; 271 left -= 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/video/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/video/cx25821/ |
H A D | cx25821-core.c | 1087 unsigned int line, todo; local 1109 todo = bpl; 1114 todo -= (sg_dma_len(sg) - offset); 1117 while (todo > sg_dma_len(sg)) { 1122 todo -= sg_dma_len(sg); 1125 *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); 1128 offset += todo; 1192 unsigned int line, todo, sol; local 1220 todo = bpl; 1225 todo [all...] |
/drivers/usb/gadget/ |
H A D | u_ether.c | 73 unsigned long todo; member in struct:eth_dev 188 if (test_and_set_bit(flag, &dev->todo)) 447 if (test_and_clear_bit(WORK_RX_MEMORY, &dev->todo)) { 452 if (dev->todo) 453 DBG(dev, "work done, flags = 0x%lx\n", dev->todo);
|
/drivers/md/ |
H A D | dm-verity.c | 290 unsigned todo; local 333 todo = 1 << v->data_dev_block_bits; 343 if (likely(len >= todo)) 344 len = todo; 357 todo -= len; 358 } while (todo);
|
/drivers/media/dvb/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/video/cx23885/ |
H A D | cx23885-core.c | 1088 unsigned int line, todo, sol; local 1115 todo = bpl; 1120 todo -= (sg_dma_len(sg)-offset); 1123 while (todo > sg_dma_len(sg)) { 1128 todo -= sg_dma_len(sg); 1131 *(rp++) = cpu_to_le32(RISC_WRITE|RISC_EOL|todo); 1134 offset += todo;
|
/drivers/media/video/zoran/ |
H A D | zoran_driver.c | 2863 unsigned long page, start = vma->vm_start, todo, pos, fraglen; local 2936 todo = size; 2937 if (todo > fh->buffers.buffer_size) 2938 todo = fh->buffers.buffer_size; 2941 todo, PAGE_SHARED)) { 2949 size -= todo; 2950 start += todo; 2963 todo = size; 2964 if (todo > fraglen) 2965 todo [all...] |
/drivers/usb/otg/ |
H A D | isp1301_omap.c | 69 unsigned long todo; member in struct:isp1301 330 if (isp && !test_and_set_bit(work, &isp->todo)) { 1112 stop = test_bit(WORK_STOP, &isp->todo); 1116 if (test_and_clear_bit(WORK_UPDATE_ISP, &isp->todo)) { 1122 if (test_and_clear_bit(WORK_UPDATE_OTG, &isp->todo)) { 1129 if (test_and_clear_bit(WORK_HOST_RESUME, &isp->todo)) { 1164 if (test_and_clear_bit(WORK_TIMER, &isp->todo)) { 1173 if (isp->todo) 1175 "work done, todo = 0x%lx\n", 1176 isp->todo); [all...] |
/drivers/firewire/ |
H A D | core-cdev.c | 136 /* Schedule work and access todo only with client->lock held. */ 139 ISO_RES_ALLOC_ONCE, ISO_RES_DEALLOC_ONCE,} todo; member in struct:iso_resource 1230 int generation, channel, bandwidth, todo; local 1235 todo = r->todo; 1237 if (todo == ISO_RES_ALLOC && 1244 skip = todo == ISO_RES_REALLOC && 1247 free = todo == ISO_RES_DEALLOC || 1248 todo == ISO_RES_ALLOC_ONCE || 1249 todo 1336 init_iso_resource(struct client *client, struct fw_cdev_allocate_iso_resource *request, int todo) argument [all...] |