/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_sink.c | 34 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 D | dc_stream.c | 40 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument 42 if (sink->sink_signal == SIGNAL_TYPE_NONE) in update_stream_signal() 45 stream->signal = sink->sink_signal; in update_stream_signal() 50 sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal() 62 stream->sink = dc_sink_data; in dc_stream_construct() 132 dc_sink_release(stream->sink); in dc_stream_destruct() 160 struct dc_sink *sink) in dc_create_stream_for_sink() argument 164 if (sink == NULL) in dc_create_stream_for_sink() 171 if (dc_stream_construct(stream, sink) == false) in dc_create_stream_for_sink() 193 if (new_stream->sink) in dc_copy_stream() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 262 struct dc_sink *sink) in read_scdc_caps() argument 268 sizeof(offset), sink->scdc_caps.manufacturer_OUI.byte, in read_scdc_caps() 269 sizeof(sink->scdc_caps.manufacturer_OUI.byte)); in read_scdc_caps() 274 sizeof(offset), &(sink->scdc_caps.device_id.byte), in read_scdc_caps() 275 sizeof(sink->scdc_caps.device_id.byte)); in read_scdc_caps() 760 struct dc_sink *sink, in verify_link_capability_destructive() argument 830 static void verify_link_capability(struct dc_link *link, struct dc_sink *sink, in verify_link_capability() argument 834 verify_link_capability_destructive(link, sink, reason); in verify_link_capability() 858 struct dc_sink *sink = NULL; in detect_link_and_local_sink() local 1017 sink = dc_sink_create(&sink_init_data); in detect_link_and_local_sink() [all …]
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-entity.c | 273 return link->sink->entity; in media_entity_other() 366 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 618 link->sink->entity->name, link->sink->index); in media_pipeline_explore_next_link() 623 remote = link->sink; in media_pipeline_explore_next_link() 625 local = link->sink; in media_pipeline_explore_next_link() 825 if (link->sink != pad && link->source != pad) in __media_pipeline_start() 839 if (link->sink != pad) in __media_pipeline_start() 851 link->sink->entity->name, in __media_pipeline_start() 852 link->sink->index, ret); in __media_pipeline_start() 860 link->sink->entity->name, in __media_pipeline_start() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | stream.c | 6 stream_push(StreamSink *sink, uint8_t *buf, size_t len, bool eop) in stream_push() argument 8 StreamSinkClass *k = STREAM_SINK_GET_CLASS(sink); in stream_push() 10 return k->push(sink, buf, len, eop); in stream_push() 14 stream_can_push(StreamSink *sink, StreamCanPushNotifyFn notify, in stream_can_push() argument 17 StreamSinkClass *k = STREAM_SINK_GET_CLASS(sink); in stream_can_push() 19 return k->can_push ? k->can_push(sink, notify, notify_opaque) : true; in stream_can_push()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | lc.c | 530 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 …]
|
/openbmc/debug-trigger/ |
H A D | main.c | 92 int sink; member 108 if ((rc = write(sysrq->sink, &action, sizeof(action))) == sizeof(action)) in sysrq_sink_debug() 127 if ((rc = write(sysrq->sink, &action, sizeof(action))) == sizeof(action)) in sysrq_sink_reboot() 466 static int process(struct debug_source *source, struct debug_sink *sink) in process() argument 475 sink->ops->debug(sink->ctx); in process() 479 sink->ops->reboot(sink->ctx); in process() 500 struct debug_sink sink; in main() local 579 sysrq_sink.sink = sinkfd; in main() 580 sink.ops = &sysrq_sink_ops; in main() 581 sink.ctx = &sysrq_sink; in main() [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 197 struct coresight_device *sink; in free_sink_buffer() local 206 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 207 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 311 struct coresight_device *sink = NULL; in etm_setup_aux() local 323 sink = user_sink = coresight_get_sink_by_id(id); in etm_setup_aux() 376 sink = coresight_find_default_sink(csdev); in etm_setup_aux() 377 if (!sink) { in etm_setup_aux() 383 if (last_sink && !sinks_compatible(last_sink, sink)) { in etm_setup_aux() 387 last_sink = sink; in etm_setup_aux() 395 path = coresight_build_path(csdev, sink); in etm_setup_aux() [all …]
|
H A D | coresight-core.c | 642 struct coresight_device *sink = NULL; in coresight_find_enabled_sink() local 657 sink = coresight_find_enabled_sink(child_dev); in coresight_find_enabled_sink() 658 if (sink) in coresight_find_enabled_sink() 659 return sink; in coresight_find_enabled_sink() 820 struct coresight_device *sink, in _coresight_build_path() argument 828 if (csdev == sink) in _coresight_build_path() 831 if (coresight_is_percpu_source(csdev) && coresight_is_percpu_sink(sink) && in _coresight_build_path() 832 sink == per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev))) { in _coresight_build_path() 833 if (_coresight_build_path(sink, sink, path) == 0) { in _coresight_build_path() 845 _coresight_build_path(child_dev, sink, path) == 0) { in _coresight_build_path() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 62 route = source->sink->route->inputs[source->sink_pad]; in vsp1_entity_route_setup() 452 struct vsp1_entity *sink in vsp1_entity_link_setup_source() local 459 if (sink->type != VSP1_ENTITY_HGO && in vsp1_entity_link_setup_source() 460 sink->type != VSP1_ENTITY_HGT) { in vsp1_entity_link_setup_source() 461 if (source->sink) in vsp1_entity_link_setup_source() 463 source->sink = sink; in vsp1_entity_link_setup_source() 467 source->sink = NULL; in vsp1_entity_link_setup_source() 478 struct vsp1_entity *sink; in vsp1_entity_link_setup_sink() local 481 sink = media_entity_to_vsp1_entity(sink_pad->entity); in vsp1_entity_link_setup_sink() 486 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 325 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() 351 sink_idx = media_entity_get_fwnode_pad(sink->entity, in v4l2_create_fwnode_links_to_pad() 356 if (sink_idx < 0 || sink_idx != sink->index) in v4l2_create_fwnode_links_to_pad() 370 if (media_entity_find_link(src, sink)) in v4l2_create_fwnode_links_to_pad() 375 sink->entity->name, sink_idx); in v4l2_create_fwnode_links_to_pad() 378 sink->entity, sink_idx, flags); in v4l2_create_fwnode_links_to_pad() 383 sink->entity->name, sink_idx, ret); in v4l2_create_fwnode_links_to_pad() 569 struct media_entity *sink = link->sink->entity; in v4l2_pipeline_link_notify() local 575 sink_use = pipeline_pm_use_count(sink, graph); in v4l2_pipeline_link_notify() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-subdev.rst | 191 - Formats should be propagated from sink pads to source pads. Modifying 192 a format on a source pad should not modify the format on any sink 196 reset the scale factors to default values when sink pads formats are 198 source pads formats should be reset to the sink pads formats. 255 * - Configure frontend sink format 268 * - Configure scaler sink format 285 * - Configure scaler sink compose selection 309 host frontend and scaler sink and source pads have the default 310 values, as well as the compose rectangle on the scaler's sink pad. 312 2. The application configures the frontend sink pad format's size to [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0014-add-u3-ss-descriptor-support-for-adb.patch | 36 int bulk_in; /* "in" from the host's perspective => sink for adbd */ 44 - struct usb_endpoint_descriptor_no_audio sink; 55 + struct usb_endpoint_descriptor_no_audio sink; 62 + struct usb_endpoint_descriptor_no_audio sink; 133 + .sink = { 134 + .bLength = sizeof(fs_descriptors.sink), 160 + .sink = { 161 + .bLength = sizeof(hs_descriptors.sink), 210 - .sink = { 211 - .bLength = sizeof(descriptors.fs_descs.sink), [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-dapm.c | 55 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() 780 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status() 788 unsigned int val = soc_dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status() 804 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status() 830 for (i = 0; i < path->sink->num_kcontrols; i++) { in dapm_connect_mixer() 831 if (!strcmp(control_name, path->sink->kcontrol_news[i].name)) { in dapm_connect_mixer() 832 path->name = path->sink->kcontrol_news[i].name; in dapm_connect_mixer() 1462 !path->connected(path->source, path->sink)) in dapm_supply_check_power() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | media-dev.c | 821 struct media_entity *sink; in __fimc_md_create_fimc_sink_links() local 844 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links() 845 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 851 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links() 857 source->name, flags ? '=' : '-', sink->name); in __fimc_md_create_fimc_sink_links() 864 sink = &fmd->fimc_lite[i]->subdev.entity; in __fimc_md_create_fimc_sink_links() 865 ret = media_create_pad_link(source, pad, sink, in __fimc_md_create_fimc_sink_links() 871 ret = media_entity_call(sink, link_setup, &sink->pads[0], in __fimc_md_create_fimc_sink_links() 877 source->name, sink->name); in __fimc_md_create_fimc_sink_links() 885 struct media_entity *source, *sink; in __fimc_md_create_flite_source_links() local [all …]
|
/openbmc/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
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-graphics/clutter/clutter-gst-3.0/ |
H A D | 0001-Install-example-binary-needed-for-core-image-clutter.patch | 26 -noinst_PROGRAMS = camera-player video-player video-sink video-sink-navigation video-content 27 +bin_PROGRAMS = camera-player video-player video-sink video-sink-navigation video-content
|
/openbmc/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()
|
/openbmc/linux/include/linux/usb/ |
H A D | tcpci.h | 210 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); 224 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc() argument 228 return sink ? TYPEC_CC_RP_DEF : TYPEC_CC_RA; in tcpci_to_typec_cc() 230 return sink ? TYPEC_CC_RP_1_5 : TYPEC_CC_RD; in tcpci_to_typec_cc() 232 if (sink) in tcpci_to_typec_cc()
|
/openbmc/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
|
/openbmc/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 133 What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/operational_curr… 137 Operational current of the sink in milliamperes. 139 What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/fast_role_swap_c… 144 Current" field that tells the current level the sink requires [all …]
|
/openbmc/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() 80 sink = &cru->vdev.entity; in rzg2l_cru_group_notify_complete() 81 ret = media_create_pad_link(source, 1, sink, 0, in rzg2l_cru_group_notify_complete() 86 source->name, sink->name); in rzg2l_cru_group_notify_complete()
|
/openbmc/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()
|
/openbmc/linux/drivers/media/usb/uvc/ |
H 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()
|
/openbmc/linux/sound/soc/mediatek/mt8183/ |
H A D | mt8183-dai-i2s.c | 416 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_share_connect() argument 418 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect() 423 i2s_priv = get_i2s_priv_by_name(afe, sink->name); in mtk_afe_i2s_share_connect() 437 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_hd_connect() argument 439 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_hd_connect() 444 i2s_priv = get_i2s_priv_by_name(afe, sink->name); in mtk_afe_i2s_hd_connect() 451 if (get_i2s_id_by_name(afe, sink->name) == in mtk_afe_i2s_hd_connect() 466 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_apll_connect() argument 468 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_apll_connect() 492 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_mclk_connect() argument [all …]
|