/linux-4.1.27/drivers/net/ethernet/8390/ |
D | mcf8390.c | 80 void ei_insb(u32 addr, void *vbuf, int len) in ei_insb() argument 85 buf = (u8 *) vbuf; in ei_insb() 93 void ei_insw(u32 addr, void *vbuf, int len) in ei_insw() argument 98 buf = (u16 *) vbuf; in ei_insw() 106 void ei_outsb(u32 addr, const void *vbuf, int len) in ei_outsb() argument 111 buf = (u8 *) vbuf; in ei_outsb() 119 void ei_outsw(u32 addr, const void *vbuf, int len) in ei_outsw() argument 124 buf = (u16 *) vbuf; in ei_outsw()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-kthread-cap.c | 236 void *vbuf; in plane_vaddr() local 240 vbuf = vb2_plane_vaddr(&buf->vb, 0); in plane_vaddr() 242 vbuf += bpl[i] * h / tpg->vdownsampling[i]; in plane_vaddr() 243 return vbuf; in plane_vaddr() 467 void *vbuf = plane_vaddr(tpg, buf, p, in vivid_fillbuff() local 476 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff() 478 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff() 480 tpg_calc_text_basep(tpg, basep, p, vbuf); in vivid_fillbuff() 481 if (!is_loop || vivid_copy_buffer(dev, p, vbuf, buf)) in vivid_fillbuff() 482 tpg_fill_plane_buffer(tpg, vivid_get_std_cap(dev), p, vbuf); in vivid_fillbuff() [all …]
|
D | vivid-tpg.c | 1643 u8 *basep[TPG_MAX_PLANES][2], unsigned p, u8 *vbuf) in tpg_calc_text_basep() argument 1650 basep[p][0] = vbuf; in tpg_calc_text_basep() 1651 basep[p][1] = vbuf; in tpg_calc_text_basep() 1658 tpg_calc_text_basep(tpg, basep, 1, vbuf); in tpg_calc_text_basep() 1755 unsigned p, unsigned h, u8 *vbuf) in tpg_fill_plane_extras() argument 1772 memcpy(vbuf, wss, params->wss_width); in tpg_fill_plane_extras() 1783 memcpy(vbuf + left, tpg->contrast_line[p], in tpg_fill_plane_extras() 1788 memcpy(vbuf + left, in tpg_fill_plane_extras() 1792 memcpy(vbuf + right - twopixsize, in tpg_fill_plane_extras() 1798 memcpy(vbuf, tpg->black_line[p], params->left_pillar_width); in tpg_fill_plane_extras() [all …]
|
D | vivid-vbi-cap.c | 97 u8 *vbuf = vb2_plane_vaddr(&buf->vb, 0); in vivid_raw_vbi_cap_process() local 106 memset(vbuf, 0x10, vb2_plane_size(&buf->vb, 0)); in vivid_raw_vbi_cap_process() 109 vivid_vbi_gen_raw(&dev->vbi_gen, &vbi, vbuf); in vivid_raw_vbi_cap_process() 118 struct v4l2_sliced_vbi_data *vbuf = vb2_plane_vaddr(&buf->vb, 0); in vivid_sliced_vbi_cap_process() local 126 memset(vbuf, 0, vb2_plane_size(&buf->vb, 0)); in vivid_sliced_vbi_cap_process() 131 vbuf[i] = dev->vbi_gen.data[i]; in vivid_sliced_vbi_cap_process()
|
D | vivid-sdr-cap.c | 433 u8 *vbuf = vb2_plane_vaddr(&buf->vb, 0); in vivid_sdr_cap_process() local 484 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process() 485 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
|
D | vivid-tpg.h | 200 u8 *basep[TPG_MAX_PLANES][2], unsigned p, u8 *vbuf); 203 unsigned p, u8 *vbuf); 205 unsigned p, u8 *vbuf);
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | dt_object.c | 506 struct lu_buf vbuf; in dt_declare_version_set() local 510 vbuf.lb_buf = NULL; in dt_declare_version_set() 511 vbuf.lb_len = sizeof(dt_obj_version_t); in dt_declare_version_set() 512 return dt_declare_xattr_set(env, o, &vbuf, xname, 0, th); in dt_declare_version_set() 520 struct lu_buf vbuf; in dt_version_set() local 525 vbuf.lb_buf = &version; in dt_version_set() 526 vbuf.lb_len = sizeof(version); in dt_version_set() 528 rc = dt_xattr_set(env, o, &vbuf, xname, 0, th, BYPASS_CAPA); in dt_version_set() 537 struct lu_buf vbuf; in dt_version_get() local 543 vbuf.lb_buf = &version; in dt_version_get() [all …]
|
/linux-4.1.27/drivers/staging/unisys/virtpci/ |
D | virtpci.c | 1277 char *vbuf; in info_debugfs_read() local 1281 vbuf = kzalloc(len, GFP_KERNEL); in info_debugfs_read() 1282 if (!vbuf) in info_debugfs_read() 1285 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1288 printparam.buf = vbuf; in info_debugfs_read() 1293 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1299 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1310 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1318 str_pos += scnprintf(vbuf + str_pos, in info_debugfs_read() 1325 str_pos += scnprintf(vbuf + str_pos, len - str_pos, "\n"); in info_debugfs_read() [all …]
|
/linux-4.1.27/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 261 static void io_free(struct pci_dev *pdev, u8 **vbuf, in io_free() argument 267 if (vbuf[i]) { in io_free() 268 pci_free_consistent(pdev, size, vbuf[i], pbuf[i]); in io_free() 269 vbuf[i] = NULL; in io_free() 274 static int io_alloc(struct pci_dev *pdev, u8 **vbuf, in io_alloc() argument 280 vbuf[i] = pci_alloc_consistent(pdev, size, &pbuf[i]); in io_alloc() 281 if (!vbuf[i]) in io_alloc() 296 if (io_alloc(dev->pdev, port->input[0]->vbuf, in ddb_buffers_alloc() 301 if (io_alloc(dev->pdev, port->input[1]->vbuf, in ddb_buffers_alloc() 308 if (io_alloc(dev->pdev, port->input[0]->vbuf, in ddb_buffers_alloc() [all …]
|
D | ddbridge.h | 79 u8 *vbuf[INPUT_DMA_MAX_BUFS]; member 108 u8 *vbuf[OUTPUT_DMA_MAX_BUFS]; member
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 318 struct sg_table *vbuf, int off, int size, in solo_send_desc() argument 331 for_each_sg(vbuf->sgl, sg, vbuf->nents, i) { in solo_send_desc() 462 struct sg_table *vbuf = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_jpeg() local 473 return solo_send_desc(solo_enc, solo_enc->jpeg_len, vbuf, in solo_fill_jpeg() 483 struct sg_table *vbuf = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_mpeg() local 508 return solo_send_desc(solo_enc, skip, vbuf, frame_off, frame_size, in solo_fill_mpeg() 745 struct sg_table *vbuf = vb2_dma_sg_plane_desc(vb, 0); in solo_enc_buf_finish() local 751 sg_copy_from_buffer(vbuf->sgl, vbuf->nents, in solo_enc_buf_finish() 755 sg_copy_from_buffer(vbuf->sgl, vbuf->nents, in solo_enc_buf_finish()
|
D | solo6x10-v4l2.c | 194 dma_addr_t vbuf; in solo_fillbuf() local 199 vbuf = vb2_dma_contig_plane_dma_addr(vb, 0); in solo_fillbuf() 200 if (!vbuf) in solo_fillbuf() 216 error = solo_p2m_dma_t(solo_dev, 0, vbuf, fdma_addr, in solo_fillbuf()
|
/linux-4.1.27/drivers/staging/unisys/virthba/ |
D | virthba.c | 1220 char *vbuf; in info_debugfs_read() local 1224 vbuf = kzalloc(len, GFP_KERNEL); in info_debugfs_read() 1225 if (!vbuf) in info_debugfs_read() 1234 str_pos += scnprintf(vbuf + str_pos, in info_debugfs_read() 1238 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1241 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1245 str_pos += scnprintf(vbuf + str_pos, in info_debugfs_read() 1250 str_pos += scnprintf(vbuf + str_pos, len - str_pos, in info_debugfs_read() 1254 str_pos += scnprintf(vbuf + str_pos, in info_debugfs_read() 1257 str_pos += scnprintf(vbuf + str_pos, len - str_pos, "\n"); in info_debugfs_read() [all …]
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
D | tm6000-video.c | 141 struct tm6000_buffer *vbuf = NULL; in copy_streams() local 147 get_next_buf(dma_q, &vbuf); in copy_streams() 149 if (!vbuf) in copy_streams() 151 voutp = videobuf_to_vmalloc(&vbuf->vb); in copy_streams() 213 buffer_filled(dev, dma_q, vbuf); in copy_streams() 216 get_next_buf(dma_q, &vbuf); in copy_streams() 217 if (!vbuf) in copy_streams() 219 voutp = videobuf_to_vmalloc(&vbuf->vb); in copy_streams() 222 memset(voutp, 0, vbuf->vb.size); in copy_streams() 224 linewidth = vbuf->vb.width << 1; in copy_streams() [all …]
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 330 struct camif_buffer *vbuf; in s3c_camif_irq_handler() local 341 vbuf = camif_active_queue_peek(vp, index); in s3c_camif_irq_handler() 343 if (!WARN_ON(vbuf == NULL)) { in s3c_camif_irq_handler() 345 tv = &vbuf->vb.v4l2_buf.timestamp; in s3c_camif_irq_handler() 348 vbuf->vb.v4l2_buf.sequence = vp->frame_sequence++; in s3c_camif_irq_handler() 349 vb2_buffer_done(&vbuf->vb, VB2_BUF_STATE_DONE); in s3c_camif_irq_handler() 352 vbuf = camif_pending_queue_pop(vp); in s3c_camif_irq_handler() 353 vbuf->index = index; in s3c_camif_irq_handler() 354 camif_hw_set_output_addr(vp, &vbuf->paddr, index); in s3c_camif_irq_handler() 355 camif_hw_set_output_addr(vp, &vbuf->paddr, index + 2); in s3c_camif_irq_handler() [all …]
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 255 struct flite_buffer *vbuf; in flite_irq_handler() local 288 vbuf = fimc_lite_pending_queue_pop(fimc); in flite_irq_handler() 289 flite_hw_set_dma_buffer(fimc, vbuf); in flite_irq_handler() 290 fimc_lite_active_queue_add(fimc, vbuf); in flite_irq_handler() 296 vbuf = fimc_lite_active_queue_pop(fimc); in flite_irq_handler() 298 tv = &vbuf->vb.v4l2_buf.timestamp; in flite_irq_handler() 301 vbuf->vb.v4l2_buf.sequence = fimc->frame_count++; in flite_irq_handler() 302 flite_hw_mask_dma_buffer(fimc, vbuf->index); in flite_irq_handler() 303 vb2_buffer_done(&vbuf->vb, VB2_BUF_STATE_DONE); in flite_irq_handler()
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-417.c | 1272 void *vbuf; in buffer_copy() local 1288 vbuf = videobuf_to_vmalloc(&buf->vb); in buffer_copy() 1294 memcpy(vbuf+dma_q->mpeg_buffer_completed, in buffer_copy() 1301 memcpy(vbuf+dma_q->mpeg_buffer_completed, data, len); in buffer_copy() 1309 memcpy(vbuf+dma_q->mpeg_buffer_completed, in buffer_copy() 1331 void *vbuf; in buffer_filled() local 1341 vbuf = videobuf_to_vmalloc(&buf->vb); in buffer_filled() 1342 memcpy(vbuf, data, len); in buffer_filled()
|
/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 236 struct vb2_buffer *vbuf) in mcam_buffer_done() argument 238 vbuf->v4l2_buf.bytesused = cam->pix_format.sizeimage; in mcam_buffer_done() 239 vbuf->v4l2_buf.sequence = cam->buf_seq[frame]; in mcam_buffer_done() 240 vb2_set_plane_payload(vbuf, 0, cam->pix_format.sizeimage); in mcam_buffer_done() 241 vb2_buffer_done(vbuf, VB2_BUF_STATE_DONE); in mcam_buffer_done()
|
/linux-4.1.27/drivers/media/usb/s2255/ |
D | s2255drv.c | 615 char *vbuf = vb2_plane_vaddr(&buf->vb, 0); in s2255_fillbuff() local 619 if (!vbuf) in s2255_fillbuff() 629 vbuf, vc->width, in s2255_fillbuff() 634 memcpy(vbuf, tmpbuf, vc->width * vc->height); in s2255_fillbuff() 639 memcpy(vbuf, tmpbuf, jpgsize); in s2255_fillbuff() 642 memcpy(vbuf, tmpbuf, in s2255_fillbuff() 654 (unsigned long)vbuf, pos); in s2255_fillbuff()
|
/linux-4.1.27/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 505 char *vbuf = videobuf_to_vmalloc(&buf->vb); in zr364xx_fillbuff() local 508 if (!vbuf) in zr364xx_fillbuff() 517 memcpy(vbuf, tmpbuf, buf->vb.size); in zr364xx_fillbuff() 528 (unsigned long)vbuf, pos); in zr364xx_fillbuff()
|