Home
last modified time | relevance | path

Searched full:sink (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/linux/sound/soc/meson/
H A Daxg-frddr.c129 SOC_DAPM_ENUM("Output Sink", axg_frddr_sel_enum);
132 SND_SOC_DAPM_DEMUX("SINK SEL", SND_SOC_NOPM, 0, 0,
145 { "SINK SEL", NULL, "Playback" },
146 { "OUT 0", "OUT 0", "SINK SEL" },
147 { "OUT 1", "OUT 1", "SINK SEL" },
148 { "OUT 2", "OUT 2", "SINK SEL" },
149 { "OUT 3", "OUT 3", "SINK SEL" },
150 { "OUT 4", "OUT 4", "SINK SEL" },
151 { "OUT 5", "OUT 5", "SINK SEL" },
152 { "OUT 6", "OUT 6", "SINK SEL" },
[all …]
/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 …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm-perf.c35 * the trace path and the sink configuration. The event data is accessible
36 * via perf_get_aux(handle). However, a sink could "end" a perf output
37 * handle via the IRQ handler. And if the "sink" encounters a failure
64 /* preset - if sink ID is used as a configuration selector */
90 * ETM3X_SUPPORTED_OPTIONS). Sink ID is also supported for selecting a
91 * sink in both, but not used for configuring the ETM. The remaining
201 struct coresight_device *sink; in free_sink_buffer()
210 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer()
211 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer()
223 /* Free the sink buffer in free_event_data()
202 struct coresight_device *sink; free_sink_buffer() local
236 struct coresight_device *sink = coresight_get_sink(*ppath); free_event_data() local
324 struct coresight_device *sink = NULL; etm_setup_aux() local
482 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); etm_event_start() local
585 struct coresight_device *sink; etm_event_pause() local
633 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); etm_event_stop() local
[all...]
H A Dcoresight-core.c44 * struct coresight_node - elements of a path, from source to sink
151 * logic can safely either build a path to the sink or fail in coresight_clear_self_claim_tag()
593 * ETF devices are tricky... They can be a link or a sink, in coresight_get_sink_id()
595 * selected as a sink it will be configured as a sink, otherwise in coresight_get_sink_id()
688 * ETF devices are tricky... They can be a link or a sink, in coresight_grab_device()
690 * selected as a sink it will be configured as a sink, otherwise in coresight_grab_device()
702 * Sink is the first component turned on. If we
703 * failed to enable the sink, ther
730 coresight_get_trace_id(struct coresight_device * csdev,enum cs_mode mode,struct coresight_device * sink) coresight_get_trace_id() argument
745 struct coresight_device *sink = coresight_get_sink(path); coresight_path_assign_trace_id() local
778 _coresight_build_path(struct coresight_device * csdev,struct coresight_device * source,struct coresight_device * sink,struct coresight_path * path) _coresight_build_path() argument
838 coresight_build_path(struct coresight_device * source,struct coresight_device * sink) coresight_build_path() argument
913 coresight_select_best_sink(struct coresight_device * sink,int * depth,struct coresight_device * new_sink,int new_depth) coresight_select_best_sink() argument
972 struct coresight_device *child_dev, *sink = NULL; coresight_find_sink() local
1027 struct coresight_device *sink = data; coresight_remove_sink_ref() local
1727 coresight_etm_get_trace_id(struct coresight_device * csdev,enum cs_mode mode,struct coresight_device * sink) coresight_etm_get_trace_id() argument
[all...]
H A Dcoresight-ctcu-core.c27 * filter function based on the trace ID for each TMC ETR sink. The length of each
87 * @port_num: port number connected to TMC ETR sink.
120 * Searching the sink device from helper's view in case there are multiple helper devices
121 * connected to the sink device.
123 static int ctcu_get_active_port(struct coresight_device *sink, struct coresight_device *helper) in ctcu_get_active_port() argument
129 if (pdata->in_conns[i]->src_dev == sink) in ctcu_get_active_port()
139 struct coresight_device *sink = coresight_get_sink(path); in ctcu_set_etr_traceid() local
143 if ((sink == NULL) || !IS_VALID_CS_TRACE_ID(traceid)) { in ctcu_set_etr_traceid()
144 dev_err(&csdev->dev, "Invalid sink device or trace ID\n"); in ctcu_set_etr_traceid()
148 port_num = ctcu_get_active_port(sink, csdev); in ctcu_set_etr_traceid()
/linux/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml76 - sink
85 - sink
121 sink-vdos:
133 sink-vdos-v1:
215 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
218 provides a detailed description of the field. The sink PDO from current source
220 requirement during fr swap. The current sink (i.e. receiver of the FRS signal),
222 new sink's, requirement during frswap before enabling the frs signal reception.
223 This property refers to maximum current capability that the current sink can
226 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
[all …]
/linux/drivers/thunderbolt/
H A Dlc.c541 /* The first DP IN port is sink 0 and second is sink 1 */ in tb_lc_dp_sink_from_port()
550 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument
561 * Sink is available for CM/SW to use if the allocation value is in tb_lc_dp_sink_available()
564 if (!sink) { in tb_lc_dp_sink_available()
579 * tb_lc_dp_sink_query() - Is DP sink available for DP IN port
580 * @sw: Switch whose DP sink is queried
583 * Queries through LC SNK_ALLOCATION registers whether DP sink is available
586 * Return: %true if DP sink is available, %false otherwise.
590 int sink; in tb_lc_dp_sink_query() local
593 * For older generations sink is always available as there is no in tb_lc_dp_sink_query()
[all …]
/linux/include/media/
H A Dv4l2-mc.h90 * source subdev to a sink pad.
93 * @sink: pointer to a sink pad
97 * subdevice to a single sink pad, and if suitable connections are found,
99 * called by the sink, in its v4l2-async notifier bound callback, to create
109 * Any sink subdevice that calls this function must implement the
111 * to the sink are owned by the sink.
116 struct media_pad *sink, u32 flags);
120 * subdev to a sink subdev.
123 * @sink_sd: pointer to a sink subdevice
126 * between source and sink subdevices, and translates them into media
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_detection.c162 * Detect output sink type in link_detect_sink_signal_type()
265 struct dc_sink *sink) in read_scdc_caps()
275 sizeof(offset), sink->scdc_caps.manufacturer_OUI.byte, in read_scdc_caps()
276 sizeof(sink->scdc_caps.manufacturer_OUI.byte)); in read_scdc_caps()
281 sizeof(offset), &(sink->scdc_caps.device_id.byte), in read_scdc_caps()
282 sizeof(sink->scdc_caps.device_id.byte));
1044 * detect_link_and_local_sink() - Detect if a sink is attached to a given link in detect_link_and_local_sink()
1062 struct dc_sink *sink = NULL; in detect_link_and_local_sink()
1231 sink = dc_sink_create(&sink_init_data); in detect_link_and_local_sink()
1232 if (!sink) { in detect_link_and_local_sink()
263 read_scdc_caps(struct ddc_service * ddc_service,struct dc_sink * sink) read_scdc_caps() argument
968 struct dc_sink *sink = NULL; detect_link_and_local_sink() local
1547 link_add_remote_sink_helper(struct dc_link * dc_link,struct dc_sink * sink) link_add_remote_sink_helper() argument
1620 link_remove_remote_sink(struct dc_link * link,struct dc_sink * sink) link_remove_remote_sink() argument
[all...]
/linux/drivers/media/mc/
H A Dmc-entity.c121 pad->flags & MEDIA_PAD_FL_SINK ? "sink " : "", in dev_dbg_obj()
259 * One of @pad0 and @pad1 must be a sink pad and the other one a source pad.
286 return link->sink->entity; in media_entity_other()
379 link->sink->entity->name, link->sink->index); in media_graph_walk_iter()
631 link->sink->entity->name, link->sink->index); in media_pipeline_explore_next_link()
636 remote = link->sink; in media_pipeline_explore_next_link()
638 local = link->sink; in media_pipeline_explore_next_link()
832 * 2. Validate all active links whose sink is the current pad. in __media_pipeline_start()
834 * the connected sink pad to avoid duplicating checks. in __media_pipeline_start()
838 if (link->sink != pad && link->source != pad) in __media_pipeline_start()
[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/media/platform/renesas/vsp1/
H A Dvsp1_entity.c38 * sink pad. in vsp1_entity_route_setup()
51 * sink pad. in vsp1_entity_route_setup()
65 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup()
190 * media bus codes on the sink pad and reports a source pad format identical to
191 * the sink pad.
209 * The entity can't perform format conversion, the sink format in vsp1_subdev_enum_mbus_code()
236 * minimum and maximum frame width and height on the sink pad, and a fixed
237 * source pad size identical to the sink pad.
273 * always identical to the sink pad. in vsp1_subdev_enum_frame_size()
300 * entity's limits, and propagates the sink pa
427 struct vsp1_entity *sink vsp1_entity_link_setup_source() local
453 struct vsp1_entity *sink; vsp1_entity_link_setup_sink() local
[all...]
/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/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/admin-guide/media/
H A Dimx7.rst39 This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the pixel
47 This is the video multiplexer. It has two sink pads to select from either camera
59 This entity has one sink pad that receives from the csi-mux entity and a single
116 pad0: Sink
126 pad0: Sink
132 pad0: Sink
134 pad1: Sink
144 pad0: Sink
198 pad0: Sink
208 pad0: Sink
/linux/tools/usb/
H A Dhcd-tests.sh7 # - 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
/linux/Documentation/trace/
H A Dintel_th.rst47 mmap() interface and directed to a "software sink" driver that will
136 - notifying the software sink that a particular window is full, and
142 software sink driver to notify the MSU driver when a window is
145 An example sink driver, msu-sink illustrates the implementation of a
146 software sink. Functionally, it simply unlocks windows as soon as they
149 to just the first one. It can be enabled by writing "sink" to the "mode"
150 file (assuming msu-sink.ko is loaded).
/linux/sound/soc/intel/avs/
H A Dpath.c121 struct avs_path *sink) in avs_condpath_find_variant() argument
127 variant->sink_path_id == sink->template->id) in avs_condpath_find_variant()
148 id2 = &template->sink; in avs_condpath_find_match()
150 id = &template->sink; in avs_condpath_find_match()
154 /* Check whether this path is either source or sink of condpath template. */ in avs_condpath_find_match()
946 binding->sink = this_mod; in avs_path_binding_arm()
951 binding->sink = target_mod; in avs_path_binding_arm()
988 struct avs_path_module *source, *sink; in avs_path_pipeline_arm() local
1001 sink = list_next_entry(mod, node); in avs_path_pipeline_arm()
1004 sink->module_id, sink->instance_id, 0, 0); in avs_path_pipeline_arm()
[all …]
/linux/drivers/media/usb/au0828/
H A Dau0828-core.c292 struct media_entity *sink; in au0828_enable_source() local
305 * is the sink. Look for an active link between decoder and in au0828_enable_source()
315 sink = entity; in au0828_enable_source()
324 sink = dev->decoder; in au0828_enable_source()
355 /* Is there an active link between sink and source */ in au0828_enable_source()
367 /* Either ALSA or Video own tuner. Sink is the same in au0828_enable_source()
369 * their common source (tuner) and sink (decoder). in au0828_enable_source()
370 * Starting pipeline between sharing entity and sink in au0828_enable_source()
390 list_for_each_entry(link, &sink->links, list) { in au0828_enable_source()
391 /* Check sink, and source */ in au0828_enable_source()
[all …]
/linux/sound/soc/
H A Dsoc-dapm.c283 * or activated with the widget as the sink. in dapm_widget_invalidate_input_paths()
299 * have changed. E.g. if the sink state of a widget changes or a path is added in dapm_widget_invalidate_output_paths()
312 * Resets the cached number of inputs for the sink of the path and the cached
334 dapm_widget_invalidate_input_paths(p->sink);
335 if (p->sink->endpoints[SND_SOC_DAPM_DIR_OUT] != 0) in snd_soc_dapm_mark_endpoints_dirty()
406 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status()
414 unsigned int val = dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status()
430 val = dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status()
492 for (i = 0; i < path->sink->num_kcontrols; i++) { in dapm_connect_mixer()
493 if (!strcmp(control_name, path->sink in dapm_connect_mixer()
560 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) dapm_check_dynamic_path() argument
609 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)) dapm_add_path() argument
3106 const char *sink; snd_soc_dapm_add_route() local
3202 const char *sink; snd_soc_dapm_del_route() local
3958 struct snd_soc_dai *source, *sink; dapm_dai_link_event_pre_pmu() local
4072 struct snd_soc_dai *source, *sink; dapm_dai_link_event() local
4410 struct snd_soc_dapm_widget *src, *sink; snd_soc_dapm_link_dai_widgets() local
4468 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
4495 struct snd_soc_dapm_widget **sink[] = { &codec, &cpu }; dapm_connect_dai_pair() local
[all...]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c950 if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE) { in dm_helpers_dp_write_dsc_enable()
955 } else if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) { in dm_helpers_dp_write_hblank_reduction()
1157 struct dc_sink *sink) in dm_helpers_read_local_edid()
1205 edid->extensions >= sizeof(sink->dc_edid.raw_edid) / EDID_LENGTH) in dm_set_dcn_clocks()
1208 sink->dc_edid.length = EDID_LENGTH * (edid->extensions + 1); in dm_set_dcn_clocks()
1209 memmove(sink->dc_edid.raw_edid, (uint8_t *)edid, sink->dc_edid.length);
1216 &sink->dc_edid, in dm_helpers_smu_timeout()
1217 &sink->edid_caps); in dm_helpers_smu_timeout()
1243 &sink in dm_helpers_override_panel_settings()
1082 dm_helpers_read_local_edid(struct dc_context * ctx,struct dc_link * link,struct dc_sink * sink) dm_helpers_read_local_edid() argument
1225 dm_helpers_init_panel_settings(struct dc_context * ctx,struct dc_panel_config * panel_config,struct dc_sink * sink) dm_helpers_init_panel_settings() argument
1593 dm_helpers_read_mccs_caps(struct dc_context * ctx,struct dc_link * link,struct dc_sink * sink) dm_helpers_read_mccs_caps() argument
1703 dm_helpers_mccs_vcp_set(struct dc_context * ctx,struct dc_link * link,struct dc_sink * sink) dm_helpers_mccs_vcp_set() argument
[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()
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()
/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/drivers/media/platform/samsung/exynos4-is/
H A Dmedia-dev.c320 /* Get pipeline sink entity */ in __fimc_pipeline_s_stream()
810 struct media_entity *sink; in __fimc_md_create_fimc_sink_links() local
833 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links()
834 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links()
840 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links()
846 source->name, flags ? '=' : '-', sink->name); in __fimc_md_create_fimc_sink_links()
853 sink = &fmd->fimc_lite[i]->subdev.entity; in __fimc_md_create_fimc_sink_links()
854 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links()
860 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links()
866 source->name, sink->name); in __fimc_md_create_fimc_sink_links()
[all …]
/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74115.yaml137 adi,digital-input-sink-range-high:
145 adi,digital-input-sink-microamp:
146 description: Sink current in digital input mode.
196 either source or sink for VOUT and 4mA sink for IOUT.
197 When present, the limit is 16mA in either source or sink for VOUT,
198 1mA sink for IOUT.
327 - adi,digital-input-sink-range-high
330 adi,digital-input-sink-microamp:

12345678910>>...17