/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/ |
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->converter_disable_audio = init_params->converter_disable_audio; in dc_sink_construct() [all …]
|
D | dc_stream.c | 42 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument 44 if (sink->sink_signal == SIGNAL_TYPE_NONE) in update_stream_signal() 47 stream->signal = sink->sink_signal; in update_stream_signal() 52 sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal() 64 stream->sink = dc_sink_data; in dc_stream_construct() 135 dc_sink_release(stream->sink); in dc_stream_destruct() 163 struct dc_sink *sink) in dc_create_stream_for_sink() argument 167 if (sink == NULL) in dc_create_stream_for_sink() 174 if (dc_stream_construct(stream, sink) == false) in dc_create_stream_for_sink() 196 if (new_stream->sink) in dc_copy_stream() [all …]
|
/Linux-v5.15/drivers/thunderbolt/ |
D | lc.c | 351 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument 365 if (!sink) { in tb_lc_dp_sink_available() 389 int sink; in tb_lc_dp_sink_query() local 398 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_query() 399 if (sink < 0) in tb_lc_dp_sink_query() 402 return !tb_lc_dp_sink_available(sw, sink); in tb_lc_dp_sink_query() 417 int ret, sink; in tb_lc_dp_sink_alloc() local 423 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_alloc() 424 if (sink < 0) in tb_lc_dp_sink_alloc() 425 return sink; in tb_lc_dp_sink_alloc() [all …]
|
/Linux-v5.15/drivers/media/mc/ |
D | mc-entity.c | 235 return link->sink->entity; in media_entity_other() 322 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 452 struct media_pad *pad = link->sink->entity == entity in __media_pipeline_start() 453 ? link->sink : link->source; in __media_pipeline_start() 471 if (link->sink != pad || in __media_pipeline_start() 481 entity->name, link->sink->index, ret); in __media_pipeline_start() 609 remote = link->sink->entity; in __media_entity_remove_link() 661 struct media_entity *sink, u16 sink_pad, u32 flags) in media_create_pad_link() argument 666 if (WARN_ON(!source || !sink) || in media_create_pad_link() 668 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link() [all …]
|
/Linux-v5.15/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 193 struct coresight_device *sink; in free_sink_buffer() local 202 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 203 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 302 struct coresight_device *sink = NULL; in etm_setup_aux() local 314 sink = user_sink = coresight_get_sink_by_id(id); in etm_setup_aux() 364 sink = coresight_find_default_sink(csdev); in etm_setup_aux() 365 if (!sink) { in etm_setup_aux() 371 if (last_sink && !sinks_compatible(last_sink, sink)) { in etm_setup_aux() 375 last_sink = sink; in etm_setup_aux() 383 path = coresight_build_path(csdev, sink); in etm_setup_aux() [all …]
|
D | coresight-core.c | 612 struct coresight_device *sink = NULL; in coresight_find_enabled_sink() local 627 sink = coresight_find_enabled_sink(child_dev); in coresight_find_enabled_sink() 628 if (sink) in coresight_find_enabled_sink() 629 return sink; in coresight_find_enabled_sink() 790 struct coresight_device *sink, in _coresight_build_path() argument 798 if (csdev == sink) in _coresight_build_path() 801 if (coresight_is_percpu_source(csdev) && coresight_is_percpu_sink(sink) && in _coresight_build_path() 802 sink == per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev))) { in _coresight_build_path() 803 if (_coresight_build_path(sink, sink, path) == 0) { in _coresight_build_path() 815 _coresight_build_path(child_dev, sink, path) == 0) { in _coresight_build_path() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/media/i2c/ |
D | adv748x.txt | 38 AIN0 sink 0 39 AIN1 sink 1 40 AIN2 sink 2 41 AIN3 sink 3 42 AIN4 sink 4 43 AIN5 sink 5 44 AIN6 sink 6 45 AIN7 sink 7 46 HDMI sink 8 47 TTL sink 9
|
/Linux-v5.15/drivers/media/platform/vsp1/ |
D | vsp1_entity.c | 62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup() 453 struct vsp1_entity *sink in vsp1_entity_link_setup_source() local 460 if (sink->type != VSP1_ENTITY_HGO && in vsp1_entity_link_setup_source() 461 sink->type != VSP1_ENTITY_HGT) { in vsp1_entity_link_setup_source() 462 if (source->sink) in vsp1_entity_link_setup_source() 464 source->sink = sink; in vsp1_entity_link_setup_source() 468 source->sink = NULL; in vsp1_entity_link_setup_source() 479 struct vsp1_entity *sink; in vsp1_entity_link_setup_sink() local 482 sink = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_sink() 487 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink() [all …]
|
/Linux-v5.15/Documentation/userspace-api/media/v4l/ |
D | dev-subdev.rst | 189 - Formats should be propagated from sink pads to source pads. Modifying 190 a format on a source pad should not modify the format on any sink 194 reset the scale factors to default values when sink pads formats are 196 source pads formats should be reset to the sink pads formats. 253 * - Configure frontend sink format 266 * - Configure scaler sink format 283 * - Configure scaler sink compose selection 307 host frontend and scaler sink and source pads have the default 308 values, as well as the compose rectangle on the scaler's sink pad. 310 2. The application configures the frontend sink pad format's size to [all …]
|
/Linux-v5.15/sound/soc/ |
D | soc-dapm.c | 55 struct snd_soc_dapm_widget *sink)); 294 dapm_widget_invalidate_input_paths(p->sink); in dapm_path_invalidate() 295 if (p->sink->endpoints[SND_SOC_DAPM_DIR_OUT] != 0) in dapm_path_invalidate() 783 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status() 791 unsigned int val = soc_dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status() 807 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status() 833 for (i = 0; i < path->sink->num_kcontrols; i++) { in dapm_connect_mixer() 834 if (!strcmp(control_name, path->sink->kcontrol_news[i].name)) { in dapm_connect_mixer() 835 path->name = path->sink->kcontrol_news[i].name; in dapm_connect_mixer() 1463 !path->connected(path->source, path->sink)) in dapm_supply_check_power() [all …]
|
/Linux-v5.15/tools/usb/ |
D | hcd-tests.sh | 123 check_config sink-src 154 check_config sink-src 181 check_config sink-src 207 check_config sink-src
|
/Linux-v5.15/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 313 struct media_pad *sink, u32 flags) in v4l2_create_fwnode_links_to_pad() argument 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() 348 if (sink_idx < 0 || sink_idx != sink->index) in v4l2_create_fwnode_links_to_pad() 362 if (media_entity_find_link(src, sink)) in v4l2_create_fwnode_links_to_pad() 561 struct media_entity *sink = link->sink->entity; in v4l2_pipeline_link_notify() local 567 sink_use = pipeline_pm_use_count(sink, graph); in v4l2_pipeline_link_notify() 573 pipeline_pm_power(sink, -source_use, graph); in v4l2_pipeline_link_notify() 584 ret = pipeline_pm_power(sink, source_use, graph); in v4l2_pipeline_link_notify()
|
/Linux-v5.15/drivers/media/platform/exynos4-is/ |
D | media-dev.c | 822 struct media_entity *sink; in __fimc_md_create_fimc_sink_links() local 845 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links() 846 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 852 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links() 858 source->name, flags ? '=' : '-', sink->name); in __fimc_md_create_fimc_sink_links() 865 sink = &fmd->fimc_lite[i]->subdev.entity; in __fimc_md_create_fimc_sink_links() 866 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 872 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links() 878 source->name, sink->name); in __fimc_md_create_fimc_sink_links() 886 struct media_entity *source, *sink; in __fimc_md_create_flite_source_links() local [all …]
|
/Linux-v5.15/drivers/staging/media/imx/ |
D | imx-media-internal-sd.c | 135 struct v4l2_subdev *sink, in create_internal_link() argument 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() 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()
|
/Linux-v5.15/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-dev.c | 116 struct media_entity *source, *sink; in rkisp1_create_links() local 154 sink = &rkisp1->resizer_devs[i].sd.entity; in rkisp1_create_links() 156 sink, RKISP1_RSZ_PAD_SINK, in rkisp1_create_links() 161 source = sink; in rkisp1_create_links() 162 sink = &rkisp1->capture_devs[i].vnode.vdev.entity; in rkisp1_create_links() 164 sink, 0, flags); in rkisp1_create_links() 171 sink = &rkisp1->isp.sd.entity; in rkisp1_create_links() 172 ret = media_create_pad_link(source, 0, sink, in rkisp1_create_links() 179 sink = &rkisp1->stats.vnode.vdev.entity; in rkisp1_create_links() 181 sink, 0, flags); in rkisp1_create_links()
|
/Linux-v5.15/Documentation/devicetree/bindings/usb/ |
D | fcs,fusb302.txt | 27 try-power-role = "sink"; 29 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 32 op-sink-microwatt = <10000000>;
|
D | richtek,rt1711h.txt | 26 try-power-role = "sink"; 28 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) 30 op-sink-microwatt = <10000000>;
|
D | typec-tcpci.txt | 31 try-power-role = "sink"; 33 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) 35 op-sink-microwatt = <10000000>;
|
/Linux-v5.15/drivers/media/usb/uvc/ |
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()
|
/Linux-v5.15/Documentation/driver-api/mei/ |
D | hdcp.rst | 8 an HDC2.2 sink. 12 to the HDCP2.2 sink. 14 Similarly, the HDCP2.2 sink's response is transferred to ME FW
|
/Linux-v5.15/drivers/media/usb/au0828/ |
D | au0828-core.c | 292 struct media_entity *sink; in au0828_enable_source() local 315 sink = entity; in au0828_enable_source() 324 sink = dev->decoder; in au0828_enable_source() 390 list_for_each_entry(link, &sink->links, list) { in au0828_enable_source() 392 if (link->sink->entity == sink && in au0828_enable_source() 409 source->name, sink->name, ret); in au0828_enable_source() 430 dev->active_sink = sink; in au0828_enable_source() 461 if (dev->active_link->sink->entity == dev->active_sink && in au0828_disable_source() 620 if (demod && link->sink->entity == demod) in au0828_media_device_register() 622 if (dev->decoder && link->sink->entity == dev->decoder) in au0828_media_device_register()
|
/Linux-v5.15/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-i2s.c | 425 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_share_connect() argument 427 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect() 432 i2s_priv = get_i2s_priv_by_name(afe, sink->name); in mtk_afe_i2s_share_connect() 446 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_hd_connect() argument 448 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_hd_connect() 453 i2s_priv = get_i2s_priv_by_name(afe, sink->name); in mtk_afe_i2s_hd_connect() 460 if (get_i2s_id_by_name(afe, sink->name) == in mtk_afe_i2s_hd_connect() 475 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_apll_connect() argument 477 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_apll_connect() 501 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_mclk_connect() argument [all …]
|
/Linux-v5.15/Documentation/userspace-api/media/mediactl/ |
D | media-types.rst | 144 composing must have at least two sink pads and one source 152 must have at least one sink pad and one source pad. Read 161 encoding conversion must have at least one sink pad and one 163 its sink pad(s) to a different encoding output on its source 170 processing must have one sink pad and one source pad. It uses 171 the values of the pixels received on its sink pad to look up 179 at least one sink pad and one source pad, and scale the 180 video frame(s) received on its sink pad(s) to a different 190 capable of statistics computation must have one sink pad and 192 received on its sink pad and outputs the statistics data on [all …]
|
/Linux-v5.15/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 690 struct fsu_link_reg_info sink; member 697 .sink = { IPUV3_CHANNEL_MEM_ROT_ENC, IPU_FS_PROC_FLOW1, 702 .sink = { IPUV3_CHANNEL_MEM_ROT_VF, IPU_FS_PROC_FLOW1, 707 .sink = { IPUV3_CHANNEL_MEM_ROT_PP, IPU_FS_PROC_FLOW1, 711 .sink = { IPUV3_CHANNEL_CSI_VDI_PREV, IPU_FS_PROC_FLOW1, 716 static const struct fsu_link_info *find_fsu_link_info(int src, int sink) in find_fsu_link_info() argument 722 sink == fsu_link_info[i].sink.chno) in find_fsu_link_info() 751 if (link->sink.mask) { in ipu_fsu_link() 752 sink_reg = ipu_cm_read(ipu, link->sink.reg); in ipu_fsu_link() 753 sink_reg &= ~link->sink.mask; in ipu_fsu_link() [all …]
|
/Linux-v5.15/drivers/staging/greybus/ |
D | audio_helper.c | 20 struct snd_soc_dapm_widget *src, *sink; in gbaudio_dapm_link_dai_widget() local 47 sink = w; in gbaudio_dapm_link_dai_widget() 50 sink = dai_w; in gbaudio_dapm_link_dai_widget() 52 dev_dbg(dai->dev, "%s -> %s\n", src->name, sink->name); in gbaudio_dapm_link_dai_widget()
|