/kernel/linux/linux-5.10/include/media/ |
H A D | media-entity.h | 69 * media_entity->internal_idx. 83 * @stack.entity: pointer to &struct media_entity at the graph. 90 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, 251 * struct media_entity - A media entity graph object. 255 * @obj_type: Type of the object that implements the media_entity. 290 struct media_entity { struct [all...] |
H A D | media-device.h | 39 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); 246 * - &media_entity.dev must point to the parent device (usually a &pci_dev, 249 * - &media_entity.model must be filled with the device model name as a 255 * - &media_entity.serial is a unique serial number stored as a 260 * - &media_entity.bus_info represents the location of the device in the 262 * &media_entity.bus_info must be set to "PCI:" (or "PCIe:") followed by 267 * - &media_entity.hw_revision is the hardware device revision in a 308 * @entity: pointer to struct &media_entity t [all...] |
H A D | v4l2-mc.h | 143 * struct media_entity.use_count to track the power status. The use 148 int v4l2_pipeline_pm_get(struct media_entity *entity); 157 * struct media_entity.use_count to track the power status. The use 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()
|
/kernel/linux/linux-6.6/include/media/ |
H A D | media-entity.h | 71 * media_entity->internal_idx. 85 * @stack.entity: pointer to &struct media_entity at the graph. 92 struct media_entity *entity; 187 struct media_entity *entity; 238 struct media_entity *entity; 279 int (*get_fwnode_pad)(struct media_entity *entity, 281 int (*link_setup)(struct media_entity *entity, 285 bool (*has_pad_interdep)(struct media_entity *entity, unsigned int pad0, 317 * struct media_entity - A media entity graph object. 321 * @obj_type: Type of the object that implements the media_entity 353 struct media_entity { global() struct [all...] |
H A D | media-device.h | 40 void (*notify)(struct media_entity *entity, void *notify_data); 175 int (*enable_source)(struct media_entity *entity, 177 void (*disable_source)(struct media_entity *entity); 299 * @entity: pointer to struct &media_entity to be registered 308 * The media_entity name, type and flags fields should be initialized before 314 * this function. Otherwise, the &media_entity.pad and &media_entity.num_pads 331 struct media_entity *entity); 336 * @entity: pointer to struct &media_entity to be unregistered 349 * The media_entity instanc [all...] |
H A D | v4l2-mc.h | 149 * struct media_entity.use_count to track the power status. The use 154 int v4l2_pipeline_pm_get(struct media_entity *entity); 163 * struct media_entity.use_count to track the power status. The use 166 void v4l2_pipeline_pm_put(struct media_entity *entity); 208 static inline int v4l2_pipeline_pm_get(struct media_entity *entity) in v4l2_pipeline_pm_get() 213 static inline void v4l2_pipeline_pm_put(struct media_entity *entity) in v4l2_pipeline_pm_put()
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | media.c | 42 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...] |
H A D | media.h | 30 struct media_entity media_entity; member 46 struct media_entity media_entity; member
|
/kernel/linux/linux-6.6/sound/usb/ |
H A D | media.c | 42 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...] |
H A D | media.h | 30 struct media_entity media_entity; member 46 struct media_entity media_entity; member
|
/kernel/linux/linux-5.10/drivers/media/mc/ |
H A D | mc-entity.c | 197 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_nex [all...] |
/kernel/linux/linux-6.6/drivers/media/mc/ |
H A D | mc-entity.c | 194 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() 253 static bool media_entity_has_pad_interdep(struct media_entity *entity, in media_entity_has_pad_interdep() 269 static struct media_entity * 270 media_entity_other(struct media_entity *entity, struct media_link *link) in media_entity_other() 280 struct media_entity *entity) in stack_push() 291 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() 293 struct media_entity *entity; in stack_pop() 333 struct media_entity *entity) in media_graph_walk_start() 348 struct media_entity *entity = stack_top(graph); in media_graph_walk_iter() 350 struct media_entity *nex in media_graph_walk_iter() [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 25 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 *entit [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 25 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() 442 static int pipeline_pm_use_count(struct media_entity *entity, in pipeline_pm_use_count() 468 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one() 501 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() 504 struct media_entity *first = entity; in pipeline_pm_power() 529 static int v4l2_pipeline_pm_use(struct media_entity *entity, unsigned int use) in v4l2_pipeline_pm_use() 551 int v4l2_pipeline_pm_get(struct media_entity *entit [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss.h | 131 struct media_entity *camss_find_sensor(struct media_entity *entity); 132 s64 camss_get_link_freq(struct media_entity *entity, unsigned int bpp, 134 int camss_get_pixel_clock(struct media_entity *entity, u64 *pixel_clock);
|
/kernel/linux/linux-5.10/drivers/media/usb/au0828/ |
H A D | au0828.h | 271 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;
|
H A D | au0828-core.c | 121 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 *entit in au0828_media_device_register() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/au0828/ |
H A D | au0828.h | 271 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;
|
H A D | au0828-core.c | 121 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 *entit in au0828_media_device_register() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media.h | 213 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,
|
H A D | imx-media-utils.c | 706 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 *entit in imx_media_pipeline_set_stream() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispcsiphy.h | 28 struct media_entity *entity; 38 struct media_entity *entity);
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsiphy.h | 28 struct media_entity *entity; 38 struct media_entity *entity);
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss.h | 109 struct media_entity *camss_find_sensor(struct media_entity *entity); 110 int camss_get_pixel_clock(struct media_entity *entity, u32 *pixel_clock);
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/ |
H A D | vimc-streamer.c | 18 * @ent: reference media_entity 25 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()
|