/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_sink.c | 38 if (sink->dc_container_id) { in dc_sink_destruct() 53 sink->link = link; in dc_sink_construct() 54 sink->ctx = link->ctx; in dc_sink_construct() 72 kref_get(&sink->refcount); in dc_sink_retain() 78 dc_sink_destruct(sink); in dc_sink_free() 79 kfree(sink); in dc_sink_free() 89 struct dc_sink *sink = kzalloc(sizeof(*sink), GFP_KERNEL); in dc_sink_create() local 91 if (NULL == sink) in dc_sink_create() 97 kref_init(&sink->refcount); in dc_sink_create() 99 return sink; in dc_sink_create() [all …]
|
A 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/drivers/thunderbolt/ |
A D | lc.c | 365 if (!sink) { in tb_lc_dp_sink_available() 389 int sink; in tb_lc_dp_sink_query() local 399 if (sink < 0) in tb_lc_dp_sink_query() 417 int ret, sink; in tb_lc_dp_sink_alloc() local 424 if (sink < 0) in tb_lc_dp_sink_alloc() 425 return sink; in tb_lc_dp_sink_alloc() 436 if (!sink) { in tb_lc_dp_sink_alloc() 464 int ret, sink; in tb_lc_dp_sink_dealloc() local 471 if (sink < 0) in tb_lc_dp_sink_dealloc() 472 return sink; in tb_lc_dp_sink_dealloc() [all …]
|
/linux/drivers/media/mc/ |
A D | mc-entity.c | 322 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 680 link->sink = &sink->pads[sink_pad]; in media_create_pad_link() 697 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link() 708 sink->num_backlinks++; in media_create_pad_link() 709 sink->num_links++; in media_create_pad_link() 731 if (source && sink) in media_create_pad_links() 736 if (!source && !sink) { in media_create_pad_links() 852 sink = link->sink->entity; in __media_entity_setup_link() 897 link->sink->entity == sink->entity && in media_entity_find_link() 898 link->sink->index == sink->index) in media_entity_find_link() [all …]
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-etm-perf.c | 193 struct coresight_device *sink; in free_sink_buffer() local 365 if (!sink) { in etm_setup_aux() 375 last_sink = sink; in etm_setup_aux() 393 if (!sink) in etm_setup_aux() 401 if (!sink_ops(sink)->alloc_buffer || !sink_ops(sink)->free_buffer) in etm_setup_aux() 411 sink_ops(sink)->alloc_buffer(sink, event, pages, in etm_setup_aux() 466 sink = coresight_get_sink(path); in etm_event_start() 467 if (WARN_ON_ONCE(!sink)) in etm_event_start() 551 sink = coresight_get_sink(path); in etm_event_stop() 552 if (!sink) in etm_event_stop() [all …]
|
A D | coresight-core.c | 628 if (sink) in coresight_find_enabled_sink() 629 return sink; in coresight_find_enabled_sink() 798 if (csdev == sink) in _coresight_build_path() 803 if (_coresight_build_path(sink, sink, path) == 0) { in _coresight_build_path() 851 if (!sink) in coresight_build_path() 926 if (!sink) { in coresight_select_best_sink() 987 if (sink) in coresight_find_sink() 990 sink, in coresight_find_sink() 1037 if (source->def_sink == sink) in coresight_remove_sink_ref() 1092 struct coresight_device *sink; in coresight_enable() local [all …]
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_entity.c | 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 487 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink() 536 if (link->sink == pad) in vsp1_entity_remote_pad() 544 return link->sink; in vsp1_entity_remote_pad() [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
A 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/Documentation/userspace-api/media/v4l/ |
A D | dev-subdev.rst | 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 319 scaler's sink pad, and the format to the scaler source pad. 375 COMPOSE rectangle on the sink pad. In both sink and source pads, the 420 previous step. The exception to this rule is the sink compose 429 performed to the sink pad format. 434 the location of the actual sink compose rectangle in the sink compose 438 performed to the image in the sink compose bounds rectangle. [all …]
|
/linux/sound/soc/ |
A D | soc-dapm.c | 2951 sink = route->sink; in snd_soc_dapm_add_route() 3052 sink = route->sink; in snd_soc_dapm_del_route() 3060 if (strcmp(p->sink->name, sink) != 0) in snd_soc_dapm_del_route() 3166 if (!sink) { in snd_soc_dapm_weak_route() 3177 if (path->sink == sink) { in snd_soc_dapm_weak_route() 3864 sink = path->sink->priv; in snd_soc_dai_link_event_pre_pmu() 3921 sink = path->sink->priv; in snd_soc_dai_link_event_pre_pmu() 3962 sink = path->sink->priv; in snd_soc_dai_link_event() 3971 sink = path->sink->priv; in snd_soc_dai_link_event() 3985 sink = path->sink->priv; in snd_soc_dai_link_event() [all …]
|
/linux/Documentation/devicetree/bindings/connector/ |
A D | usb-connector.yaml | 74 - sink 83 - sink 132 sink-pdos: 144 sink-vdos: 156 sink-vdos-v1: 167 op-sink-microwatt: 226 sink-vdos-v1: [ 'sink-vdos' ] 227 sink-vdos: [ 'sink-vdos-v1' ] 318 try-power-role = "sink"; 320 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) [all …]
|
/linux/drivers/media/platform/exynos4-is/ |
A D | media-dev.c | 822 struct media_entity *sink; in __fimc_md_create_fimc_sink_links() local 852 ret = media_entity_call(sink, link_setup, &sink->pads[0], 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() 896 sink = &fimc->ve.vdev.entity; in __fimc_md_create_flite_source_links() 899 sink, 0, 0); in __fimc_md_create_flite_source_links() 905 sink, 0, 0); in __fimc_md_create_flite_source_links() 938 if (sink->num_pads == 0) in __fimc_md_create_fimc_is_links() 942 sink, 0, 0); in __fimc_md_create_fimc_is_links() 1045 sink, 0, flags); in fimc_md_create_links() [all …]
|
/linux/drivers/media/v4l2-core/ |
A 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/drivers/staging/media/imx/ |
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/tools/usb/ |
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/rockchip/rkisp1/ |
A D | rkisp1-dev.c | 123 struct media_entity *source, *sink; in rkisp1_create_links() local 161 sink = &rkisp1->resizer_devs[i].sd.entity; in rkisp1_create_links() 163 sink, RKISP1_RSZ_PAD_SINK, in rkisp1_create_links() 168 source = sink; in rkisp1_create_links() 169 sink = &rkisp1->capture_devs[i].vnode.vdev.entity; in rkisp1_create_links() 171 sink, 0, flags); in rkisp1_create_links() 178 sink = &rkisp1->isp.sd.entity; in rkisp1_create_links() 179 ret = media_create_pad_link(source, 0, sink, in rkisp1_create_links() 186 sink = &rkisp1->stats.vnode.vdev.entity; in rkisp1_create_links() 188 sink, 0, flags); in rkisp1_create_links()
|
/linux/drivers/media/usb/au0828/ |
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/sound/soc/mediatek/mt8183/ |
A 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() 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() 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 503 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_mclk_connect() 530 struct snd_soc_dapm_widget *sink) in mtk_afe_mclk_apll_connect() argument [all …]
|
/linux/Documentation/userspace-api/media/mediactl/ |
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/ |
A D | ipu-common.c | 690 struct fsu_link_reg_info sink; member 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() 754 sink_reg |= link->sink.val; in ipu_fsu_link() 755 ipu_cm_write(ipu, sink_reg, link->sink.reg); in ipu_fsu_link() 784 if (link->sink.mask) { in ipu_fsu_unlink() 785 sink_reg = ipu_cm_read(ipu, link->sink.reg); in ipu_fsu_unlink() 786 sink_reg &= ~link->sink.mask; in ipu_fsu_unlink() [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
A 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>;
|
A 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>;
|
/linux/drivers/media/usb/uvc/ |
A 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_mst_types.c | 527 struct dc_sink *sink; member 557 params[i].sink->ctx->dc->res_pool->dscs[0], in set_dsc_configs_from_fairness_vars() 558 ¶ms[i].sink->dsc_caps.dsc_dec_caps, in set_dsc_configs_from_fairness_vars() 589 param.sink->ctx->dc->res_pool->dscs[0], in bpp_x16_from_pbn() 590 ¶m.sink->dsc_caps.dsc_dec_caps, in bpp_x16_from_pbn() 591 param.sink->ctx->dc->debug.dsc_min_slice_height_override, in bpp_x16_from_pbn() 592 param.sink->edid_caps.panel_patch.max_dsc_target_bpp_limit, in bpp_x16_from_pbn() 798 params[count].sink = stream->sink; in compute_mst_dsc_configs_for_link() 810 stream->sink->ctx->dc->res_pool->dscs[0], in compute_mst_dsc_configs_for_link() 811 stream->sink->ctx->dc->debug.dsc_min_slice_height_override, in compute_mst_dsc_configs_for_link() [all …]
|
/linux/Documentation/driver-api/mei/ |
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
|