Home
last modified time | relevance | path

Searched defs:vb (Results 1 – 25 of 269) sorted by relevance

1234567891011

/linux-6.1.9/drivers/virtio/
Dvirtio_balloon.c140 struct virtio_balloon *vb = vq->vdev->priv; in balloon_ack() local
145 static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq) in tell_host()
164 struct virtio_balloon *vb = in virtballoon_free_page_report() local
188 static void set_page_pfns(struct virtio_balloon *vb, in set_page_pfns()
204 static unsigned int fill_balloon(struct virtio_balloon *vb, size_t num) in fill_balloon()
254 static void release_pages_balloon(struct virtio_balloon *vb, in release_pages_balloon()
268 static unsigned int leak_balloon(struct virtio_balloon *vb, size_t num) in leak_balloon()
304 static inline void update_stat(struct virtio_balloon *vb, int idx, in update_stat()
314 static unsigned int update_balloon_stats(struct virtio_balloon *vb) in update_balloon_stats()
365 struct virtio_balloon *vb = vq->vdev->priv; in stats_request() local
[all …]
/linux-6.1.9/drivers/media/common/videobuf2/
Dvideobuf2-core.c54 #define log_memop(vb, op) \ argument
59 #define call_memop(vb, op, args...) \ argument
71 #define call_ptr_memop(op, vb, args...) \ argument
83 #define call_void_memop(vb, op, args...) \ argument
116 #define log_vb_qop(vb, op, args...) \ argument
121 #define call_vb_qop(vb, op, args...) \ argument
133 #define call_void_vb_qop(vb, op, args...) \ argument
143 #define call_memop(vb, op, args...) \ argument
147 #define call_ptr_memop(op, vb, args...) \ argument
151 #define call_void_memop(vb, op, args...) \ argument
[all …]
Dvideobuf2-v4l2.c64 static int __verify_planes_array(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_planes_array()
86 static int __verify_planes_array_core(struct vb2_buffer *vb, const void *pb) in __verify_planes_array_core()
95 static int __verify_length(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_length()
134 static void __init_vb2_v4l2_buffer(struct vb2_buffer *vb) in __init_vb2_v4l2_buffer()
141 static void __copy_timestamp(struct vb2_buffer *vb, const void *pb) in __copy_timestamp()
160 static void vb2_warn_zero_bytesused(struct vb2_buffer *vb) in vb2_warn_zero_bytesused()
176 static int vb2_fill_vb2_v4l2_buffer(struct vb2_buffer *vb, struct v4l2_buffer *b) in vb2_fill_vb2_v4l2_buffer()
345 struct vb2_buffer *vb, in set_buffer_cache_hints()
373 struct vb2_buffer *vb; in vb2_queue_or_prepare_buf() local
492 static void __fill_v4l2_buffer(struct vb2_buffer *vb, void *pb) in __fill_v4l2_buffer()
[all …]
Dvideobuf2-dma-contig.c45 struct vb2_buffer *vb; member
73 static void *vb2_dc_cookie(struct vb2_buffer *vb, void *buf_priv) in vb2_dc_cookie()
94 static void *vb2_dc_vaddr(struct vb2_buffer *vb, void *buf_priv) in vb2_dc_vaddr()
231 static void *vb2_dc_alloc(struct vb2_buffer *vb, in vb2_dc_alloc()
507 static struct dma_buf *vb2_dc_get_dmabuf(struct vb2_buffer *vb, in vb2_dc_get_dmabuf()
571 static void *vb2_dc_get_userptr(struct vb2_buffer *vb, struct device *dev, in vb2_dc_get_userptr()
775 static void *vb2_dc_attach_dmabuf(struct vb2_buffer *vb, struct device *dev, in vb2_dc_attach_dmabuf()
Dvideobuf2-dma-sg.c55 struct vb2_buffer *vb; member
101 static void *vb2_dma_sg_alloc(struct vb2_buffer *vb, struct device *dev, in vb2_dma_sg_alloc()
223 static void *vb2_dma_sg_get_userptr(struct vb2_buffer *vb, struct device *dev, in vb2_dma_sg_get_userptr()
302 static void *vb2_dma_sg_vaddr(struct vb2_buffer *vb, void *buf_priv) in vb2_dma_sg_vaddr()
522 static struct dma_buf *vb2_dma_sg_get_dmabuf(struct vb2_buffer *vb, in vb2_dma_sg_get_dmabuf()
618 static void *vb2_dma_sg_attach_dmabuf(struct vb2_buffer *vb, struct device *dev, in vb2_dma_sg_attach_dmabuf()
651 static void *vb2_dma_sg_cookie(struct vb2_buffer *vb, void *buf_priv) in vb2_dma_sg_cookie()
Dvideobuf2-vmalloc.c37 static void *vb2_vmalloc_alloc(struct vb2_buffer *vb, struct device *dev, in vb2_vmalloc_alloc()
73 static void *vb2_vmalloc_get_userptr(struct vb2_buffer *vb, struct device *dev, in vb2_vmalloc_get_userptr()
148 static void *vb2_vmalloc_vaddr(struct vb2_buffer *vb, void *buf_priv) in vb2_vmalloc_vaddr()
341 static struct dma_buf *vb2_vmalloc_get_dmabuf(struct vb2_buffer *vb, in vb2_vmalloc_get_dmabuf()
407 static void *vb2_vmalloc_attach_dmabuf(struct vb2_buffer *vb, in vb2_vmalloc_attach_dmabuf()
/linux-6.1.9/drivers/gpio/
Dgpio-viperboard.c69 struct vprbrd *vb; member
86 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_get() local
136 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_set() local
177 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_direction_input() local
214 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_direction_output() local
254 static int vprbrd_gpiob_setdir(struct vprbrd *vb, unsigned int offset, in vprbrd_gpiob_setdir()
281 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_get() local
312 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_set() local
345 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_direction_input() local
366 struct vprbrd *vb = gpio->vb; in vprbrd_gpiob_direction_output() local
[all …]
/linux-6.1.9/drivers/i2c/busses/
Di2c-viperboard.c40 struct vprbrd *vb = (struct vprbrd *)i2c->algo_data; in vprbrd_i2c_status() local
113 static int vprbrd_i2c_read(struct vprbrd *vb, struct i2c_msg *msg) in vprbrd_i2c_read()
218 static int vprbrd_i2c_write(struct vprbrd *vb, struct i2c_msg *msg) in vprbrd_i2c_write()
271 struct vprbrd *vb = (struct vprbrd *)i2c->algo_data; in vprbrd_i2c_xfer() local
359 struct vprbrd *vb = dev_get_drvdata(pdev->dev.parent); in vprbrd_i2c_probe() local
/linux-6.1.9/block/partitions/
Dldm.c574 struct vblk *vb; in ldm_create_data_partitions() local
720 static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_cmp3()
770 static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr3()
811 static bool ldm_parse_dgr4 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr4()
849 static bool ldm_parse_dsk3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dsk3()
888 static bool ldm_parse_dsk4 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dsk4()
921 static bool ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_prt3()
995 static bool ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_vol5()
1104 static bool ldm_parse_vblk (const u8 *buf, int len, struct vblk *vb) in ldm_parse_vblk()
1158 struct vblk *vb; in ldm_ldmdb_add() local
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_v4l2.c37 dma_addr_t vpu_get_vb_phy_addr(struct vb2_buffer *vb, u32 plane_no) in vpu_get_vb_phy_addr()
45 unsigned int vpu_get_vb_length(struct vb2_buffer *vb, u32 plane_no) in vpu_get_vb_length()
409 static int vpu_vb2_buf_init(struct vb2_buffer *vb) in vpu_vb2_buf_init()
417 static int vpu_vb2_buf_out_validate(struct vb2_buffer *vb) in vpu_vb2_buf_out_validate()
426 static int vpu_vb2_buf_prepare(struct vb2_buffer *vb) in vpu_vb2_buf_prepare()
445 static void vpu_vb2_buf_finish(struct vb2_buffer *vb) in vpu_vb2_buf_finish()
520 static void vpu_vb2_buf_queue(struct vb2_buffer *vb) in vpu_vb2_buf_queue()
/linux-6.1.9/drivers/iio/adc/
Dviperboard_adc.c32 struct vprbrd *vb; member
57 struct vprbrd *vb = adc->vb; in vprbrd_iio_read_raw() local
109 struct vprbrd *vb = dev_get_drvdata(pdev->dev.parent); in vprbrd_adc_probe() local
/linux-6.1.9/drivers/media/usb/go7007/
Dgo7007-driver.c379 static inline void store_byte(struct go7007_buffer *vb, u8 byte) in store_byte()
388 static void go7007_set_motion_regions(struct go7007 *go, struct go7007_buffer *vb, in go7007_set_motion_regions()
410 static void go7007_motion_regions(struct go7007 *go, struct go7007_buffer *vb) in go7007_motion_regions()
439 static struct go7007_buffer *frame_boundary(struct go7007 *go, struct go7007_buffer *vb) in frame_boundary()
498 struct go7007_buffer *vb = go->active_buf; in go7007_parse_video_stream() local
/linux-6.1.9/drivers/media/platform/rockchip/rga/
Drga-buf.c38 static int rga_buf_prepare(struct vb2_buffer *vb) in rga_buf_prepare()
51 static void rga_buf_queue(struct vb2_buffer *vb) in rga_buf_queue()
113 void rga_buf_map(struct vb2_buffer *vb) in rga_buf_map()
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-meta-out.c40 static int meta_out_buf_prepare(struct vb2_buffer *vb) in meta_out_buf_prepare()
65 static void meta_out_buf_queue(struct vb2_buffer *vb) in meta_out_buf_queue()
114 static void meta_out_buf_request_complete(struct vb2_buffer *vb) in meta_out_buf_request_complete()
Dvivid-meta-cap.c40 static int meta_cap_buf_prepare(struct vb2_buffer *vb) in meta_cap_buf_prepare()
65 static void meta_cap_buf_queue(struct vb2_buffer *vb) in meta_cap_buf_queue()
114 static void meta_cap_buf_request_complete(struct vb2_buffer *vb) in meta_cap_buf_request_complete()
/linux-6.1.9/drivers/mfd/
Dviperboard.c50 struct vprbrd *vb; in vprbrd_probe() local
109 struct vprbrd *vb = usb_get_intfdata(interface); in vprbrd_disconnect() local
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c116 static int tegra_buf_out_validate(struct vb2_buffer *vb) in tegra_buf_out_validate()
124 static void __tegra_buf_cleanup(struct vb2_buffer *vb, unsigned int i) in __tegra_buf_cleanup()
148 static int tegra_buf_init(struct vb2_buffer *vb) in tegra_buf_init()
212 static void tegra_buf_cleanup(struct vb2_buffer *vb) in tegra_buf_cleanup()
217 static int tegra_buf_prepare(struct vb2_buffer *vb) in tegra_buf_prepare()
281 static void tegra_buf_queue(struct vb2_buffer *vb) in tegra_buf_queue()
289 static void tegra_buf_request_complete(struct vb2_buffer *vb) in tegra_buf_request_complete()
/linux-6.1.9/drivers/media/usb/pwc/
Dpwc-if.c638 static int buffer_init(struct vb2_buffer *vb) in buffer_init()
652 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare()
663 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish()
681 static void buffer_cleanup(struct vb2_buffer *vb) in buffer_cleanup()
690 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue()
/linux-6.1.9/drivers/media/usb/au0828/
Dau0828-vbi.c34 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare()
52 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue()
/linux-6.1.9/drivers/media/pci/cx23885/
Dcx23885-vbi.c128 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare()
152 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish()
182 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue()
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-vbi.c44 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare()
64 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue()
/linux-6.1.9/drivers/media/pci/cx88/
Dcx88-vbi.c129 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare()
153 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish()
166 static void buffer_queue(struct vb2_buffer *vb) in buffer_queue()
/linux-6.1.9/drivers/media/dvb-core/
Ddvb_vb2.c50 static int _buffer_prepare(struct vb2_buffer *vb) in _buffer_prepare()
67 static void _buffer_queue(struct vb2_buffer *vb) in _buffer_queue()
133 static void _fill_dmx_buffer(struct vb2_buffer *vb, void *pb) in _fill_dmx_buffer()
145 static int _fill_vb2_buffer(struct vb2_buffer *vb, struct vb2_plane *planes) in _fill_vb2_buffer()
/linux-6.1.9/drivers/media/pci/dt3155/
Ddt3155.c140 static int dt3155_buf_prepare(struct vb2_buffer *vb) in dt3155_buf_prepare()
151 struct vb2_buffer *vb = &pd->curr_buf->vb2_buf; in dt3155_start_streaming() local
179 struct vb2_buffer *vb; in dt3155_stop_streaming() local
211 static void dt3155_buf_queue(struct vb2_buffer *vb) in dt3155_buf_queue()
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateful.c62 struct vb2_v4l2_buffer *vb; in get_display_buffer() local
104 struct vb2_v4l2_buffer *vb; in get_free_buffer() local
413 static void vb2ops_vdec_stateful_buf_queue(struct vb2_buffer *vb) in vb2ops_vdec_stateful_buf_queue()

1234567891011