Home
last modified time | relevance | path

Searched refs:sink (Results 1 – 25 of 251) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_sink.c36 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 …]
Ddc_stream.c42 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 …]
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dlc.c314 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()
352 int sink; in tb_lc_dp_sink_query() local
361 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_query()
362 if (sink < 0) in tb_lc_dp_sink_query()
365 return !tb_lc_dp_sink_available(sw, sink); in tb_lc_dp_sink_query()
380 int ret, sink; in tb_lc_dp_sink_alloc() local
386 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_alloc()
387 if (sink < 0) in tb_lc_dp_sink_alloc()
388 return sink; in tb_lc_dp_sink_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-entity.c235 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()
470 if (link->sink != pad || in __media_pipeline_start()
480 entity->name, link->sink->index, ret); in __media_pipeline_start()
608 remote = link->sink->entity; in __media_entity_remove_link()
660 struct media_entity *sink, u16 sink_pad, u32 flags) in media_create_pad_link() argument
665 if (WARN_ON(!source || !sink) || in media_create_pad_link()
667 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link()
[all …]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c127 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()
213 struct coresight_device *sink = NULL; in etm_setup_aux() local
224 sink = coresight_get_sink_by_id(id); in etm_setup_aux()
258 if (!sink) in etm_setup_aux()
259 sink = coresight_find_default_sink(csdev); in etm_setup_aux()
266 path = coresight_build_path(csdev, sink); in etm_setup_aux()
276 if (!sink) in etm_setup_aux()
284 if (!sink_ops(sink)->alloc_buffer || !sink_ops(sink)->free_buffer) in etm_setup_aux()
[all …]
Dcoresight-core.c584 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()
601 return sink; in coresight_find_enabled_sink()
756 struct coresight_device *sink, in _coresight_build_path() argument
764 if (csdev == sink) in _coresight_build_path()
773 _coresight_build_path(child_dev, sink, path) == 0) { in _coresight_build_path()
804 struct coresight_device *sink) in coresight_build_path() argument
809 if (!sink) in coresight_build_path()
818 rc = _coresight_build_path(source, sink, path); in coresight_build_path()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/
Dadv748x.txt38 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
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_entity.c62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup()
450 struct vsp1_entity *sink in vsp1_entity_link_setup_source() local
457 if (sink->type != VSP1_ENTITY_HGO && in vsp1_entity_link_setup_source()
458 sink->type != VSP1_ENTITY_HGT) { in vsp1_entity_link_setup_source()
459 if (source->sink) in vsp1_entity_link_setup_source()
461 source->sink = sink; in vsp1_entity_link_setup_source()
465 source->sink = NULL; in vsp1_entity_link_setup_source()
476 struct vsp1_entity *sink; in vsp1_entity_link_setup_sink() local
479 sink = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_sink()
484 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Ddev-subdev.rst189 - 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.
251 * - Configure frontend sink format
264 * - Configure scaler sink format
281 * - Configure scaler sink compose selection
305 host frontend and scaler sink and source pads have the default
306 values, as well as the compose rectangle on the scaler's sink pad.
308 2. The application configures the frontend sink pad format's size to
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-dapm.c55 struct snd_soc_dapm_widget *sink));
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->num_kcontrols; i++) { in dapm_connect_mixer()
839 if (!strcmp(control_name, path->sink->kcontrol_news[i].name)) { in dapm_connect_mixer()
840 path->name = path->sink->kcontrol_news[i].name; in dapm_connect_mixer()
1468 !path->connected(path->source, path->sink)) in dapm_supply_check_power()
[all …]
/kernel/linux/linux-5.10/tools/usb/
Dhcd-tests.sh123 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/v4l2-core/
Dv4l2-mc.c313 struct media_pad *sink) 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()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dmedia-dev.c819 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_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links()
875 source->name, sink->name); in __fimc_md_create_fimc_sink_links()
883 struct media_entity *source, *sink; in __fimc_md_create_flite_source_links() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-internal-sd.c135 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()
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-dev.c115 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, 0, flags); in rkisp1_create_links()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dfcs,fusb302.txt27 try-power-role = "sink";
29 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
32 op-sink-microwatt = <10000000>;
Drichtek,rt1711h.txt26 try-power-role = "sink";
28 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
30 op-sink-microwatt = <10000000>;
Dtypec-tcpci.txt31 try-power-role = "sink";
33 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
35 op-sink-microwatt = <10000000>;
/kernel/linux/linux-5.10/Documentation/driver-api/mei/
Dhdcp.rst8 an HDC2.2 sink.
12 to the HDCP2.2 sink.
14 Similarly, the HDCP2.2 sink's response is transferred to ME FW
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_entity.c21 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()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
Dmedia-types.rst143 composing must have at least two sink pads and one source
151 must have at least one sink pad and one source pad. Read
160 encoding conversion must have at least one sink pad and one
162 its sink pad(s) to a different encoding output on its source
169 processing must have one sink pad and one source pad. It uses
170 the values of the pixels received on its sink pad to look up
178 at least one sink pad and one source pad, and scale the
179 video frame(s) received on its sink pad(s) to a different
189 capable of statistics computation must have one sink pad and
191 received on its sink pad and outputs the statistics data on
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/au0828/
Dau0828-core.c292 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()
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c425 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 …]
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-common.c690 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 …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-typec-displayport6 Valid values are USB, source and sink. Source means DisplayPort
7 source, and sink means DisplayPort sink.
14 USB [source] sink

1234567891011