/drivers/media/video/zoran/ |
D | zoran_driver.c | 195 fh->buffers.buffer_size = v4l_bufsize; in map_mode_raw() 196 fh->buffers.num_buffers = v4l_nbufs; in map_mode_raw() 201 fh->buffers.buffer_size = jpg_bufsize; in map_mode_jpg() 202 fh->buffers.num_buffers = jpg_nbufs; in map_mode_jpg() 221 for (i = 0; i < fh->buffers.num_buffers; i++) { in v4l_fbuffer_alloc() 222 if (fh->buffers.buffer[i].v4l.fbuffer) in v4l_fbuffer_alloc() 229 mem = kmalloc(fh->buffers.buffer_size, in v4l_fbuffer_alloc() 239 fh->buffers.buffer[i].v4l.fbuffer = mem; in v4l_fbuffer_alloc() 240 fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem); in v4l_fbuffer_alloc() 241 fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem); in v4l_fbuffer_alloc() [all …]
|
/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 …]
|
/drivers/scsi/isci/ |
D | unsolicited_frame_control.c | 122 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct() 150 *frame_header = &uf_control->buffers.array[frame_index].header->data; in sci_unsolicited_frame_control_get_header() 163 *frame_buffer = uf_control->buffers.array[frame_index].buffer; in sci_unsolicited_frame_control_get_buffer() 198 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in sci_unsolicited_frame_control_release_frame() 212 while (uf_control->buffers.array[frame_get].state == UNSOLICITED_FRAME_RELEASED) { in sci_unsolicited_frame_control_release_frame() 213 uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY; in sci_unsolicited_frame_control_release_frame()
|
D | unsolicited_frame_control.h | 250 struct sci_uf_buffer_array buffers; member
|
/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/media/video/cx18/ |
D | cx18-queue.c | 352 if (s->buffers == 0) in cx18_stream_alloc() 357 s->name, s->buffers, s->buf_size, in cx18_stream_alloc() 358 s->buffers * s->buf_size / 1024, in cx18_stream_alloc() 359 (s->buffers * s->buf_size * 100 / 1024) % 100); in cx18_stream_alloc() 361 if (((char __iomem *)&cx->scb->cpu_mdl[cx->free_mdl_idx + s->buffers] - in cx18_stream_alloc() 375 for (i = 0; i < s->buffers; i++) { in cx18_stream_alloc() 409 if (i == s->buffers) { in cx18_stream_alloc() 410 cx->free_mdl_idx += s->buffers; in cx18_stream_alloc()
|
/drivers/media/video/cpia2/ |
D | cpia2_v4l.c | 368 struct framebuf *frame = &cam->buffers[frame_nr]; in sync() 651 if (cam->buffers[frame].status == FRAME_READING) in cpia2_s_fmt_vid_cap() 655 cam->buffers[frame].status = FRAME_EMPTY; in cpia2_s_fmt_vid_cap() 1158 buf->m.offset = cam->buffers[buf->index].data - cam->frame_buffer; in cpia2_querybuf() 1168 switch (cam->buffers[buf->index].status) { in cpia2_querybuf() 1176 buf->bytesused = cam->buffers[buf->index].length; in cpia2_querybuf() 1177 buf->timestamp = cam->buffers[buf->index].timestamp; in cpia2_querybuf() 1178 buf->sequence = cam->buffers[buf->index].seq; in cpia2_querybuf() 1209 if(cam->buffers[buf->index].status == FRAME_READY) in cpia2_qbuf() 1210 cam->buffers[buf->index].status = FRAME_EMPTY; in cpia2_qbuf() [all …]
|
D | cpia2_core.c | 2296 if(!cam->buffers) { in cpia2_allocate_buffers() 2298 cam->buffers = kmalloc(size, GFP_KERNEL); in cpia2_allocate_buffers() 2299 if(!cam->buffers) { in cpia2_allocate_buffers() 2309 kfree(cam->buffers); in cpia2_allocate_buffers() 2310 cam->buffers = NULL; in cpia2_allocate_buffers() 2316 cam->buffers[i].next = &cam->buffers[i+1]; in cpia2_allocate_buffers() 2317 cam->buffers[i].data = cam->frame_buffer +i*cam->frame_size; in cpia2_allocate_buffers() 2318 cam->buffers[i].status = FRAME_EMPTY; in cpia2_allocate_buffers() 2319 cam->buffers[i].length = 0; in cpia2_allocate_buffers() 2320 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers() [all …]
|
D | cpia2_usb.c | 716 cam->buffers[i].status = FRAME_EMPTY; in cpia2_usb_stream_start() 717 cam->buffers[i].length = 0; in cpia2_usb_stream_start() 719 cam->curbuff = &cam->buffers[0]; in cpia2_usb_stream_start() 876 if(cam->buffers) { in cpia2_usb_disconnect()
|
/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 | 70 #define RX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2) 71 #define TX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2 + (card->buffer_size)) 72 #define FLASH_BUF ((card->buffers) + 4*(card->buffer_size)*2) 110 void __iomem *buffers; member 1123 card->buffers = pci_iomap(dev, 1, DATA_RAM_SIZE); in fpga_probe() 1124 if (!card->buffers) { in fpga_probe() 1212 pci_iounmap(dev, card->buffers); in fpga_probe() 1322 pci_iounmap(dev, card->buffers); in fpga_remove()
|
/drivers/media/video/omap3isp/ |
D | ispqueue.c | 610 if (queue->buffers[i]->vma_use_count != 0) in isp_video_queue_free() 615 struct isp_video_buffer *buf = queue->buffers[i]; in isp_video_queue_free() 623 queue->buffers[i] = NULL; in isp_video_queue_free() 683 queue->buffers[i] = buf; in isp_video_queue_alloc() 826 buf = queue->buffers[vbuf->index]; in omap3isp_video_queue_querybuf() 862 buf = queue->buffers[vbuf->index]; in omap3isp_video_queue_qbuf() 1007 buf = queue->buffers[i]; in omap3isp_video_queue_streamoff() 1044 buf = queue->buffers[i]; in omap3isp_video_queue_discard_done() 1092 buf = queue->buffers[i]; in omap3isp_video_queue_mmap()
|
/drivers/media/video/marvell-ccic/ |
D | mcam-core.c | 369 if (list_empty(&cam->buffers)) { in mcam_frame_tasklet() 375 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, in mcam_frame_tasklet() 449 if (list_empty(&cam->buffers)) { in mcam_set_contig_buffer() 461 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue); in mcam_set_contig_buffer() 510 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue); in mcam_sg_next_buffer() 535 if (list_empty(&cam->buffers)) { in mcam_ctlr_dma_sg() 572 if (!list_empty(&cam->buffers)) { in mcam_dma_sg_done() 935 start = (cam->state == S_BUFWAIT) && !list_empty(&cam->buffers); in mcam_vb_buf_queue() 936 list_add(&mvb->queue, &cam->buffers); in mcam_vb_buf_queue() 972 INIT_LIST_HEAD(&cam->buffers); in mcam_vb_start_streaming() [all …]
|
/drivers/staging/iio/Documentation/ |
D | overview.txt | 34 fifo / ring buffers on the sensor chip. These greatly reduce the load 46 used in IIO to fill software buffers acting in a very similar 47 fashion to the hardware buffers described above.
|
/drivers/net/ethernet/sun/ |
D | sunqe.c | 126 struct sunqe_buffers *qbufs = qep->buffers; in qe_init_rings() 415 struct sunqe_buffers *qbufs = qep->buffers; in qe_rx() 577 struct sunqe_buffers *qbufs = qep->buffers; in qe_start_xmit() 886 qe->buffers = dma_alloc_coherent(&op->dev, sizeof(struct sunqe_buffers), in qec_ether_init() 889 qe->buffers == NULL || qe->buffers_dvma == 0) in qec_ether_init() 921 if (qe->buffers) in qec_ether_init() 924 qe->buffers, in qec_ether_init() 949 qp->buffers, qp->buffers_dvma); in qec_sbus_remove()
|
/drivers/mtd/nand/ |
D | nand_base.c | 1138 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc() 1139 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_swecc() 1203 chip->ecc.calculate(mtd, p, &chip->buffers->ecccalc[i]); in nand_read_subpage() 1239 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; in nand_read_subpage() 1246 &chip->buffers->ecccode[i], &chip->buffers->ecccalc[i]); in nand_read_subpage() 1271 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc() 1272 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc() 1320 uint8_t *ecc_code = chip->buffers->ecccode; in nand_read_page_hwecc_oob_first() 1322 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc_oob_first() 1494 bufpoi = aligned ? buf : chip->buffers->databuf; in nand_do_read_ops() [all …]
|
/drivers/net/ethernet/ibm/emac/ |
D | Kconfig | 11 int "Number of receive buffers" 16 int "Number of transmit buffers"
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 52 u64 *buffers; /* RX interface buffer ring */ member 115 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)])
|
/drivers/staging/tidspbridge/ |
D | Kconfig | 43 bool "Check buffers to be 128 byte aligned" 53 byte alignment, buffers failing this check will be rejected.
|
/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/video/ |
D | videobuf2-core.c | 216 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem() argument 221 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_free_mem() 240 static void __vb2_queue_free(struct vb2_queue *q, unsigned int buffers) in __vb2_queue_free() argument 246 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free() 255 __vb2_free_mem(q, buffers); in __vb2_queue_free() 258 for (buffer = q->num_buffers - buffers; buffer < q->num_buffers; in __vb2_queue_free() 264 q->num_buffers -= buffers; in __vb2_queue_free()
|
/drivers/staging/speakup/ |
D | Makefile | 19 buffers.o \
|
/drivers/md/ |
D | dm-bufio.c | 814 unsigned long buffers; in __get_memory_limit() local 822 buffers = dm_bufio_cache_size_per_client >> in __get_memory_limit() 825 if (buffers < DM_BUFIO_MIN_BUFFERS) in __get_memory_limit() 826 buffers = DM_BUFIO_MIN_BUFFERS; in __get_memory_limit() 828 *limit_buffers = buffers; in __get_memory_limit() 829 *threshold_buffers = buffers * DM_BUFIO_WRITEBACK_PERCENT / 100; in __get_memory_limit()
|
/drivers/media/dvb/siano/ |
D | smscoreapi.c | 341 INIT_LIST_HEAD(&dev->buffers); in smscore_register_device() 700 while (!list_empty(&coredev->buffers)) { in smscore_unregister_device() 701 cb = (struct smscore_buffer_t *) coredev->buffers.next; in smscore_unregister_device() 1108 if (!list_empty(&coredev->buffers)) { in get_entry() 1109 cb = (struct smscore_buffer_t *) coredev->buffers.next; in get_entry() 1137 list_add_locked(&cb->entry, &coredev->buffers, &coredev->bufferslock); in smscore_putbuffer()
|
/drivers/staging/tidspbridge/Documentation/ |
D | README | 14 streaming (multiple, large buffers). Each sub-link operates independently, 16 in the order they were submitted to the message link, and stream buffers are
|