/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_sink.c | 36 static void dc_sink_destruct(struct dc_sink *sink) in dc_sink_destruct() argument 38 if (sink->dc_container_id) { in dc_sink_destruct() 39 kfree(sink->dc_container_id); in dc_sink_destruct() 40 sink->dc_container_id = NULL; in dc_sink_destruct() 44 static bool dc_sink_construct(struct dc_sink *sink, const struct dc_sink_init_data *init_params) in dc_sink_construct() argument 52 sink->sink_signal = init_params->sink_signal; in dc_sink_construct() 53 sink->link = link; in dc_sink_construct() 54 sink->ctx = link->ctx; in dc_sink_construct() 55 sink->dongle_max_pix_clk = init_params->dongle_max_pix_clk; in dc_sink_construct() 56 sink in dc_sink_construct() 71 dc_sink_retain(struct dc_sink *sink) dc_sink_retain() argument 78 struct dc_sink *sink = container_of(kref, struct dc_sink, refcount); dc_sink_free() local 83 dc_sink_release(struct dc_sink *sink) dc_sink_release() argument 90 struct dc_sink *sink = kzalloc(sizeof(*sink), GFP_KERNEL); dc_sink_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_sink.c | 34 static bool dc_sink_construct(struct dc_sink *sink, const struct dc_sink_init_data *init_params) in dc_sink_construct() argument 42 sink->sink_signal = init_params->sink_signal; in dc_sink_construct() 43 sink->link = link; in dc_sink_construct() 44 sink->ctx = link->ctx; in dc_sink_construct() 45 sink->dongle_max_pix_clk = init_params->dongle_max_pix_clk; in dc_sink_construct() 46 sink->converter_disable_audio = init_params->converter_disable_audio; in dc_sink_construct() 47 sink->dc_container_id = NULL; in dc_sink_construct() 48 sink->sink_id = init_params->link->ctx->dc_sink_id_count; in dc_sink_construct() 60 void dc_sink_retain(struct dc_sink *sink) in dc_sink_retain() argument 62 kref_get(&sink in dc_sink_retain() 67 struct dc_sink *sink = container_of(kref, struct dc_sink, refcount); dc_sink_free() local 72 dc_sink_release(struct dc_sink *sink) dc_sink_release() argument 79 struct dc_sink *sink = kzalloc(sizeof(*sink), GFP_KERNEL); dc_sink_create() local [all...] |
H A D | dc_stream.c | 40 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument 42 if (sink->sink_signal == SIGNAL_TYPE_NONE) in update_stream_signal() 45 stream->signal = sink->sink_signal; in update_stream_signal() 50 sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal() 62 stream->sink = dc_sink_data; in dc_stream_construct() 132 dc_sink_release(stream->sink); in dc_stream_destruct() 160 struct dc_sink *sink) in dc_create_stream_for_sink() 164 if (sink == NULL) in dc_create_stream_for_sink() 171 if (dc_stream_construct(stream, sink) == false) in dc_create_stream_for_sink() 193 if (new_stream->sink) in dc_copy_stream() 159 dc_create_stream_for_sink( struct dc_sink *sink) dc_create_stream_for_sink() argument [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | lc.c | 305 /* The first DP IN port is sink 0 and second is sink 1 */ in tb_lc_dp_sink_from_port() 314 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument 328 if (!sink) { in tb_lc_dp_sink_available() 343 * tb_lc_dp_sink_query() - Is DP sink available for DP IN port 344 * @sw: Switch whose DP sink is queried 347 * Queries through LC SNK_ALLOCATION registers whether DP sink is available 352 int sink; in tb_lc_dp_sink_query() local 355 * For older generations sink is always available as there is no in tb_lc_dp_sink_query() 361 sink in tb_lc_dp_sink_query() 380 int ret, sink; tb_lc_dp_sink_alloc() local 427 int ret, sink; tb_lc_dp_sink_dealloc() local [all...] |
/kernel/linux/linux-5.10/drivers/media/mc/ |
H A D | mc-entity.c | 124 pad->flags & MEDIA_PAD_FL_SINK ? "sink " : "", in dev_dbg_obj() 235 return link->sink->entity; in media_entity_other() 322 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 451 struct media_pad *pad = link->sink->entity == entity in __media_pipeline_start() 452 ? link->sink : link->source; in __media_pipeline_start() 468 * sink ends of the link that are enabled. in __media_pipeline_start() 470 if (link->sink != pad || in __media_pipeline_start() 480 entity->name, link->sink->index, ret); in __media_pipeline_start() 608 remote = link->sink in __media_entity_remove_link() 659 media_create_pad_link(struct media_entity *source, u16 source_pad, struct media_entity *sink, u16 sink_pad, u32 flags) media_create_pad_link() argument 715 media_create_pad_links(const struct media_device *mdev, const u32 source_function, struct media_entity *source, const u16 source_pad, const u32 sink_function, struct media_entity *sink, const u16 sink_pad, u32 flags, const bool allow_both_undefined) media_create_pad_links() argument 834 struct media_entity *source, *sink; __media_entity_setup_link() local 889 media_entity_find_link(struct media_pad *source, struct media_pad *sink) media_entity_find_link() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/mc/ |
H A D | mc-entity.c | 121 pad->flags & MEDIA_PAD_FL_SINK ? "sink " : "", in dev_dbg_obj() 246 * One of @pad0 and @pad1 must be a sink pad and the other one a source pad. 273 return link->sink->entity; in media_entity_other() 366 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 612 link->sink->entity->name, link->sink->index); in media_pipeline_explore_next_link() 617 remote = link->sink; in media_pipeline_explore_next_link() 619 local = link->sink; in media_pipeline_explore_next_link() 813 * 2. Validate all active links whose sink i in __media_pipeline_start() 1113 media_create_pad_link(struct media_entity *source, u16 source_pad, struct media_entity *sink, u16 sink_pad, u32 flags) media_create_pad_link() argument 1177 media_create_pad_links(const struct media_device *mdev, const u32 source_function, struct media_entity *source, const u16 source_pad, const u32 sink_function, struct media_entity *sink, const u16 sink_pad, u32 flags, const bool allow_both_undefined) media_create_pad_links() argument 1296 struct media_pad *source, *sink; __media_entity_setup_link() local 1351 media_entity_find_link(struct media_pad *source, struct media_pad *sink) media_entity_find_link() argument [all...] |
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 127 struct coresight_device *sink; in free_sink_buffer() local 136 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 137 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 149 /* Free the sink buffers, if there are any */ in free_event_data() 213 struct coresight_device *sink = NULL; in etm_setup_aux() local 221 /* First get the selected sink from user space. */ in etm_setup_aux() 224 sink = coresight_get_sink_by_id(id); in etm_setup_aux() 252 * No sink provided - look for a default sink for one of the in etm_setup_aux() 254 * use the same sink [ in etm_setup_aux() 308 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); etm_event_start() local 366 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); etm_event_stop() local [all...] |
H A D | coresight-core.c | 28 * struct coresight_node - elements of a path, from source to sink 39 * path can exist from a tracer (associated to a CPU) to a sink. 469 * ETF devices are tricky... They can be a link or a sink, in coresight_disable_path_from() 471 * "activated" it will be configured as a sink, otherwise in coresight_disable_path_from() 521 * ETF devices are tricky... They can be a link or a sink, in coresight_enable_path() 523 * "activated" it will be configured as a sink, otherwise in coresight_enable_path() 536 * failed to enable the sink, there are no components in coresight_enable_path() 584 struct coresight_device *sink = NULL; in coresight_find_enabled_sink() local 599 sink = coresight_find_enabled_sink(child_dev); in coresight_find_enabled_sink() 600 if (sink) in coresight_find_enabled_sink() 755 _coresight_build_path(struct coresight_device *csdev, struct coresight_device *sink, struct list_head *path) _coresight_build_path() argument 803 coresight_build_path(struct coresight_device *source, struct coresight_device *sink) coresight_build_path() argument 880 coresight_select_best_sink(struct coresight_device *sink, int *depth, struct coresight_device *new_sink, int new_depth) coresight_select_best_sink() argument 939 struct coresight_device *child_dev, *sink = NULL; coresight_find_sink() local 989 struct coresight_device *sink = data; coresight_remove_sink_ref() local 1047 struct coresight_device *sink; coresight_enable() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 162 * Detect output sink type 262 struct dc_sink *sink) in read_scdc_caps() 268 sizeof(offset), sink->scdc_caps.manufacturer_OUI.byte, in read_scdc_caps() 269 sizeof(sink->scdc_caps.manufacturer_OUI.byte)); in read_scdc_caps() 274 sizeof(offset), &(sink->scdc_caps.device_id.byte), in read_scdc_caps() 275 sizeof(sink->scdc_caps.device_id.byte)); in read_scdc_caps() 760 struct dc_sink *sink, in verify_link_capability_destructive() 830 static void verify_link_capability(struct dc_link *link, struct dc_sink *sink, in verify_link_capability() argument 834 verify_link_capability_destructive(link, sink, reason); in verify_link_capability() 840 * detect_link_and_local_sink() - Detect if a sink i 261 read_scdc_caps(struct ddc_service *ddc_service, struct dc_sink *sink) read_scdc_caps() argument 759 verify_link_capability_destructive(struct dc_link *link, struct dc_sink *sink, enum dc_detect_reason reason) verify_link_capability_destructive() argument 858 struct dc_sink *sink = NULL; detect_link_and_local_sink() local 1347 link_add_remote_sink_helper(struct dc_link *dc_link, struct dc_sink *sink) link_add_remote_sink_helper() argument 1420 link_remove_remote_sink(struct dc_link *link, struct dc_sink *sink) link_remove_remote_sink() argument [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | lc.c | 476 /* The first DP IN port is sink 0 and second is sink 1 */ in tb_lc_dp_sink_from_port() 485 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument 499 if (!sink) { in tb_lc_dp_sink_available() 514 * tb_lc_dp_sink_query() - Is DP sink available for DP IN port 515 * @sw: Switch whose DP sink is queried 518 * Queries through LC SNK_ALLOCATION registers whether DP sink is available 523 int sink; in tb_lc_dp_sink_query() local 526 * For older generations sink is always available as there is no in tb_lc_dp_sink_query() 532 sink in tb_lc_dp_sink_query() 551 int ret, sink; tb_lc_dp_sink_alloc() local 598 int ret, sink; tb_lc_dp_sink_dealloc() local [all...] |
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 34 * the trace path and the sink configuration. The event data is accessible 35 * via perf_get_aux(handle). However, a sink could "end" a perf output 36 * handle via the IRQ handler. And if the "sink" encounters a failure 65 /* preset - if sink ID is used as a configuration selector */ 197 struct coresight_device *sink; in free_sink_buffer() local 206 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 207 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 219 /* Free the sink buffers, if there are any */ in free_event_data() 287 * so that they can use the same sink buffers, when an event 311 struct coresight_device *sink in etm_setup_aux() local 451 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); etm_event_start() local 540 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); etm_event_stop() local [all...] |
H A D | coresight-core.c | 39 * struct coresight_node - elements of a path, from source to sink 50 * path can exist from a tracer (associated to a CPU) to a sink. 501 * ETF devices are tricky... They can be a link or a sink, in coresight_disable_path_from() 503 * "activated" it will be configured as a sink, otherwise in coresight_disable_path_from() 579 * ETF devices are tricky... They can be a link or a sink, in coresight_enable_path() 581 * "activated" it will be configured as a sink, otherwise in coresight_enable_path() 594 * failed to enable the sink, there are no components in coresight_enable_path() 642 struct coresight_device *sink = NULL; in coresight_find_enabled_sink() local 657 sink = coresight_find_enabled_sink(child_dev); in coresight_find_enabled_sink() 658 if (sink) in coresight_find_enabled_sink() 819 _coresight_build_path(struct coresight_device *csdev, struct coresight_device *sink, struct list_head *path) _coresight_build_path() argument 875 coresight_build_path(struct coresight_device *source, struct coresight_device *sink) coresight_build_path() argument 951 coresight_select_best_sink(struct coresight_device *sink, int *depth, struct coresight_device *new_sink, int new_depth) coresight_select_best_sink() argument 1010 struct coresight_device *child_dev, *sink = NULL; coresight_find_sink() local 1064 struct coresight_device *sink = data; coresight_remove_sink_ref() local 1123 struct coresight_device *sink; coresight_enable() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_entity.c | 35 * sink pad. in vsp1_entity_route_setup() 48 * sink pad. in vsp1_entity_route_setup() 62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup() 238 * media bus codes on the sink pad and reports a source pad format identical to 239 * the sink pad. 258 * The entity can't perform format conversion, the sink format in vsp1_subdev_enum_mbus_code() 289 * minimum and maximum frame width and height on the sink pad, and a fixed 290 * source pad size identical to the sink pad. 324 * the size on the sink pad. in vsp1_subdev_enum_frame_size() 352 * supplied minimum and maximum, and propagates the sink pa 450 struct vsp1_entity *sink vsp1_entity_link_setup_source() local 476 struct vsp1_entity *sink; vsp1_entity_link_setup_sink() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 35 * sink pad. in vsp1_entity_route_setup() 48 * sink pad. in vsp1_entity_route_setup() 62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup() 239 * media bus codes on the sink pad and reports a source pad format identical to 240 * the sink pad. 259 * The entity can't perform format conversion, the sink format in vsp1_subdev_enum_mbus_code() 291 * minimum and maximum frame width and height on the sink pad, and a fixed 292 * source pad size identical to the sink pad. 326 * the size on the sink pad. in vsp1_subdev_enum_frame_size() 354 * supplied minimum and maximum, and propagates the sink pa 452 struct vsp1_entity *sink vsp1_entity_link_setup_source() local 478 struct vsp1_entity *sink; vsp1_entity_link_setup_sink() local [all...] |
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-dapm.c | 55 struct snd_soc_dapm_widget *sink)); 245 * or activated with the widget as the sink. 261 * have changed. E.g. if the sink state of a widget changes or a path is added 274 * Resets the cached number of inputs for the sink of the path and the cached 296 dapm_widget_invalidate_input_paths(p->sink); in dapm_path_invalidate() 297 if (p->sink->endpoints[SND_SOC_DAPM_DIR_OUT] != 0) in dapm_path_invalidate() 788 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status() 797 val = soc_dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status() 812 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status() 838 for (i = 0; i < path->sink in dapm_connect_mixer() 2781 snd_soc_dapm_check_dynamic_path(struct snd_soc_dapm_context *dapm, struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink, const char *control) snd_soc_dapm_check_dynamic_path() argument 2825 snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm, struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink, const char *control, int (*connected)(struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink)) snd_soc_dapm_add_path() argument 2932 const char *sink; snd_soc_dapm_add_route() local 3031 const char *sink; snd_soc_dapm_del_route() local 3154 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm, snd_soc_dapm_weak_route() local 3830 struct snd_soc_dai *source, *sink; snd_soc_dai_link_event_pre_pmu() local 3947 struct snd_soc_dai *source, *sink; snd_soc_dai_link_event() local 4272 struct snd_soc_dapm_widget *src, *sink; snd_soc_dapm_link_dai_widgets() local 4325 dapm_connect_dai_routes(struct snd_soc_dapm_context *dapm, struct snd_soc_dai *src_dai, struct snd_soc_dapm_widget *src, struct snd_soc_dapm_widget *dai, struct snd_soc_dai *sink_dai, struct snd_soc_dapm_widget *sink) dapm_connect_dai_routes() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-dapm.c | 55 struct snd_soc_dapm_widget *sink)); 245 * or activated with the widget as the sink. 261 * have changed. E.g. if the sink state of a widget changes or a path is added 274 * Resets the cached number of inputs for the sink of the path and the cached 296 dapm_widget_invalidate_input_paths(p->sink); in dapm_path_invalidate() 297 if (p->sink->endpoints[SND_SOC_DAPM_DIR_OUT] != 0) in dapm_path_invalidate() 780 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status() 788 unsigned int val = soc_dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status() 804 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status() 830 for (i = 0; i < path->sink in dapm_connect_mixer() 2803 snd_soc_dapm_check_dynamic_path(struct snd_soc_dapm_context *dapm, struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink, const char *control) snd_soc_dapm_check_dynamic_path() argument 2847 snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm, struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink, const char *control, int (*connected)(struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink)) snd_soc_dapm_add_path() argument 2952 const char *sink; snd_soc_dapm_add_route() local 3047 const char *sink; snd_soc_dapm_del_route() local 3165 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm, snd_soc_dapm_weak_route() local 3836 struct snd_soc_dai *source, *sink; snd_soc_dai_link_event_pre_pmu() local 3959 struct snd_soc_dai *source, *sink; snd_soc_dai_link_event() local 4283 struct snd_soc_dapm_widget *src, *sink; snd_soc_dapm_link_dai_widgets() local 4336 dapm_connect_dai_routes(struct snd_soc_dapm_context *dapm, struct snd_soc_dai *src_dai, struct snd_soc_dapm_widget *src, struct snd_soc_dapm_widget *dai, struct snd_soc_dai *sink_dai, struct snd_soc_dapm_widget *sink) dapm_connect_dai_routes() argument 4365 struct snd_soc_dapm_widget **sink[] = { &codec, &cpu }; dapm_connect_dai_pair() local [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 248 dev_warn(mdev->dev, "couldn't get tuner analog pad sink\n"); in v4l2_mc_create_media_graph() 261 dev_warn(mdev->dev, "couldn't get decoder analog pad sink\n"); in v4l2_mc_create_media_graph() 325 struct media_pad *sink, u32 flags) in v4l2_create_fwnode_links_to_pad() 329 if (!(sink->flags & MEDIA_PAD_FL_SINK)) in v4l2_create_fwnode_links_to_pad() 348 * ask the sink to verify it owns the remote endpoint, in v4l2_create_fwnode_links_to_pad() 349 * and translate to a sink pad. in v4l2_create_fwnode_links_to_pad() 351 sink_idx = media_entity_get_fwnode_pad(sink->entity, in v4l2_create_fwnode_links_to_pad() 356 if (sink_idx < 0 || sink_idx != sink->index) in v4l2_create_fwnode_links_to_pad() 361 * the source endpoint connects to an endpoint at the sink in v4l2_create_fwnode_links_to_pad() 362 * entity, and the sink endpoin in v4l2_create_fwnode_links_to_pad() 324 v4l2_create_fwnode_links_to_pad(struct v4l2_subdev *src_sd, struct media_pad *sink, u32 flags) v4l2_create_fwnode_links_to_pad() argument 569 struct media_entity *sink = link->sink->entity; v4l2_pipeline_link_notify() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
H A D | media-dev.c | 321 /* Get pipeline sink entity */ in __fimc_pipeline_s_stream() 819 struct media_entity *sink; in __fimc_md_create_fimc_sink_links() local 842 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links() 843 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 849 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links() 855 source->name, flags ? '=' : '-', sink->name); in __fimc_md_create_fimc_sink_links() 862 sink = &fmd->fimc_lite[i]->subdev.entity; in __fimc_md_create_fimc_sink_links() 863 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 869 ret = media_entity_call(sink, link_setu in __fimc_md_create_fimc_sink_links() 883 struct media_entity *source, *sink; __fimc_md_create_flite_source_links() local 914 struct media_entity *source, *sink; __fimc_md_create_fimc_is_links() local 960 struct media_entity *source, *sink; fimc_md_create_links() local 1209 struct media_entity *sink = link->sink->entity; fimc_md_link_notify() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/ |
H A D | media-dev.c | 320 /* Get pipeline sink entity */ in __fimc_pipeline_s_stream() 821 struct media_entity *sink; in __fimc_md_create_fimc_sink_links() local 844 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links() 845 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 851 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links() 857 source->name, flags ? '=' : '-', sink->name); in __fimc_md_create_fimc_sink_links() 864 sink = &fmd->fimc_lite[i]->subdev.entity; in __fimc_md_create_fimc_sink_links() 865 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 871 ret = media_entity_call(sink, link_setu in __fimc_md_create_fimc_sink_links() 885 struct media_entity *source, *sink; __fimc_md_create_flite_source_links() local 916 struct media_entity *source, *sink; __fimc_md_create_fimc_is_links() local 962 struct media_entity *source, *sink; fimc_md_create_links() local 1211 struct media_entity *sink = link->sink->entity; fimc_md_link_notify() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-internal-sd.c | 135 struct v4l2_subdev *sink, in create_internal_link() 142 &sink->entity.pads[link->remote_pad])) in create_internal_link() 147 sink->name, link->remote_pad); in create_internal_link() 150 &sink->entity, link->remote_pad, 0); in create_internal_link() 167 /* create the source->sink links */ in create_ipu_internal_links() 176 struct v4l2_subdev *sink; in create_ipu_internal_links() local 179 sink = imxmd->sync_sd[ipu_id][link->remote]; in create_ipu_internal_links() 181 ret = create_internal_link(imxmd, sd, sink, link); in create_ipu_internal_links() 133 create_internal_link(struct imx_media_dev *imxmd, struct v4l2_subdev *src, struct v4l2_subdev *sink, const struct internal_link *link) create_internal_link() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/imx/ |
H A D | imx-media-internal-sd.c | 135 struct v4l2_subdev *sink, in create_internal_link() 142 &sink->entity.pads[link->remote_pad])) in create_internal_link() 147 sink->name, link->remote_pad); in create_internal_link() 150 &sink->entity, link->remote_pad, 0); in create_internal_link() 167 /* create the source->sink links */ in create_ipu_internal_links() 176 struct v4l2_subdev *sink; in create_ipu_internal_links() local 179 sink = imxmd->sync_sd[ipu_id][link->remote]; in create_ipu_internal_links() 181 ret = create_internal_link(imxmd, sd, sink, link); in create_ipu_internal_links() 133 create_internal_link(struct imx_media_dev *imxmd, struct v4l2_subdev *src, struct v4l2_subdev *sink, const struct internal_link *link) create_internal_link() argument
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 237 dev_warn(mdev->dev, "couldn't get tuner analog pad sink\n"); in v4l2_mc_create_media_graph() 249 dev_warn(mdev->dev, "couldn't get tuner analog pad sink\n"); in v4l2_mc_create_media_graph() 313 struct media_pad *sink) in v4l2_create_fwnode_links_to_pad() 318 if (!(sink->flags & MEDIA_PAD_FL_SINK) || in v4l2_create_fwnode_links_to_pad() 319 !is_media_entity_v4l2_subdev(sink->entity)) in v4l2_create_fwnode_links_to_pad() 322 sink_sd = media_entity_to_v4l2_subdev(sink->entity); in v4l2_create_fwnode_links_to_pad() 340 * ask the sink to verify it owns the remote endpoint, in v4l2_create_fwnode_links_to_pad() 341 * and translate to a sink pad. in v4l2_create_fwnode_links_to_pad() 348 if (sink_idx < 0 || sink_idx != sink->index) in v4l2_create_fwnode_links_to_pad() 353 * the source endpoint connects to an endpoint at the sink in v4l2_create_fwnode_links_to_pad() 312 v4l2_create_fwnode_links_to_pad(struct v4l2_subdev *src_sd, struct media_pad *sink) v4l2_create_fwnode_links_to_pad() argument 561 struct media_entity *sink = link->sink->entity; v4l2_pipeline_link_notify() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/ |
H A D | rkisp1-dev.c | 115 struct media_entity *source, *sink; in rkisp1_create_links() local 153 sink = &rkisp1->resizer_devs[i].sd.entity; in rkisp1_create_links() 155 sink, RKISP1_RSZ_PAD_SINK, in rkisp1_create_links() 160 source = sink; in rkisp1_create_links() 161 sink = &rkisp1->capture_devs[i].vnode.vdev.entity; in rkisp1_create_links() 163 sink, 0, flags); in rkisp1_create_links() 170 sink = &rkisp1->isp.sd.entity; in rkisp1_create_links() 171 ret = media_create_pad_link(source, 0, sink, in rkisp1_create_links() 178 sink = &rkisp1->stats.vnode.vdev.entity; in rkisp1_create_links() 180 sink, in rkisp1_create_links() [all...] |
/kernel/linux/linux-5.10/tools/usb/ |
H A D | hcd-tests.sh | 7 # - out, in: out needs 'bulk sink' firmware, in needs 'bulk src' 8 # - iso-out, iso-in: out needs 'iso sink' firmware, in needs 'iso src' 9 # - halt: needs bulk sink+src, tests halt set/clear from host 10 # - unlink: needs bulk sink and/or src, test HCD unlink processing 123 check_config sink-src 154 check_config sink-src 181 check_config sink-src 207 check_config sink-src
|
/kernel/linux/linux-5.10/drivers/media/usb/uvc/ |
H A D | uvc_entity.c | 21 struct media_entity *sink; in uvc_mc_create_links() local 25 sink = (UVC_ENTITY_TYPE(entity) == UVC_TT_STREAMING) in uvc_mc_create_links() 28 if (sink == NULL) in uvc_mc_create_links() 51 sink, i, flags); in uvc_mc_create_links()
|