/drivers/scsi/isci/ |
H A D | unsolicited_frame_control.c | 69 * The Unsolicited Frame buffers are set at the start of the UF 71 * placed after the buffers. 106 * Program the actual used UF buffers into the UF address table and 110 uf = &uf_control->buffers.array[i]; 136 *frame_header = &uf_control->buffers.array[frame_index].header->data; 149 *frame_buffer = uf_control->buffers.array[frame_index].buffer; 184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; 198 while (uf_control->buffers.array[frame_get].state == UNSOLICITED_FRAME_RELEASED) { 199 uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY;
|
H A D | unsolicited_frame_control.h | 209 * 1KB buffers into which the silicon will DMA unsolicited frames. 250 struct sci_uf_buffer_array buffers; member in struct:sci_unsolicited_frame_control
|
/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 47 q->buffers = 0; 65 q->buffers++; 80 q->buffers--; 94 from->buffers--; 100 to->buffers++; 105 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'. 106 If 'needed_bytes' == 0, then move all buffers from 'from' into 'to'. 107 If 'steal' != NULL, then buffers may also taken from that queue if 111 also cleared if buffers need to be taken from the 'steal' queue and 119 -ENOMEM is returned if the buffers coul [all...] |
H A D | ivtv-fileops.c | 275 /* New buffers might have become available before we were added to the waitqueue */ 276 if (!s->q_full.buffers) 623 /* Gather buffers */ 629 if (q.buffers) 635 /* New buffers might have become free before we were added to the waitqueue */ 636 if (!s->q_free.buffers) 646 /* copy user data into buffers */ 712 /* more user data is available, wait until buffers become free 761 /* Allow write if buffers are available for writing */ 762 if (s->q_free.buffers) [all...] |
/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 195 fh->buffers.buffer_size = v4l_bufsize; 196 fh->buffers.num_buffers = v4l_nbufs; 201 fh->buffers.buffer_size = jpg_bufsize; 202 fh->buffers.num_buffers = jpg_nbufs; 210 * Allocate the V4L grab buffers 221 for (i = 0; i < fh->buffers.num_buffers; i++) { 222 if (fh->buffers.buffer[i].v4l.fbuffer) 229 mem = kmalloc(fh->buffers.buffer_size, 239 fh->buffers.buffer[i].v4l.fbuffer = mem; 240 fh->buffers [all...] |
H A D | zoran.h | 66 # error "Too many video frame buffers to handle" 209 struct zoran_buffer buffer[MAX_FRAME]; /* buffers */ 210 u8 allocated; /* Flag if buffers are allocated */ 211 u8 need_contiguous; /* Flag if contiguous buffers are needed */ 212 /* only applies to jpg buffers, raw buffers are always contiguous */ 227 struct zoran_buffer_col buffers; /* buffers' info */ member in struct:zoran_fh 328 struct zoran_buffer_col v4l_buffers; /* V4L buffers' info */ 355 struct zoran_buffer_col jpg_buffers; /* MJPEG buffers' inf [all...] |
/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 62 /* Pointers to all buffers */ 63 struct pvr2_buffer **buffers; member in struct:pvr2_stream 64 /* Array size of buffers */ 66 /* Total buffers actually in circulation */ 68 /* Designed number of buffers to be in circulation */ 305 /* Allocate buffers pointer array in multiples of 32 entries */ 324 memcpy(nb,sp->buffers, 326 kfree(sp->buffers); 328 sp->buffers = nb; 340 sp->buffers[s [all...] |
/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 257 /* Reset MDL id's and move all buffers back to the stream's buf_pool */ 287 * Attach buffers to MDLs, give the MDLs ids, and add MDLs to q_free 289 * Excess buffers are left in buf_pool and/or on an MDL in q_idle 316 * case of a non-integral number of buffers to meet 328 /* Not enough buffers for this MDL; we won't use it */ 352 if (s->buffers == 0) 355 CX18_DEBUG_INFO("Allocate %s stream: %d x %d buffers " 357 s->name, s->buffers, s->buf_size, 358 s->buffers * s->buf_size / 1024, 359 (s->buffers * [all...] |
H A D | cx18-ioctl.c | 732 * For some reason we've exhausted the buffers, but the MDL 742 /* Skip any empty buffers in the MDL */ 769 tmp = s->buffers - 780 /* Pull IDX MDLs and buffers from q_full and populate the entries */ 786 /* Extract the Index entry data from the MDL and buffers */ 1038 if (s->video_dev == NULL || s->buffers == 0) 1040 CX18_INFO("Stream %s: status 0x%04lx, %d%% of %d KiB (%d buffers) in use\n", 1043 / s->buffers, 1044 (s->buffers * s->buf_size) / 1024, s->buffers); [all...] |
/drivers/media/usb/cpia2/ |
H A D | cpia2_v4l.c | 56 MODULE_PARM_DESC(num_buffers, "Number of frame buffers (1-" 190 struct framebuf *frame = &cam->buffers[frame_nr]; 442 if (cam->buffers[frame].status == FRAME_READING) 446 cam->buffers[frame].status = FRAME_EMPTY; 783 * NOTE: The user's request is ignored. For now the buffers are fixed. 818 buf->m.offset = cam->buffers[buf->index].data - cam->frame_buffer; 830 switch (cam->buffers[buf->index].status) { 838 buf->bytesused = cam->buffers[buf->index].length; 839 buf->timestamp = cam->buffers[buf->index].timestamp; 840 buf->sequence = cam->buffers[bu [all...] |
H A D | cpia2_core.c | 138 * the camera, copy the buffers into the proper param structures. 2237 if(!cam->buffers) { 2239 cam->buffers = kmalloc(size, GFP_KERNEL); 2240 if(!cam->buffers) { 2250 kfree(cam->buffers); 2251 cam->buffers = NULL; 2257 cam->buffers[i].next = &cam->buffers[i+1]; 2258 cam->buffers[i].data = cam->frame_buffer +i*cam->frame_size; 2259 cam->buffers[ [all...] |
H A D | cpia2_usb.c | 124 /* No junk in the buffers */ 137 * mmapped, or we have few buffers, we need to 141 * buffers, but it would take an EXTREMELY 153 DBG("Changed buffers, work:%d, current:%d\n", 257 break; /* No READING or EMPTY buffers left */ 718 DBG("Flushing buffers\n"); 720 cam->buffers[i].status = FRAME_EMPTY; 721 cam->buffers[i].length = 0; 723 cam->curbuff = &cam->buffers[0]; 889 if(cam->buffers) { [all...] |
/drivers/iio/ |
H A D | Kconfig | 42 Provides helper functions for setting up triggered buffers. 51 buffers. The triggers are effectively a 'capture
|
/drivers/staging/speakup/ |
H A D | Makefile | 19 buffers.o \
|
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.h | 51 u64 *buffers; /* RX interface buffer ring */ member in struct:pasemi_mac_rxring 114 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)])
|
/drivers/media/platform/exynos4-is/ |
H A D | fimc-isp.h | 119 * @pending_buf_q: pending buffers queue head 120 * @active_buf_q: a queue head of buffers scheduled in hardware 122 * @active_buf_count: number of video buffers scheduled in hardware 124 * @reqbufs_count: number of buffers requested with REQBUFS ioctl 139 struct isp_video_buf *buffers[FIMC_ISP_MAX_BUFS]; member in struct:fimc_is_video
|
H A D | fimc-isp-video.c | 181 /* Check if we get one of the already known buffers. */ 187 if (video->buffers[i]->dma_addr[0] == dma_addr) 212 video->buffers[ivb->index] = ivb; 253 vb = &video->buffers[buf_index]->vb;
|
/drivers/media/platform/marvell-ccic/ |
H A D | mcam-core.c | 37 * we must have physically contiguous buffers to bring frames into. 38 * These parameters control how many buffers we use, whether we 43 * The controller can cycle through three buffers. We could use 51 "Non-zero value causes DMA buffers to be allocated when the " 54 "successfully getting those buffers. This parameter is " 60 "The number of DMA buffers to allocate. Can be either two " 66 "The size of the allocated DMA buffers. If actual operating " 67 "parameters require larger buffers, an attempt to reallocate " 349 * Allocate in-kernel DMA buffers for vmalloc mode. 381 cam_err(cam, "Insufficient DMA buffers, canno [all...] |
H A D | mcam-core.h | 42 S_BUFWAIT /* streaming requested but no buffers yet */ 161 struct list_head buffers; /* Available frames */ member in struct:mcam_camera 166 /* DMA buffers - vmalloc mode */ 176 /* DMA buffers - DMA modes */ 359 #define C1_TWOBUFS 0x08000000 /* Use only two DMA buffers */
|
/drivers/net/ethernet/sun/ |
H A D | sunqe.c | 126 struct sunqe_buffers *qbufs = qep->buffers; 415 struct sunqe_buffers *qbufs = qep->buffers; 574 struct sunqe_buffers *qbufs = qep->buffers; 884 qe->buffers = dma_alloc_coherent(&op->dev, sizeof(struct sunqe_buffers), 887 qe->buffers == NULL || qe->buffers_dvma == 0) 919 if (qe->buffers) 922 qe->buffers, 947 qp->buffers, qp->buffers_dvma);
|
/drivers/char/xillybus/ |
H A D | xillybus_core.c | 81 * buffers' end_offset fields against changes made by IRQ handler (and in 323 struct xilly_buffer **buffers, 331 if (buffers) { /* Not the message buffer */ 383 if (buffers) { /* Not the message buffer */ 386 buffers[i] = this_buffer++; 486 struct xilly_buffer **buffers = NULL; local 515 buffers = devm_kcalloc(dev, bufnum, 518 if (!buffers) 531 channel->rd_buffers = buffers; 532 rc = xilly_get_dma_buffers(ep, &rd_alloc, buffers, 321 xilly_get_dma_buffers(struct xilly_endpoint *ep, struct xilly_alloc_state *s, struct xilly_buffer **buffers, int bufnum, int bytebufsize) argument [all...] |
/drivers/media/platform/ |
H A D | Kconfig | 139 use system memory for both source and destination buffers, as opposed 140 to capture and output drivers, which use memory buffers for just 207 MX2X chips have a PrP that can be used to process buffers from
|
/drivers/mtd/nand/ |
H A D | nand_base.c | 1164 uint8_t *ecc_calc = chip->buffers->ecccalc; 1165 uint8_t *ecc_code = chip->buffers->ecccode; 1236 chip->ecc.calculate(mtd, p, &chip->buffers->ecccalc[i]); 1269 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; 1276 &chip->buffers->ecccode[i], &chip->buffers->ecccalc[i]); 1304 uint8_t *ecc_calc = chip->buffers->ecccalc; 1305 uint8_t *ecc_code = chip->buffers->ecccode; 1357 uint8_t *ecc_code = chip->buffers->ecccode; 1359 uint8_t *ecc_calc = chip->buffers [all...] |
/drivers/md/ |
H A D | dm-bufio.c | 22 * Limit the number of buffers to DM_BUFIO_MEMORY_PERCENT of main memory 24 * Always allocate at least DM_BUFIO_MIN_BUFFERS buffers. 26 * dirty buffers. 40 * Free buffers when they are older than this (seconds) 73 * Linking of buffers: 74 * All buffers are linked to cache_hash with their hash_list field. 76 * Clean buffers that are not being written (B_WRITING not set) 79 * Dirty and clean buffers that are being written are linked to 83 * context), so some clean-not-writing buffers can be held on 304 * Small buffers ar 844 unsigned long buffers; local [all...] |
/drivers/atm/ |
H A D | solos-pci.c | 76 #define RX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2) 77 #define TX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2 + (card->buffer_size)) 78 #define FLASH_BUF ((card->buffers) + 4*(card->buffer_size)*2) 116 void __iomem *buffers; member in struct:solos_card 1231 card->buffers = pci_iomap(dev, 1, DATA_RAM_SIZE); 1232 if (!card->buffers) { 1233 dev_warn(&dev->dev, "Failed to ioremap data buffers\n"); 1282 dev_warn(&card->dev->dev, "Failed to allocate DMA bounce buffers\n"); 1341 pci_iounmap(dev, card->buffers); 1456 pci_iounmap(dev, card->buffers); [all...] |