| /linux/tools/testing/selftests/net/ |
| H A D | udpgso.sh | 31 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 D | link_detection.c | 265 struct dc_sink *sink) in read_scdc_caps() argument 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)); in read_scdc_caps() 1114 struct dc_sink *sink = NULL; in detect_link_and_local_sink() local 1286 sink = dc_sink_create(&sink_init_data); in detect_link_and_local_sink() 1287 if (!sink) { in detect_link_and_local_sink() 1294 sink->link->dongle_max_pix_clk = sink_caps.max_hdmi_pixel_clock; in detect_link_and_local_sink() 1295 sink->converter_disable_audio = converter_disable_audio; in detect_link_and_local_sink() [all …]
|
| /linux/drivers/media/mc/ |
| H A D | mc-entity.c | 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() 838 if (link->sink != pad && link->source != pad) in __media_pipeline_start() 852 if (link->sink != pad) in __media_pipeline_start() 864 link->sink->entity->name, in __media_pipeline_start() 865 link->sink->index, ret); in __media_pipeline_start() 873 link->sink->entity->name, in __media_pipeline_start() [all …]
|
| /linux/drivers/thunderbolt/ |
| H A D | lc.c | 550 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument 564 if (!sink) { in tb_lc_dp_sink_available() 590 int sink; in tb_lc_dp_sink_query() local 599 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_query() 600 if (sink < 0) in tb_lc_dp_sink_query() 603 return !tb_lc_dp_sink_available(sw, sink); in tb_lc_dp_sink_query() 620 int ret, sink; in tb_lc_dp_sink_alloc() local 626 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_alloc() 627 if (sink < 0) in tb_lc_dp_sink_alloc() 628 return sink; in tb_lc_dp_sink_alloc() [all …]
|
| /linux/tools/usb/ |
| H A 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/drivers/media/platform/samsung/exynos4-is/ |
| H A D | media-dev.c | 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() 874 struct media_entity *source, *sink; in __fimc_md_create_flite_source_links() local [all …]
|
| /linux/sound/soc/ |
| H A D | soc-dapm.c | 283 * 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/staging/media/imx/ |
| H A 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/Documentation/trace/coresight/ |
| H A D | coresight-tpda.rst | 35 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
|
| H A D | coresight-dummy.rst | 19 disabling them. It also provides the Coresight dummy sink/source paths for 25 There are two types of nodes, dummy sink and dummy source. These nodes 31 dummy_sink0 -> ../../../devices/platform/soc@0/soc@0:sink/dummy_sink0
|
| /linux/include/linux/usb/ |
| H A D | tcpci.h | 225 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); 240 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc() 244 return sink ? TYPEC_CC_RP_DEF : TYPEC_CC_RA; in tcpci_to_typec_cc() 246 return sink ? TYPEC_CC_RP_1_5 : TYPEC_CC_RD; in tcpci_to_typec_cc() 248 if (sink) in tcpci_to_typec_cc() 239 tcpci_to_typec_cc(unsigned int cc,bool sink) tcpci_to_typec_cc() argument
|
| /linux/sound/soc/intel/avs/ |
| H A D | path.c | 119 struct avs_path *sink) in avs_condpath_find_variant() 125 variant->sink_path_id == sink->template->id) in avs_condpath_find_variant() 146 id2 = &template->sink; in avs_condpath_find_match() 148 id = &template->sink; in avs_condpath_find_match() 152 /* Check whether this path is either source or sink of condpath template. */ in avs_condpath_find_match() 944 binding->sink = this_mod; in avs_path_binding_arm() 949 binding->sink = target_mod; in avs_path_binding_arm() 986 struct avs_path_module *source, *sink; in avs_path_pipeline_arm() 999 sink = list_next_entry(mod, node); in avs_path_pipeline_arm() 1002 sink in avs_path_pipeline_arm() 121 avs_condpath_find_variant(struct avs_dev * adev,struct avs_tplg_path_template * template,struct avs_path * source,struct avs_path * sink) avs_condpath_find_variant() argument 988 struct avs_path_module *source, *sink; avs_path_pipeline_arm() local 1216 avs_condpath_create(struct avs_dev * adev,struct avs_tplg_path * template,struct avs_path * source,struct avs_path * sink) avs_condpath_create() argument 1250 struct avs_path *source, *sink; avs_condpaths_walk() local 1399 struct avs_path_module *source, *sink; avs_path_bind() local 1432 struct avs_path_module *source, *sink; avs_path_unbind() local [all...] |
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-usb_power_delivery | 37 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 …]
|
| H A D | sysfs-bus-i2c-devices-lm3533 | 7 sink HVLED[n] (n = 1, 2) (0, 1). 14 Set the controlling led device for low-voltage current sink
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_helpers.c | 992 if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE) { in dm_helpers_dp_write_dsc_enable() 997 } else if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) { in dm_helpers_dp_write_dsc_enable() 1222 struct dc_sink *sink) in dm_helpers_read_local_edid() argument 1277 connector->edid_blob_ptr->length > sizeof(sink->dc_edid.raw_edid)) in dm_helpers_read_local_edid() 1287 sink->dc_edid.length = connector->edid_blob_ptr->length; in dm_helpers_read_local_edid() 1288 memmove(sink->dc_edid.raw_edid, (uint8_t *)edid, sink->dc_edid.length); in dm_helpers_read_local_edid() 1295 &sink->dc_edid, in dm_helpers_read_local_edid() 1296 &sink->edid_caps); in dm_helpers_read_local_edid() 1322 &sink->dc_edid.raw_edid[sink->dc_edid.length-1], in dm_helpers_read_local_edid() 1383 struct dc_sink *sink) in dm_helpers_init_panel_settings() argument [all …]
|
| /linux/Documentation/driver-api/mei/ |
| H A 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/drivers/media/usb/au0828/ |
| H A 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/drivers/media/platform/renesas/rzg2l-cru/ |
| H A D | rzg2l-core.c | 42 struct media_entity *source, *sink; in rzg2l_cru_group_notify_complete() local 66 sink = &cru->ip.subdev.entity; in rzg2l_cru_group_notify_complete() 67 ret = media_create_pad_link(source, 1, sink, 0, in rzg2l_cru_group_notify_complete() 72 source->name, sink->name); in rzg2l_cru_group_notify_complete() 79 sink = &cru->vdev.entity; in rzg2l_cru_group_notify_complete() 80 ret = media_create_pad_link(source, 1, sink, 0, in rzg2l_cru_group_notify_complete() 85 source->name, sink->name); in rzg2l_cru_group_notify_complete()
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A 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/drivers/gpu/ipu-v3/ |
| H A D | ipu-common.c | 652 struct fsu_link_reg_info sink; member 659 .sink = { IPUV3_CHANNEL_MEM_ROT_ENC, IPU_FS_PROC_FLOW1, 664 .sink = { IPUV3_CHANNEL_MEM_ROT_VF, IPU_FS_PROC_FLOW1, 669 .sink = { IPUV3_CHANNEL_MEM_ROT_PP, IPU_FS_PROC_FLOW1, 673 .sink = { IPUV3_CHANNEL_CSI_VDI_PREV, IPU_FS_PROC_FLOW1, 678 static const struct fsu_link_info *find_fsu_link_info(int src, int sink) in find_fsu_link_info() argument 684 sink == fsu_link_info[i].sink.chno) in find_fsu_link_info() 713 if (link->sink.mask) { in ipu_fsu_link() 714 sink_reg = ipu_cm_read(ipu, link->sink.reg); in ipu_fsu_link() 715 sink_reg &= ~link->sink.mask; in ipu_fsu_link() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | dp.c | 321 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/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-dai-i2s.c | 538 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 618 mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget * source,struct snd_soc_dapm_widget * sink) mtk_afe_mclk_apll_connect() argument [all...] |
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-ctcu-core.c | 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() 148 port_num = ctcu_get_active_port(sink, csdev); in ctcu_set_etr_traceid()
|
| /linux/sound/soc/sof/ |
| H A D | sof-audio.c | 349 if (!widget_in_list(list, p->sink)) in sof_setup_pipeline_connections() 352 if (p->sink->dobj.private) { in sof_setup_pipeline_connections() 354 p->sink); in sof_setup_pipeline_connections() 466 if (!widget_in_list(list, p->sink)) in sof_unprepare_widgets_in_path() 469 if (!p->walking && p->sink->dobj.private) { in sof_unprepare_widgets_in_path() 471 sof_unprepare_widgets_in_path(sdev, p->sink, list, dir); in sof_unprepare_widgets_in_path() 521 if (!widget_in_list(list, p->sink)) in sof_prepare_widgets_in_path() 524 if (!p->walking && p->sink->dobj.private) { in sof_prepare_widgets_in_path() 526 ret = sof_prepare_widgets_in_path(sdev, p->sink, fe_params, in sof_prepare_widgets_in_path() 579 if (!widget_in_list(list, p->sink)) in sof_free_widgets_in_path() [all …]
|
| /linux/Documentation/trace/ |
| H A D | intel_th.rst | 47 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).
|