/drivers/media/video/ |
D | cpia_usb.c | 82 struct framebuf *buffers[3]; member 202 ucpia->buffers[0]->status = FRAME_EMPTY; in cpia_usb_open() 203 ucpia->buffers[0]->length = 0; in cpia_usb_open() 204 ucpia->buffers[1]->status = FRAME_EMPTY; in cpia_usb_open() 205 ucpia->buffers[1]->length = 0; in cpia_usb_open() 206 ucpia->buffers[2]->status = FRAME_EMPTY; in cpia_usb_open() 207 ucpia->buffers[2]->length = 0; in cpia_usb_open() 208 ucpia->curbuff = ucpia->buffers[0]; in cpia_usb_open() 209 ucpia->workbuff = ucpia->buffers[1]; in cpia_usb_open() 506 ucpia->buffers[0] = vmalloc(sizeof(*ucpia->buffers[0])); in cpia_probe() [all …]
|
D | dabusb.c | 64 static int buffers = 256; variable 854 s->total_buffer_size = buffers; in dabusb_init() 889 module_param(buffers, int, 0); 890 MODULE_PARM_DESC (buffers, "Number of buffers (default=256)");
|
/drivers/media/video/cx18/ |
D | cx18-queue.c | 41 atomic_set(&q->buffers, 0); in cx18_queue_init() 60 atomic_read(&q->buffers) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_enqueue() 68 atomic_inc(&q->buffers); in _cx18_enqueue() 84 atomic_dec(&q->buffers); in cx18_dequeue() 102 if (buf->skipped >= atomic_read(&s->q_busy.buffers)-1) { in cx18_queue_get_buf() 112 atomic_dec(&s->q_busy.buffers); in cx18_queue_get_buf() 113 atomic_inc(&s->q_free.buffers); in cx18_queue_get_buf() 132 atomic_inc(&s->q_full.buffers); in cx18_queue_get_buf() 134 atomic_dec(&s->q_busy.buffers); in cx18_queue_get_buf() 156 atomic_inc(&s->q_free.buffers); in cx18_queue_flush() [all …]
|
D | cx18-streams.c | 117 s->buffers = cx->stream_buffers[type]; in cx18_stream_init() 418 if (atomic_read(&s->q_free.buffers) == 0 || in cx18_stream_load_fw_queue() 419 atomic_read(&s->q_busy.buffers) >= CX18_MAX_FW_MDLS_PER_STREAM) in cx18_stream_load_fw_queue() 428 } while (atomic_read(&s->q_busy.buffers) < CX18_MAX_FW_MDLS_PER_STREAM in cx18_stream_load_fw_queue()
|
D | cx18-ioctl.c | 733 if (s->v4l2dev == NULL || s->buffers == 0) in cx18_log_status() 737 atomic_read(&s->q_full.buffers) * 100 / s->buffers, in cx18_log_status() 738 (s->buffers * s->buf_size) / 1024, s->buffers); in cx18_log_status()
|
D | cx18-driver.h | 236 atomic_t buffers; member 299 u32 buffers; member
|
/drivers/media/video/ivtv/ |
D | ivtv-queue.c | 47 q->buffers = 0; in ivtv_queue_init() 65 q->buffers++; in ivtv_enqueue() 80 q->buffers--; in ivtv_dequeue() 94 from->buffers--; in ivtv_queue_move_buf() 100 to->buffers++; in ivtv_queue_move_buf() 155 steal->buffers--; in ivtv_queue_move() 159 from->buffers++; in ivtv_queue_move() 196 int SGsize = sizeof(struct ivtv_sg_host_element) * s->buffers; in ivtv_stream_alloc() 199 if (s->buffers == 0) in ivtv_stream_alloc() 204 s->name, s->buffers, s->buf_size, s->buffers * s->buf_size / 1024); in ivtv_stream_alloc() [all …]
|
D | ivtv-fileops.c | 279 if (!s->q_full.buffers) in ivtv_get_buffer() 625 if (q.buffers) in ivtv_v4l2_write() 631 if (!s->q_free.buffers) in ivtv_v4l2_write() 729 if (s->q_free.buffers) in ivtv_v4l2_dec_poll()
|
D | ivtv-streams.c | 157 s->buffers = (itv->options.kilobytes[type] * 1024 + s->buf_size - 1) / s->buf_size; in ivtv_stream_init() 860 if (s->q_full.buffers + s->q_dma.buffers == 0) { in ivtv_stop_v4l2_decode_stream()
|
D | ivtv-ioctl.c | 1521 if (s->v4l2dev == NULL || s->buffers == 0) in ivtv_log_status() 1524 (s->buffers - s->q_free.buffers) * 100 / s->buffers, in ivtv_log_status() 1525 (s->buffers * s->buf_size) / 1024, s->buffers); in ivtv_log_status()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-io.c | 63 struct pvr2_buffer **buffers; member 324 memcpy(nb,sp->buffers, in pvr2_stream_buffer_count() 326 kfree(sp->buffers); in pvr2_stream_buffer_count() 328 sp->buffers = nb; in pvr2_stream_buffer_count() 340 sp->buffers[sp->buffer_total_count] = bp; in pvr2_stream_buffer_count() 347 bp = sp->buffers[sp->buffer_total_count - 1]; in pvr2_stream_buffer_count() 349 sp->buffers[sp->buffer_total_count - 1] = NULL; in pvr2_stream_buffer_count() 359 memcpy(nb,sp->buffers,scnt * sizeof(*nb)); in pvr2_stream_buffer_count() 361 kfree(sp->buffers); in pvr2_stream_buffer_count() 362 sp->buffers = nb; in pvr2_stream_buffer_count() [all …]
|
/drivers/atm/ |
D | nicstarmac.copyright | 25 * IDT always receives data into a small buffer, then large buffers 28 * Fix is simple: make large buffers large enough to hold entire 32 * buffers. This is done by 2 things: 35 * recycle large data buffers 36 * 2) skb_clone of received buffers
|
D | solos-pci.c | 53 #define RX_BUF(card, nr) ((card->buffers) + (nr)*BUF_SIZE*2) 54 #define TX_BUF(card, nr) ((card->buffers) + (nr)*BUF_SIZE*2 + BUF_SIZE) 73 void __iomem *buffers; member 608 card->buffers = pci_iomap(dev, 1, DATA_RAM_SIZE); in fpga_probe() 609 if (!card->buffers) { in fpga_probe() 684 pci_iounmap(dev, card->buffers); in fpga_probe() 750 pci_iounmap(dev, card->buffers); in fpga_remove()
|
/drivers/media/video/cpia2/ |
D | cpia2_v4l.c | 507 struct framebuf *frame = &cam->buffers[frame_nr]; in sync() 573 if (cam->buffers[frame].status == FRAME_READING) in ioctl_set_window_size() 577 cam->buffers[frame].status = FRAME_EMPTY; in ioctl_set_window_size() 636 if (cam->buffers[vm->frame].status == FRAME_READING) in ioctl_mcapture() 640 cam->buffers[vm->frame].status = FRAME_EMPTY; in ioctl_mcapture() 914 if (cam->buffers[frame].status == FRAME_READING) in ioctl_set_fmt() 918 cam->buffers[frame].status = FRAME_EMPTY; in ioctl_set_fmt() 1426 buf->m.offset = cam->buffers[buf->index].data - cam->frame_buffer; in ioctl_querybuf() 1436 switch (cam->buffers[buf->index].status) { in ioctl_querybuf() 1444 buf->bytesused = cam->buffers[buf->index].length; in ioctl_querybuf() [all …]
|
D | cpia2_core.c | 2317 if(!cam->buffers) { in cpia2_allocate_buffers() 2319 cam->buffers = kmalloc(size, GFP_KERNEL); in cpia2_allocate_buffers() 2320 if(!cam->buffers) { in cpia2_allocate_buffers() 2330 kfree(cam->buffers); in cpia2_allocate_buffers() 2331 cam->buffers = NULL; in cpia2_allocate_buffers() 2337 cam->buffers[i].next = &cam->buffers[i+1]; in cpia2_allocate_buffers() 2338 cam->buffers[i].data = cam->frame_buffer +i*cam->frame_size; in cpia2_allocate_buffers() 2339 cam->buffers[i].status = FRAME_EMPTY; in cpia2_allocate_buffers() 2340 cam->buffers[i].length = 0; in cpia2_allocate_buffers() 2341 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers() [all …]
|
D | cpia2_usb.c | 715 cam->buffers[i].status = FRAME_EMPTY; in cpia2_usb_stream_start() 716 cam->buffers[i].length = 0; in cpia2_usb_stream_start() 718 cam->curbuff = &cam->buffers[0]; in cpia2_usb_stream_start() 875 if(cam->buffers) { in cpia2_usb_disconnect()
|
/drivers/mtd/nand/ |
D | nand_base.c | 773 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc() 774 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_swecc() 836 chip->ecc.calculate(mtd, p, &chip->buffers->ecccalc[i]); in nand_read_subpage() 866 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + start_step * chip->ecc.bytes]]; in nand_read_subpage() 872 stat = chip->ecc.correct(mtd, p, &chip->buffers->ecccode[i], &chip->buffers->ecccalc[i]); in nand_read_subpage() 896 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc() 897 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc() 1068 bufpoi = aligned ? buf : chip->buffers->databuf; in nand_do_read_ops() 1089 memcpy(buf, chip->buffers->databuf + col, bytes); in nand_do_read_ops() 1123 memcpy(buf, chip->buffers->databuf + col, bytes); in nand_do_read_ops() [all …]
|
/drivers/net/ |
D | sunqe.c | 127 struct sunqe_buffers *qbufs = qep->buffers; in qe_init_rings() 416 struct sunqe_buffers *qbufs = qep->buffers; in qe_rx() 578 struct sunqe_buffers *qbufs = qep->buffers; in qe_start_xmit() 885 qe->buffers = dma_alloc_coherent(&op->dev, sizeof(struct sunqe_buffers), in qec_ether_init() 888 qe->buffers == NULL || qe->buffers_dvma == 0) in qec_ether_init() 930 if (qe->buffers) in qec_ether_init() 933 qe->buffers, in qec_ether_init() 958 qp->buffers, qp->buffers_dvma); in qec_sbus_remove()
|
D | pasemi_mac.h | 52 u64 *buffers; /* RX interface buffer ring */ member 116 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)])
|
D | sunqe.h | 341 struct sunqe_buffers *buffers; /* CPU visible address. */ member
|
/drivers/net/ibm_newemac/ |
D | Kconfig | 11 int "Number of receive buffers" 16 int "Number of transmit buffers"
|
/drivers/media/video/pwc/ |
D | philips.txt | 57 This parameter specifies the number of internal buffers to use for storing 65 buffers to reserve for mmap(), VIDIOCCGMBUF, VIDIOCMCAPTURE and friends. 73 forked program to really take advantage of these buffers. 203 16 0x10 Memory allocation of buffers, etc. Off 224 cameras. Each camera has its own set of buffers.
|
/drivers/media/dvb/siano/ |
D | smscoreapi.c | 68 struct list_head buffers; member 369 INIT_LIST_HEAD(&dev->buffers); in smscore_register_device() 1025 if (!list_empty(&coredev->buffers)) { in smscore_getbuffer() 1026 cb = (struct smscore_buffer_t *) coredev->buffers.next; in smscore_getbuffer() 1046 list_add_locked(&cb->entry, &coredev->buffers, &coredev->bufferslock); in smscore_putbuffer()
|
/drivers/staging/poch/ |
D | README | 5 - test whether Tx is transmitting data from provided buffers
|
/drivers/staging/android/ |
D | binder.c | 258 struct list_head buffers; member 480 if (list_is_last(&buffer->entry, &proc->buffers)) in binder_buffer_size() 787 BUG_ON(proc->buffers.next == &buffer->entry); in binder_delete_free_buffer() 799 if (!list_is_last(&buffer->entry, &proc->buffers)) { in binder_delete_free_buffer() 860 if (!list_is_last(&buffer->entry, &proc->buffers)) { in binder_free_buf() 868 if (proc->buffers.next != &buffer->entry) { in binder_free_buf() 2772 INIT_LIST_HEAD(&proc->buffers); in binder_mmap() 2773 list_add(&buffer->entry, &proc->buffers); in binder_mmap() 2876 int threads, nodes, incoming_refs, outgoing_refs, buffers, active_transactions, page_count; in binder_deferred_release() local 2938 buffers = 0; in binder_deferred_release() [all …]
|