/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-subdev.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Sub-device Interface 13 components as software blocks called sub-devices. 15 V4L2 sub-devices are usually kernel-only objects. If the V4L2 driver 17 media entities. Applications will be able to enumerate the sub-devices 21 In addition to make sub-devices discoverable, drivers can also choose to 23 sub-device driver and the V4L2 device driver support this, sub-devices 26 - query, read and write sub-devices controls 28 - subscribe and unsubscribe to events and retrieve them 30 - negotiate image formats on individual pads [all …]
|
/openbmc/qemu/include/hw/ |
H A D | stream.h | 6 #define TYPE_STREAM_SINK "stream-sink" 21 * can push - determine if a stream sink is capable of accepting at least 23 * sink is assumed to always be capable of receiving. 24 * @notify: Optional callback that the sink will call when the sink is 25 * capable of receiving again. Only called if false is returned. 31 * push - push data to a Stream sink. The number of bytes pushed is 32 * returned. If the sink short returns, the master must wait before trying 33 * again, the sink may continue to just return 0 waiting for the vm time to 35 * where the sink is ready to receive again, otherwise polling on a QEMU 37 * @obj: Stream sink to push to [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-dummy-sink.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-sink.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM Coresight Dummy sink component 15 sink. 17 The Coresight dummy sink component is for the specific coresight sink devices 19 Qualcomm platforms. It is a mini-USB hub implemented to support the USB-based 21 register it as Coresight sink device in kernel side, so that path can be 27 The primary use case of the coresight dummy sink is to build path in kernel [all …]
|
H A D | qcom,coresight-tpda.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/arm/qcom,coresight-tpda.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Trace, Profiling and Diagnostics Aggregator - TPDA 15 task for free-flowing data from TPDM (i.e. CMB and DSB data set flows). 18 TPDMs connect to it. But There must be only one TPDA in the path from the 19 TPDM source to TMC sink. TPDM can directly connect to TPDA's inport or 23 Enable coresight sink first. 30 The test data will be collected in the coresight sink which is enabled. [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | lc.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * tb_lc_read_uuid() - Read switch UUID from link controller common register 20 if (!sw->cap_lc) in tb_lc_read_uuid() 21 return -EINVAL; in tb_lc_read_uuid() 22 return tb_sw_read(sw, uuid, TB_CFG_SWITCH, sw->cap_lc + TB_LC_FUSE, 4); in tb_lc_read_uuid() 27 if (!sw->cap_lc) in read_lc_desc() 28 return -EINVAL; in read_lc_desc() 29 return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1); in read_lc_desc() 34 struct tb_switch *sw = port->sw; in find_port_lc_cap() 45 phys = tb_phy_port_from_link(port->port); in find_port_lc_cap() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_sink.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 34 static bool dc_sink_construct(struct dc_sink *sink, const struct dc_sink_init_data *init_params) in dc_sink_construct() argument 37 struct dc_link *link = init_params->link; in dc_sink_construct() 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() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/connector/ |
H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/coresight-pmu.h> 16 #include <linux/percpu-defs.h> 22 #include "coresight-config.h" 23 #include "coresight-etm-perf.h" 24 #include "coresight-priv.h" 25 #include "coresight-syscfg.h" 26 #include "coresight-trace-id.h" 34 * the trace path and the sink configuration. The event data is accessible 35 * via perf_get_aux(handle). However, a sink could "end" a perf output [all …]
|
H A D | coresight-core.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "coresight-etm-perf.h" 25 #include "coresight-priv.h" 26 #include "coresight-syscfg.h" 39 * struct coresight_node - elements of a path, from source to sink 49 * When operating Coresight drivers from the sysFS interface, only a single 50 * path can exist from a tracer (associated to a CPU) to a sink. 71 pm_runtime_get_sync(_dev->parent); in coresight_simple_show_pair() 72 val = csdev_access_relaxed_read_pair(&csdev->access, cs_attr->lo_off, cs_attr->hi_off); in coresight_simple_show_pair() 73 pm_runtime_put_sync(_dev->parent); in coresight_simple_show_pair() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-types.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _media-controller-types: 10 .. _media-entity-functions: 11 .. _MEDIA-ENT-F-UNKNOWN: 12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN: 13 .. _MEDIA-ENT-F-IO-V4L: 14 .. _MEDIA-ENT-F-IO-VBI: 15 .. _MEDIA-ENT-F-IO-SWRADIO: 16 .. _MEDIA-ENT-F-IO-DTV: 17 .. _MEDIA-ENT-F-DTV-DEMOD: [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 65 static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; 162 * Detect output sink type 170 if (link->is_dig_mapping_flexible) in link_detect_sink_signal_type() 173 enc_id = link->link_enc->id; in link_detect_sink_signal_type() 174 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type() 177 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type() 180 /* Internal digital encoder will detect only dongles in link_detect_sink_signal_type() 186 * LVDS connector supports only LVDS signal; in link_detect_sink_signal_type() 188 * eDP connector supports only eDP signal; in link_detect_sink_signal_type() 192 /* PCIE detects the actual connector on add-on board */ in link_detect_sink_signal_type() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 26 re-ordering (for example UYVY to YUYV) within the same colorspace, and 27 packed <--> planar conversion. The IDMAC can also perform a simple [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-typec-displayport | 6 Valid values are USB, source and sink. Source means DisplayPort 7 source, and sink means DisplayPort sink. 14 USB [source] sink 20 USB Type-C Standard. Functionally it equals to the situation 22 Documentation/ABI/testing/sysfs-bus-typec, and use file 29 VESA DisplayPort Alt Mode on USB Type-C Standard defines six 30 different pin assignments for USB Type-C connector that are 44 Note. As of VESA DisplayPort Alt Mode on USB Type-C Standard 45 version 1.0b, pin assignments A, B, and F are deprecated. Only 55 VESA DisplayPort Alt Mode on USB Type-C Standard defines how [all …]
|
H A D | sysfs-class-usb_power_delivery | 23 What: /sys/class/usb_power_delivery/.../source-capabilities 30 Power Delivery Specification. Each PDO - power supply - will 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 60 1), and the only mandatory PDO, is always the vSafe5V Fixed 70 support both source and sink power roles. 72 What: /sys/class/usb_power_delivery/.../source-capabilities/1:fixed_supply/usb_suspend_supported 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 [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_connector.h | 54 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 58 * enum drm_connector_status - status for a &drm_connector 66 * a sink device, and can be enabled. 71 * sink device which can be autodetect. For digital outputs like DP or 73 * nothing there. It is driver-dependent whether a connector with this 80 * flicker (like load-detection when the connector is in use), or when a 81 * hardware resource isn't available (like when load-detection needs a 84 * should only try to light up connectors with unknown status when 91 * enum drm_connector_registration_state - userspace registration status for 124 * - An unregistered connector may only have its DPMS changed from [all …]
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-tpda.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 13 TPDA - The trace performance monitoring and diagnostics aggregator or 21 --------------------------- 25 --------------------------- 30 /sys/bus/coresight/devices # ls -l | grep tpd 31 tpda0 -> ../../../devices/platform/soc@0/6004000.tpda/tpda0 32 tpdm0 -> ../../../devices/platform/soc@0/6c08000.mm.tpdm/tpdm0 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. [all …]
|
/openbmc/linux/include/media/ |
H A D | media-entity.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 * enum media_gobj_type - type of a graph object 42 #define MEDIA_BITS_PER_ID (32 - MEDIA_BITS_PER_TYPE) 43 #define MEDIA_ID_MASK GENMASK_ULL(MEDIA_BITS_PER_ID - 1, 0) 48 * struct media_gobj - Define a graph object. 51 * @id: Non-zero object ID identifier. The ID should be unique 55 * @list: List entry stored in one of the per-type mdev object lists 68 * struct media_entity_enum - An enumeration of media entities. 71 * media_entity->internal_idx. 80 * struct media_graph - Media graph traversal state [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_helper.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <sound/soc-dapm.h> 19 struct snd_soc_dapm_widget *src, *sink; in gbaudio_dapm_link_dai_widget() local 20 struct snd_soc_dai *dai = dai_w->priv; in gbaudio_dapm_link_dai_widget() 23 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget() 24 if (w->dapm != dai_w->dapm) in gbaudio_dapm_link_dai_widget() 27 switch (w->id) { in gbaudio_dapm_link_dai_widget() 35 if (!w->sname || !strstr(w->sname, dai_w->sname)) in gbaudio_dapm_link_dai_widget() 40 * if (w->linked) in gbaudio_dapm_link_dai_widget() 44 if (dai_w->id == snd_soc_dapm_dai_in) { in gbaudio_dapm_link_dai_widget() [all …]
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-entity.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <media/media-entity.h> 16 #include <media/media-device.h> 20 switch (intf->type) { in intf_type() 22 return "dvb-frontend"; in intf_type() 24 return "dvb-demux"; in intf_type() 26 return "dvb-dvr"; in intf_type() 28 return "dvb-ca"; in intf_type() 30 return "dvb-net"; in intf_type() 32 return "v4l-video"; in intf_type() [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-dapm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management 12 // o Platform power domain - can support external components i.e. amps and 15 // o Jack insertion power event initiation - e.g. hp insertion will enable 42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; 55 struct snd_soc_dapm_widget *sink)); 67 /* dapm power sequences - make this per codec in the future */ 152 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked() 185 return !list_empty(&w->dirty); in dapm_dirty_widget() 190 dapm_assert_locked(w->dapm); in dapm_mark_dirty() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_drm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 17 * dp_bridge_detect - callback to determine if connector is connected 25 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_detect() 27 drm_dbg_dp(dp->drm_dev, "is_connected = %s\n", in dp_bridge_detect() 28 (dp->is_connected) ? "true" : "false"); in dp_bridge_detect() 30 return (dp->is_connected) ? connector_status_connected : in dp_bridge_detect() 41 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_atomic_check() 43 drm_dbg_dp(dp->drm_dev, "is_connected = %s\n", in dp_bridge_atomic_check() 44 (dp->is_connected) ? "true" : "false"); in dp_bridge_atomic_check() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 13 #include "sof-audio.h" 14 #include "sof-of-dev.h" 20 switch (widget->id) { in is_virtual_widget() 24 dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name); in is_virtual_widget() 36 list_for_each_entry(sroute, &sdev->route_list, list) in sof_reset_route_setup_status() 37 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status() 38 if (sroute->setup && tplg_ops && tplg_ops->route_free) in sof_reset_route_setup_status() 39 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status() 41 sroute->setup = false; in sof_reset_route_setup_status() [all …]
|
/openbmc/linux/sound/pci/au88x0/ |
H A D | au8830.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 #define VORTEX_ADBDMA_STAT 0x27e00 /* read only, subbuffer, DMA pos */ 29 #define ADB_SUBBUF_MASK 0x00003000 /* ADB only. */ 30 #define ADB_SUBBUF_SHIFT 0xc /* ADB only. */ 31 #define VORTEX_ADBDMA_CTRL 0x27a00 /* write only; format, flags, DMA pos */ 48 #define VORTEX_ADBDMA_STATUS 0x27A90 /* stored at AdbDma->this_10 / 2 DWORD in size. */ 86 #define OFFSET_SPORTOUT 0x90 /* ch 0x13 ADB sink. 2 routes. */ 88 #define OFFSET_SPDIFOUT 0x92 /* ch 0x14 ADB sink. */ 90 #define OFFSET_AC98OUT 0x94 /* ch 0x14 ADB sink. */ 93 #define OFFSET_A3DIN 0x70 /* ADB sink. */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mt6360-tcpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller 10 - ChiYuan Huang <cy_huang@richtek.com> 13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators, 15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller. 20 - mediatek,mt6360-tcpc 25 interrupt-names: [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 | 4 Subject: [PATCH] android-tools: adb: add u3 ss descriptor support 6 Porting u3 Superspeed descriptor support to open-embedded android-tools package. 8 modified for backporting to android-tools_5.1.1.r37. 12 Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com> 13 Signed-off-by: Jiacheng Liu <jiacheng.liu@mediatek.com> 14 --- 15 Upstream-Status: Pending 17 adb/usb_linux_client.c | 275 +++++++++++++++++++++++++++++++---------- 18 1 file changed, 207 insertions(+), 68 deletions(-) 20 diff --git a/adb/usb_linux_client.c b/adb/usb_linux_client.c [all …]
|