Home
last modified time | relevance | path

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

123456789

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_sink.c34 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->refcount); in dc_sink_retain()
[all …]
H A Ddc_stream.c46 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument
48 if (sink->sink_signal == SIGNAL_TYPE_NONE) in update_stream_signal()
51 stream->signal = sink->sink_signal; in update_stream_signal()
56 sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal()
68 stream->sink = dc_sink_data; in dc_stream_construct()
132 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/tools/testing/selftests/net/
H A Dudpgso.sh31 ip link add name sink mtu 1500 type dummy
32 ip addr add dev sink 10.0.0.0/24
33 ip addr add dev sink fd00::2/64 nodad
34 ip link set dev sink up
39 ethtool -K sink tx-checksum-ip-generic on >/dev/null
40 ethtool -K sink tx-udp-segmentation on >/dev/null
45 ethtool -K sink tx-checksum-ip-generic on >/dev/null
46 ethtool -K sink tx-udp-segmentation off >/dev/null
51 ethtool -K sink tx-checksum-ip-generic off >/dev/null
52 ethtool -K sink tx-udp-segmentation off >/dev/null
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_detection.c268 struct dc_sink *sink) in read_scdc_caps() argument
274 sizeof(offset), sink->scdc_caps.manufacturer_OUI.byte, in read_scdc_caps()
275 sizeof(sink->scdc_caps.manufacturer_OUI.byte)); in read_scdc_caps()
280 sizeof(offset), &(sink->scdc_caps.device_id.byte), in read_scdc_caps()
281 sizeof(sink->scdc_caps.device_id.byte)); in read_scdc_caps()
776 struct dc_sink *sink, in verify_link_capability_destructive() argument
846 static void verify_link_capability(struct dc_link *link, struct dc_sink *sink, in verify_link_capability() argument
850 verify_link_capability_destructive(link, sink, reason); in verify_link_capability()
874 struct dc_sink *sink = NULL; in detect_link_and_local_sink() local
1048 sink = dc_sink_create(&sink_init_data); in detect_link_and_local_sink()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm-perf.c199 struct coresight_device *sink; in free_sink_buffer() local
208 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer()
209 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer()
233 struct coresight_device *sink = coresight_get_sink(*ppath); in free_event_data() local
243 coresight_trace_id_perf_stop(&sink->perf_sink_id_map); in free_event_data()
322 struct coresight_device *sink = NULL; in etm_setup_aux() local
334 sink = user_sink = coresight_get_sink_by_id(id); in etm_setup_aux()
384 sink = coresight_find_default_sink(csdev); in etm_setup_aux()
385 if (!sink) { in etm_setup_aux()
391 if (last_sink && !sinks_compatible(last_sink, sink)) { in etm_setup_aux()
[all …]
H A Dcoresight-core.c631 struct coresight_device *sink, in _coresight_build_path() argument
639 if (csdev == sink) in _coresight_build_path()
642 if (coresight_is_percpu_source(csdev) && coresight_is_percpu_sink(sink) && in _coresight_build_path()
643 sink == per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev))) { in _coresight_build_path()
644 if (_coresight_build_path(sink, sink, path) == 0) { in _coresight_build_path()
656 _coresight_build_path(child_dev, sink, path) == 0) { in _coresight_build_path()
687 struct coresight_device *sink) in coresight_build_path() argument
692 if (!sink) in coresight_build_path()
701 rc = _coresight_build_path(source, sink, path); in coresight_build_path()
762 coresight_select_best_sink(struct coresight_device *sink, int *depth, in coresight_select_best_sink() argument
[all …]
H A Dcoresight-sysfs.c112 struct coresight_device *sink = NULL; in coresight_find_activated_sysfs_sink() local
127 sink = coresight_find_activated_sysfs_sink(child_dev); in coresight_find_activated_sysfs_sink()
128 if (sink) in coresight_find_activated_sysfs_sink()
129 return sink; in coresight_find_activated_sysfs_sink()
169 struct coresight_device *sink; in coresight_enable_sysfs() local
199 sink = coresight_find_activated_sysfs_sink(csdev); in coresight_enable_sysfs()
200 if (!sink) { in coresight_enable_sysfs()
205 path = coresight_build_path(csdev, sink); in coresight_enable_sysfs()
/linux/drivers/thunderbolt/
H A Dlc.c530 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument
544 if (!sink) { in tb_lc_dp_sink_available()
568 int sink; in tb_lc_dp_sink_query() local
577 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_query()
578 if (sink < 0) in tb_lc_dp_sink_query()
581 return !tb_lc_dp_sink_available(sw, sink); in tb_lc_dp_sink_query()
596 int ret, sink; in tb_lc_dp_sink_alloc() local
602 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_alloc()
603 if (sink < 0) in tb_lc_dp_sink_alloc()
604 return sink; in tb_lc_dp_sink_alloc()
[all …]
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_entity.c62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup()
403 struct vsp1_entity *sink in vsp1_entity_link_setup_source() local
410 if (sink->type != VSP1_ENTITY_HGO && in vsp1_entity_link_setup_source()
411 sink->type != VSP1_ENTITY_HGT) { in vsp1_entity_link_setup_source()
412 if (source->sink) in vsp1_entity_link_setup_source()
414 source->sink = sink; in vsp1_entity_link_setup_source()
418 source->sink = NULL; in vsp1_entity_link_setup_source()
429 struct vsp1_entity *sink; in vsp1_entity_link_setup_sink() local
432 sink = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_sink()
437 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink()
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-mc.c325 struct media_pad *sink, u32 flags) in v4l2_create_fwnode_links_to_pad() argument
329 if (!(sink->flags & MEDIA_PAD_FL_SINK)) in v4l2_create_fwnode_links_to_pad()
357 sink_idx = media_entity_get_fwnode_pad(sink->entity, in v4l2_create_fwnode_links_to_pad()
362 if (sink_idx < 0 || sink_idx != sink->index) { in v4l2_create_fwnode_links_to_pad()
365 sink_idx, sink->index); in v4l2_create_fwnode_links_to_pad()
380 if (media_entity_find_link(src, sink)) { in v4l2_create_fwnode_links_to_pad()
384 sink->entity->name, sink_idx); in v4l2_create_fwnode_links_to_pad()
390 sink->entity->name, sink_idx); in v4l2_create_fwnode_links_to_pad()
393 sink->entity, sink_idx, flags); in v4l2_create_fwnode_links_to_pad()
398 sink->entity->name, sink_idx, ret); in v4l2_create_fwnode_links_to_pad()
[all …]
/linux/sound/soc/
H A Dsoc-dapm.c56 struct snd_soc_dapm_widget *sink));
297 dapm_widget_invalidate_input_paths(p->sink); in dapm_path_invalidate()
298 if (p->sink->endpoints[SND_SOC_DAPM_DIR_OUT] != 0) in dapm_path_invalidate()
786 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status()
794 unsigned int val = soc_dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status()
810 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status()
836 for (i = 0; i < path->sink->num_kcontrols; i++) { in dapm_connect_mixer()
837 if (!strcmp(control_name, path->sink->kcontrol_news[i].name)) { in dapm_connect_mixer()
838 path->name = path->sink->kcontrol_news[i].name; in dapm_connect_mixer()
1470 !path->connected(path->source, path->sink)) in dapm_supply_check_power()
[all …]
/linux/drivers/staging/media/imx/
H A 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()
/linux/tools/usb/
H A Dhcd-tests.sh123 check_config sink-src
154 check_config sink-src
181 check_config sink-src
207 check_config sink-src
/linux/Documentation/ABI/testing/
H A Dsysfs-class-usb_power_delivery37 What: /sys/class/usb_power_delivery/.../sink-capabilities
41 The sink capability message "Sink_Capabilities" contains a set
46 The order of the objects in the sink capability message is the
70 support both source and sink power roles.
81 What: /sys/class/usb_power_delivery/.../sink-capabilities/1:fixed_supply/higher_capability
86 vsafe5V Fixed Supply Object. If the bit is set, then the sink
140 What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/operational_curr…
144 Operational current of the sink in milliamperes.
146 What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/fast_role_swap_c…
151 Current" field that tells the current level the sink requires
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-tpda.rst35 Enable coresight sink first. The port of tpda which is connected to
43 The test data will be collected in the coresight sink which is enabled.
44 If rwp register of the sink is keeping updating when do
46 generated from TPDM to sink.
48 There must be a tpda between tpdm and the sink. When there are some
/linux/include/linux/usb/
H A Dtcpci.h224 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink);
239 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc() argument
243 return sink ? TYPEC_CC_RP_DEF : TYPEC_CC_RA; in tcpci_to_typec_cc()
245 return sink ? TYPEC_CC_RP_1_5 : TYPEC_CC_RD; in tcpci_to_typec_cc()
247 if (sink) in tcpci_to_typec_cc()
/linux/drivers/media/usb/au0828/
H A 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()
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst144 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/drivers/gpu/ipu-v3/
H A 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 …]
/linux/drivers/media/usb/uvc/
H A 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()
/linux/Documentation/driver-api/mei/
H A 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
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-i2s.c538 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_share_connect() argument
540 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect()
545 i2s_priv = get_i2s_priv_by_name(afe, sink->name); in mtk_afe_i2s_share_connect()
553 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_hd_connect() argument
555 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_hd_connect()
560 i2s_priv = get_i2s_priv_by_name(afe, sink->name); in mtk_afe_i2s_hd_connect()
561 if (get_i2s_id_by_name(afe, sink->name) == in mtk_afe_i2s_hd_connect()
576 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_apll_connect() argument
578 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_apll_connect()
595 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_mclk_connect() argument
[all …]
/linux/sound/soc/sof/
H A Dsof-audio.c317 if (!widget_in_list(list, p->sink)) in sof_setup_pipeline_connections()
320 if (p->sink->dobj.private) { in sof_setup_pipeline_connections()
321 ret = sof_route_setup(sdev, widget, p->sink); in sof_setup_pipeline_connections()
431 if (!widget_in_list(list, p->sink)) in sof_unprepare_widgets_in_path()
433 if (!p->walking && p->sink->dobj.private) { in sof_unprepare_widgets_in_path()
435 sof_unprepare_widgets_in_path(sdev, p->sink, list); in sof_unprepare_widgets_in_path()
477 if (!widget_in_list(list, p->sink)) in sof_prepare_widgets_in_path()
479 if (!p->walking && p->sink->dobj.private) { in sof_prepare_widgets_in_path()
481 ret = sof_prepare_widgets_in_path(sdev, p->sink, fe_params, in sof_prepare_widgets_in_path()
524 if (!widget_in_list(list, p->sink)) in sof_free_widgets_in_path()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddp.c321 u8 sink[2]; in nvkm_dp_train_link() local
327 sink[0] = (outp->dp.rate[rate].dpcd < 0) ? ior->dp.bw : 0; in nvkm_dp_train_link()
328 sink[1] = ior->dp.nr; in nvkm_dp_train_link()
330 sink[1] |= DPCD_LC01_ENHANCED_FRAME_EN; in nvkm_dp_train_link()
332 sink[1] |= 0x20; in nvkm_dp_train_link()
334 ret = nvkm_wraux(outp->dp.aux, DPCD_LC00_LINK_BW_SET, sink, 2); in nvkm_dp_train_link()
339 ret = nvkm_rdaux(outp->dp.aux, DPCD_LC15_LINK_RATE_SET, &sink[0], sizeof(sink[0])); in nvkm_dp_train_link()
343 sink[0] &= ~DPCD_LC15_LINK_RATE_SET_MASK; in nvkm_dp_train_link()
344 sink[0] |= outp->dp.rate[rate].dpcd; in nvkm_dp_train_link()
346 ret = nvkm_wraux(outp->dp.aux, DPCD_LC15_LINK_RATE_SET, &sink[0], sizeof(sink[0])); in nvkm_dp_train_link()
/linux/Documentation/devicetree/bindings/usb/
H A Drichtek,rt1711h.txt26 try-power-role = "sink";
28 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
30 op-sink-microwatt = <10000000>;

123456789