Home
last modified time | relevance | path

Searched refs:media_entity (Results 1 – 25 of 108) sorted by relevance

12345

/Linux-v5.10/include/media/
Dmedia-entity.h90 struct media_entity *entity;
143 struct media_entity *entity;
191 struct media_entity *entity;
215 int (*get_fwnode_pad)(struct media_entity *entity,
217 int (*link_setup)(struct media_entity *entity,
290 struct media_entity { struct
363 static inline u32 media_entity_id(struct media_entity *entity) in media_entity_id()
412 static inline bool is_media_entity_v4l2_video_device(struct media_entity *entity) in is_media_entity_v4l2_video_device()
425 static inline bool is_media_entity_v4l2_subdev(struct media_entity *entity) in is_media_entity_v4l2_subdev()
465 struct media_entity *entity) in media_entity_enum_set()
[all …]
Dmedia-device.h39 void (*notify)(struct media_entity *entity, void *notify_data);
174 int (*enable_source)(struct media_entity *entity,
176 void (*disable_source)(struct media_entity *entity);
340 struct media_entity *entity);
361 void media_device_unregister_entity(struct media_entity *entity);
449 struct media_entity *entity) in media_device_register_entity()
453 static inline void media_device_unregister_entity(struct media_entity *entity) in media_device_unregister_entity()
Dv4l2-mc.h148 int v4l2_pipeline_pm_get(struct media_entity *entity);
160 void v4l2_pipeline_pm_put(struct media_entity *entity);
202 static inline int v4l2_pipeline_pm_get(struct media_entity *entity) in v4l2_pipeline_pm_get()
207 static inline void v4l2_pipeline_pm_put(struct media_entity *entity) in v4l2_pipeline_pm_put()
Ddvbdev.h120 struct media_entity *conn;
183 struct media_entity *entity, *tsout_entity;
/Linux-v5.10/sound/usb/
Dmedia.c42 struct media_entity *entity; in snd_media_stream_init()
59 mctl->media_entity.function = MEDIA_ENT_F_AUDIO_PLAYBACK; in snd_media_stream_init()
64 mctl->media_entity.function = MEDIA_ENT_F_AUDIO_CAPTURE; in snd_media_stream_init()
68 mctl->media_entity.name = pcm->name; in snd_media_stream_init()
69 media_entity_pads_init(&mctl->media_entity, 1, &mctl->media_pad); in snd_media_stream_init()
71 &mctl->media_entity); in snd_media_stream_init()
82 mctl->intf_link = media_create_intf_link(&mctl->media_entity, in snd_media_stream_init()
95 &mctl->media_entity, 0, in snd_media_stream_init()
111 media_device_unregister_entity(&mctl->media_entity); in snd_media_stream_init()
127 media_device_unregister_entity(&mctl->media_entity); in snd_media_stream_delete()
[all …]
Dmedia.h30 struct media_entity media_entity; member
46 struct media_entity media_entity; member
/Linux-v5.10/drivers/media/mc/
Dmc-entity.c197 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init()
231 static struct media_entity *
232 media_entity_other(struct media_entity *entity, struct media_link *link) in media_entity_other()
242 struct media_entity *entity) in stack_push()
253 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop()
255 struct media_entity *entity; in stack_pop()
295 struct media_entity *entity) in media_graph_walk_start()
310 struct media_entity *entity = stack_top(graph); in media_graph_walk_iter()
312 struct media_entity *next; in media_graph_walk_iter()
345 struct media_entity *media_graph_walk_next(struct media_graph *graph) in media_graph_walk_next()
[all …]
Dmc-device.c81 static struct media_entity *find_entity(struct media_device *mdev, u32 id) in find_entity()
83 struct media_entity *entity; in find_entity()
101 struct media_entity *ent; in media_device_enum_entities()
154 struct media_entity *entity; in media_device_enum_links()
204 struct media_entity *source; in media_device_setup_link()
205 struct media_entity *sink; in media_device_setup_link()
233 struct media_entity *entity; in media_device_get_topology()
579 static void __media_device_unregister_entity(struct media_entity *entity) in __media_device_unregister_entity()
617 struct media_entity *entity) in media_device_register_entity()
681 void media_device_unregister_entity(struct media_entity *entity) in media_device_unregister_entity()
[all …]
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-mc.c25 struct media_entity *entity; in v4l2_mc_create_media_graph()
26 struct media_entity *if_vid = NULL, *if_aud = NULL; in v4l2_mc_create_media_graph()
27 struct media_entity *tuner = NULL, *decoder = NULL; in v4l2_mc_create_media_graph()
28 struct media_entity *io_v4l = NULL, *io_vbi = NULL, *io_swradio = NULL; in v4l2_mc_create_media_graph()
434 static int pipeline_pm_use_count(struct media_entity *entity, in pipeline_pm_use_count()
460 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one()
493 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power()
496 struct media_entity *first = entity; in pipeline_pm_power()
521 static int v4l2_pipeline_pm_use(struct media_entity *entity, unsigned int use) in v4l2_pipeline_pm_use()
543 int v4l2_pipeline_pm_get(struct media_entity *entity) in v4l2_pipeline_pm_get()
[all …]
/Linux-v5.10/drivers/media/usb/au0828/
Dau0828.h271 struct media_entity *decoder;
272 struct media_entity input_ent[AU0828_MAX_INPUT];
275 struct media_entity *tuner;
277 struct media_entity *active_source;
278 struct media_entity *active_sink;
279 struct media_entity *active_link_owner;
280 struct media_entity *active_link_user;
Dau0828-core.c121 static void au0828_media_graph_notify(struct media_entity *new,
211 static void au0828_media_graph_notify(struct media_entity *new, in au0828_media_graph_notify()
216 struct media_entity *entity, *mixer = NULL, *decoder = NULL; in au0828_media_graph_notify()
265 static bool au0828_is_link_shareable(struct media_entity *owner, in au0828_is_link_shareable()
266 struct media_entity *entity) in au0828_is_link_shareable()
288 static int au0828_enable_source(struct media_entity *entity, in au0828_enable_source()
291 struct media_entity *source, *find_source; in au0828_enable_source()
292 struct media_entity *sink; in au0828_enable_source()
442 static void au0828_disable_source(struct media_entity *entity) in au0828_disable_source()
563 struct media_entity *entity, *demod = NULL; in au0828_media_device_register()
/Linux-v5.10/drivers/media/platform/qcom/camss/
Dcamss.h109 struct media_entity *camss_find_sensor(struct media_entity *entity);
110 int camss_get_pixel_clock(struct media_entity *entity, u32 *pixel_clock);
/Linux-v5.10/drivers/media/platform/omap3isp/
Dispcsiphy.h28 struct media_entity *entity;
38 struct media_entity *entity);
/Linux-v5.10/drivers/staging/media/imx/
Dimx-media.h213 int imx_media_pipeline_csi2_channel(struct media_entity *start_entity);
215 imx_media_pipeline_pad(struct media_entity *start_entity, u32 grp_id,
218 imx_media_pipeline_subdev(struct media_entity *start_entity, u32 grp_id,
221 imx_media_pipeline_video_device(struct media_entity *start_entity,
238 struct media_entity *entity,
Dimx-media-utils.c706 imx_media_pipeline_pad(struct media_entity *start_entity, u32 grp_id, in imx_media_pipeline_pad()
709 struct media_entity *me = start_entity; in imx_media_pipeline_pad()
757 static struct media_entity *
758 find_pipeline_entity(struct media_entity *start, u32 grp_id, in find_pipeline_entity()
785 int imx_media_pipeline_csi2_channel(struct media_entity *start_entity) in imx_media_pipeline_csi2_channel()
805 imx_media_pipeline_subdev(struct media_entity *start_entity, u32 grp_id, in imx_media_pipeline_subdev()
808 struct media_entity *me; in imx_media_pipeline_subdev()
824 imx_media_pipeline_video_device(struct media_entity *start_entity, in imx_media_pipeline_video_device()
827 struct media_entity *me; in imx_media_pipeline_video_device()
874 struct media_entity *entity, in imx_media_pipeline_set_stream()
Dimx-media-dev-common.c70 struct media_entity *entity = srcpad->entity; in imx_media_add_vdev_to_pad()
139 struct media_entity *entity; in imx_media_alloc_pad_vdev_lists()
213 struct media_entity *entity) in imx_media_inherit_controls()
255 struct media_entity *source = link->source->entity; in imx_media_link_notify()
316 struct media_entity *entity = &sd->entity; in imx_media_notify()
/Linux-v5.10/drivers/media/test-drivers/vimc/
Dvimc-streamer.c25 static struct media_entity *vimc_get_source_entity(struct media_entity *ent) in vimc_get_source_entity()
82 struct media_entity *entity; in vimc_streamer_pipeline_init()
Dvimc-common.h103 struct media_entity *ent;
161 bool vimc_is_source(struct media_entity *ent);
/Linux-v5.10/include/media/drv-intf/
Dexynos-fimc.h128 struct media_entity *me);
130 int (*open)(struct exynos_media_pipeline *p, struct media_entity *me,
/Linux-v5.10/Documentation/driver-api/media/
Dmc-core.rst52 Entities are represented by a struct media_entity
148 struct media_entity *entity;
190 the struct media_entity includes a ``use_count``
195 The :c:type:`media_entity<media_entity>`.\ ``use_count`` field is owned by
220 pipeline through the struct media_entity
235 The :c:type:`media_entity`.\ ``pipe`` field is reset to ``NULL`` on the last
244 media_entity stream_count field to find out if an entity is streaming. This
252 :c:type:`media_entity`.\ ``link_validate()`` callback is used for that
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dmedia-dev.h58 struct media_entity *vdev_entity;
151 static inline struct fimc_md *entity_to_fimc_mdev(struct media_entity *me) in entity_to_fimc_mdev()
Dcommon.h11 struct v4l2_subdev *fimc_find_remote_sensor(struct media_entity *entity);
Dmedia-dev.c66 struct media_entity *me) in fimc_pipeline_prepare()
227 struct media_entity *me, bool prepare) in __fimc_pipeline_open()
815 struct media_entity *source, in __fimc_md_create_fimc_sink_links()
820 struct media_entity *sink; in __fimc_md_create_fimc_sink_links()
884 struct media_entity *source, *sink; in __fimc_md_create_flite_source_links()
915 struct media_entity *source, *sink; in __fimc_md_create_fimc_is_links()
961 struct media_entity *source, *sink; in fimc_md_create_links()
1130 static int __fimc_md_modify_pipeline(struct media_entity *entity, bool enable) in __fimc_md_modify_pipeline()
1162 static int __fimc_md_modify_pipelines(struct media_entity *entity, bool enable, in __fimc_md_modify_pipelines()
1165 struct media_entity *entity_err = entity; in __fimc_md_modify_pipelines()
[all …]
/Linux-v5.10/drivers/media/usb/uvc/
Duvc_entity.c21 struct media_entity *sink; in uvc_mc_create_links()
32 struct media_entity *source; in uvc_mc_create_links()
/Linux-v5.10/drivers/media/platform/xilinx/
Dxilinx-vipp.c38 struct media_entity *entity;
72 struct media_entity *local = entity->entity; in xvip_graph_build_one()
73 struct media_entity *remote; in xvip_graph_build_one()
189 struct media_entity *source; in xvip_graph_build_dma()
190 struct media_entity *sink; in xvip_graph_build_dma()

12345