/linux-6.14.4/sound/soc/intel/boards/ |
D | sof_board_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "../common/soc-intel-quirks.h" 11 * Intel HDMI DAI Link 15 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in hdmi_init() 18 ctx->hdmi.hdmi_comp = dai->component; in hdmi_init() 27 if (!ctx->hdmi_num) in sof_intel_board_card_late_probe() 30 if (!ctx->hdmi.idisp_codec) in sof_intel_board_card_late_probe() 33 if (!ctx->hdmi.hdmi_comp) in sof_intel_board_card_late_probe() 34 return -EINVAL; in sof_intel_board_card_late_probe() 36 return hda_dsp_hdmi_build_controls(card, ctx->hdmi.hdmi_comp); in sof_intel_board_card_late_probe() [all …]
|
D | sof_realtek_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <sound/soc-acpi.h> 11 #include <sound/soc-dai.h> 12 #include <sound/soc-dapm.h> 18 #include "../common/soc-intel-quirks.h" 55 for_each_acpi_dev_match(adev, hid, NULL, -1) in get_num_codecs() 150 dev_err(codec_dai->dev, "fail to set pll, ret %d\n", in rt1011_hw_params() 158 dev_err(codec_dai->dev, "fail to set sysclk, ret %d\n", in rt1011_hw_params() 164 dev_err(codec_dai->dev, "invalid codec index %d\n", in rt1011_hw_params() 166 return -ENODEV; in rt1011_hw_params() [all …]
|
D | sof_maxim_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <sound/soc-acpi.h> 10 #include <sound/soc-dai.h> 11 #include <sound/soc-dapm.h> 14 #include "../common/soc-intel-quirks.h" 37 for_each_acpi_dev_match(adev, hid, NULL, -1) in get_num_codecs() 89 * The tx mask indicates which channel(s) contains output IV-sense data and 90 * others should set to Hi-Z. Here we get the channel number from codec's ACPI 91 * device property "maxim,vmon-slot-no" and "maxim,imon-slot-no" to generate the 99 if (device_property_read_u32(dev, "maxim,vmon-slot-no", &vmon_slot)) in max_98373_get_tx_mask() [all …]
|
/linux-6.14.4/include/trace/events/ |
D | fsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 TP_PROTO(const struct fsi_master *master, int link, int id, 14 TP_ARGS(master, link, id, addr, size), 17 __field(int, link) 23 __entry->master_idx = master->idx; 24 __entry->link = link; 25 __entry->id = id; 26 __entry->addr = addr; 27 __entry->size = size; 29 TP_printk("fsi%d:%02d:%02d %08x[%zu]", [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_dp_dpia_bw.c | 34 link->ctx->logger 38 // ------------------------------------------------------------------ 40 // ------------------------------------------------------------------ 43 * - Is it USB4 link? 44 * - Is HPD HIGH? 45 * - Is BW Allocation Support Mode enabled on DP-Tx? 49 return (tmp && DISPLAY_ENDPOINT_USB4_DPIA == tmp->ep_type in get_bw_alloc_proceed_flag() 50 && tmp->hpd_status in get_bw_alloc_proceed_flag() 51 && tmp->dpia_bw_alloc_config.bw_alloc_enabled); in get_bw_alloc_proceed_flag() 54 static void reset_bw_alloc_struct(struct dc_link *link) in reset_bw_alloc_struct() argument [all …]
|
D | link_dp_training_dpia.c | 44 link->ctx->logger 66 DPIA_TS_UFP_DONE = 0xff /* Done training DPTX-to-DPIA hop. */ 89 /* Configure link as prescribed in link_setting; set LTTPR mode; and 90 * Initialize link training settings. 91 * Abort link training if sink unplug detected. 93 * @param link DPIA link being trained. 94 * @param[in] link_setting Lane count, link rate and downspread control. 95 * @param[out] lt_settings Link settings and drive settings (voltage swing and pre-emphasis). 98 struct dc_link *link, in dpia_configure_link() argument 106 DC_LOG_HW_LINK_TRAINING("%s\n DPIA(%d) configuring\n - LTTPR mode(%d)\n", in dpia_configure_link() [all …]
|
D | link_dp_training.c | 27 * This file implements all generic dp link training helper functions and top 28 * level generic training sequence. All variations of dp link training sequence 31 * of link encoding and back end hardware. 40 #include "link/accessories/link_dp_trace.h" 44 #include "link/link_detection.h" 45 #include "link/link_validation.h" 52 link->ctx->logger 59 struct dc_link *link, in dp_log_training_result() argument 67 switch (lt_settings->link_settings.link_rate) { in dp_log_training_result() 134 lt_result = "Link loss"; in dp_log_training_result() [all …]
|
D | link_dp_dpia.c | 1 // SPDX-License-Identifier: MIT 40 link->ctx->logger 49 enum dc_status dpcd_get_tunneling_device_data(struct dc_link *link) in dpcd_get_tunneling_device_data() argument 57 link, in dpcd_get_tunneling_device_data() 66 link, in dpcd_get_tunneling_device_data() 74 link->dpcd_caps.usb4_dp_tun_info.dp_tun_cap.raw = in dpcd_get_tunneling_device_data() 75 dpcd_dp_tun_data[DP_TUNNELING_CAPABILITIES_SUPPORT - DP_TUNNELING_CAPABILITIES_SUPPORT]; in dpcd_get_tunneling_device_data() 76 link->dpcd_caps.usb4_dp_tun_info.dpia_info.raw = in dpcd_get_tunneling_device_data() 77 dpcd_dp_tun_data[DP_IN_ADAPTER_INFO - DP_TUNNELING_CAPABILITIES_SUPPORT]; in dpcd_get_tunneling_device_data() 78 link->dpcd_caps.usb4_dp_tun_info.usb4_driver_id = in dpcd_get_tunneling_device_data() [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp_log.h | 38 "[Link %d] WARNING %s IN STATE %s STAY COUNT %d", \ 39 hdcp->config.index, \ 41 mod_hdcp_state_id_to_str(hdcp->state.id), \ 42 hdcp->state.stay_count) 45 "[Link %d] HDCP 1.4 enabled on display %d", \ 46 hdcp->config.index, displayIndex) 49 "[Link %d] HDCP 2.2 enabled on display %d", \ 50 hdcp->config.index, displayIndex) 53 "[Link %d] HDCP 1.4 disabled on display %d", \ 54 hdcp->config.index, displayIndex) [all …]
|
/linux-6.14.4/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__ 49 struct msm_dp_link_info *link) in msm_dp_aux_link_power_up() argument 55 if (link->revision < 0x11) in msm_dp_aux_link_power_up() 77 struct msm_dp_link_info *link) in msm_dp_aux_link_power_down() argument 82 if (link->revision < 0x11) in msm_dp_aux_link_power_down() 99 static int msm_dp_link_get_period(struct msm_dp_link_private *link, int const addr) in msm_dp_link_get_period() argument 106 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in msm_dp_link_get_period() 108 ret = -EINVAL; in msm_dp_link_get_period() [all …]
|
D | dp_debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt)"[drm-dp] %s: " fmt, __func__ 21 struct msm_dp_link *link; member 28 struct msm_dp_debug_private *debug = seq->private; in msm_dp_debug_show() 34 return -ENODEV; in msm_dp_debug_show() 36 drm_mode = &debug->panel->msm_dp_mode.drm_mode; in msm_dp_debug_show() 40 debug->panel->link_info.rate); in msm_dp_debug_show() 42 debug->panel->link_info.num_lanes); in msm_dp_debug_show() 44 debug->panel->link_info.capabilities); in msm_dp_debug_show() [all …]
|
D | dp_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__ 12 #include <linux/phy/phy-dp.h> 46 u64 hactive; /* active h-width */ 61 u8 lrate; /* DP_LINK_RATE -> 162(6), 270(10), 540(20), 810 (30) */ 78 struct msm_dp_link *link; member 103 struct msm_dp_link_info *link) in msm_dp_aux_link_configure() argument 108 values[0] = drm_dp_link_rate_to_bw_code(link->rate); in msm_dp_aux_link_configure() 109 values[1] = link->num_lanes; in msm_dp_aux_link_configure() [all …]
|
D | dp_panel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 22 struct msm_dp_link *link; member 32 msm_dp_panel = &panel->msm_dp_panel; in msm_dp_panel_read_psr_cap() 35 if (msm_dp_panel->dpcd[DP_EDP_CONFIGURATION_CAP]) { in msm_dp_panel_read_psr_cap() 36 rlen = drm_dp_dpcd_read(panel->aux, DP_PSR_SUPPORT, in msm_dp_panel_read_psr_cap() 37 &msm_dp_panel->psr_cap, sizeof(msm_dp_panel->psr_cap)); in msm_dp_panel_read_psr_cap() 38 if (rlen == sizeof(msm_dp_panel->psr_cap)) { in msm_dp_panel_read_psr_cap() 39 drm_dbg_dp(panel->drm_dev, in msm_dp_panel_read_psr_cap() 41 msm_dp_panel->psr_cap.version, in msm_dp_panel_read_psr_cap() [all …]
|
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | link_pinning.c | 1 // SPDX-License-Identifier: GPL-2.0 16 struct bpf_link *link; in test_link_pinning_subtest() local 19 link = bpf_program__attach(prog); in test_link_pinning_subtest() 20 if (!ASSERT_OK_PTR(link, "link_attach")) in test_link_pinning_subtest() 23 bss->in = 1; in test_link_pinning_subtest() 25 CHECK(bss->out != 1, "res_check1", "exp %d, got %d\n", 1, bss->out); in test_link_pinning_subtest() 27 /* pin link */ in test_link_pinning_subtest() 28 err = bpf_link__pin(link, link_pin_path); in test_link_pinning_subtest() 29 if (CHECK(err, "link_pin", "err: %d\n", err)) in test_link_pinning_subtest() 32 CHECK(strcmp(link_pin_path, bpf_link__pin_path(link)), "pin_path1", in test_link_pinning_subtest() [all …]
|
/linux-6.14.4/drivers/mtd/maps/ |
D | pcmciamtd.c | 2 * pcmciamtd.c - MTD driver for PCMCIA flash memory cards 45 /* 2 = do 16-bit transfers, 1 = do 8-bit transfers */ 71 MODULE_PARM_DESC(force_size, "Force size of card in MiB (1-64)"); 85 struct pcmciamtd_dev *dev = (struct pcmciamtd_dev *)map->map_priv_1; in remap_window() 86 struct resource *win = (struct resource *) map->map_priv_2; in remap_window() 90 if (!pcmcia_dev_present(dev->p_dev)) { in remap_window() 95 offset = to & ~(dev->win_size-1); in remap_window() 96 if (offset != dev->offset) { in remap_window() 98 dev->offset, offset); in remap_window() 99 ret = pcmcia_map_mem_page(dev->p_dev, win, offset); in remap_window() [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/link/ |
D | link_factory.c | 27 * This file owns the creation/destruction of link structure. 49 dc_ctx->logger 56 /* link factory owns the creation/destruction of link structures. */ 60 link_srv->create_link = link_create; in construct_link_service_factory() 61 link_srv->destroy_link = link_destroy; in construct_link_service_factory() 64 /* link_detection manages link detection states and receiver states by using 65 * various link protocols. It also provides helper functions to interpret 71 link_srv->detect_link = link_detect; in construct_link_service_detection() 72 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection() 73 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection() [all …]
|
D | link_dpms.c | 28 * with the link and link's enable/disable sequences as result of the stream's 31 * TODO - The reason link owns stream's dpms programming sequence is 33 * specific link protocols. This unfortunately causes link to own a portion of 35 * boundary between link and stream is not clearly defined. 83 for (i = 0; i < dc->link_count; i++) { in link_blank_all_dp_displays() 84 if ((dc->links[i]->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) || in link_blank_all_dp_displays() 85 (dc->links[i]->priv == NULL) || (dc->links[i]->local_sink == NULL)) in link_blank_all_dp_displays() 89 dp_retrieve_lttpr_cap(dc->links[i]); in link_blank_all_dp_displays() 91 status = core_link_read_dpcd(dc->links[i], DP_SET_POWER, in link_blank_all_dp_displays() 95 link_blank_dp_stream(dc->links[i], true); in link_blank_all_dp_displays() [all …]
|
D | link_detection.c | 27 * This file manages link detection states and receiver states by using various 28 * link protocols. It also provides helper functions to interpret certain 55 link->ctx->logger 71 static const u8 dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; 170 static enum signal_type link_detect_sink_signal_type(struct dc_link *link, in link_detect_sink_signal_type() argument 176 if (link->is_dig_mapping_flexible) in link_detect_sink_signal_type() 179 enc_id = link->link_enc->id; in link_detect_sink_signal_type() 180 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type() 182 /* Use basic signal type for link without physical connector. */ in link_detect_sink_signal_type() 183 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type() [all …]
|
/linux-6.14.4/drivers/gpu/drm/tegra/ |
D | dp.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2013-2019 NVIDIA Corporation 17 caps->enhanced_framing = false; in drm_dp_link_caps_reset() 18 caps->tps3_supported = false; in drm_dp_link_caps_reset() 19 caps->fast_training = false; in drm_dp_link_caps_reset() 20 caps->channel_coding = false; in drm_dp_link_caps_reset() 21 caps->alternate_scrambler_reset = false; in drm_dp_link_caps_reset() 27 dest->enhanced_framing = src->enhanced_framing; in drm_dp_link_caps_copy() 28 dest->tps3_supported = src->tps3_supported; in drm_dp_link_caps_copy() 29 dest->fast_training = src->fast_training; in drm_dp_link_caps_copy() [all …]
|
/linux-6.14.4/tools/testing/selftests/drivers/net/bonding/ |
D | bond_options.sh | 2 # SPDX-License-Identifier: GPL-2.0 22 ip -n ${s_ns} link set eth0 type bond_slave prio 10 23 [[ $? -ne 0 ]] && skip=0 26 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10" 27 [[ $? -ne 0 ]] && skip=0 37 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6} 38 [[ $? -ne 0 ]] && skip=0 41 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}" 42 [[ $? -ne 0 ]] && skip=0 44 ip -n ${s_ns} link del bond1 [all …]
|
/linux-6.14.4/drivers/nfc/ |
D | nfcsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \ argument 19 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \ argument 67 struct nfcsim_link *link; in nfcsim_link_new() local 69 link = kzalloc(sizeof(struct nfcsim_link), GFP_KERNEL); in nfcsim_link_new() 70 if (!link) in nfcsim_link_new() 73 mutex_init(&link->lock); in nfcsim_link_new() 74 init_waitqueue_head(&link->recv_wait); in nfcsim_link_new() 76 return link; in nfcsim_link_new() 79 static void nfcsim_link_free(struct nfcsim_link *link) in nfcsim_link_free() argument [all …]
|
/linux-6.14.4/drivers/acpi/ |
D | pci_link.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 34 $) 10 * 1. Support more than one IRQ resource entry per link device (index). 12 * for IRQ management (e.g. start()->_SRS). 33 #define ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link" 52 * If a link is initialized, we never change its active and initialized 53 * later even the link is disable. Instead, we just repick the active irq 75 static int sci_irq = -1, sci_penalty; 77 /* -------------------------------------------------------------------------- 78 PCI Link Device Management [all …]
|
/linux-6.14.4/net/mac80211/ |
D | debugfs_netdev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2020-2023 Intel Corporation 23 #include "driver-ops.h" 36 struct ieee80211_if_read_sdata_data *d = data; in ieee80211_if_read_sdata_handler() local 38 return d->format(d->sdata, buf, bufsize); in ieee80211_if_read_sdata_handler() 47 struct ieee80211_sub_if_data *sdata = file->private_data; in ieee80211_if_read_sdata() 54 return wiphy_locked_debugfs_read(sdata->local->hw.wiphy, in ieee80211_if_read_sdata() 72 struct ieee80211_if_write_sdata_data *d = data; in ieee80211_if_write_sdata_handler() local 74 return d->write(d->sdata, buf, count); in ieee80211_if_write_sdata_handler() 83 struct ieee80211_sub_if_data *sdata = file->private_data; in ieee80211_if_write_sdata() [all …]
|
/linux-6.14.4/sound/soc/ |
D | soc-topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-topology.c -- ALSA SoC Topology 29 #include <sound/soc-dapm.h> 30 #include <sound/soc-topology.h> 83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 88 return -EINVAL; in soc_tplg_check_elem_count() 94 dev_err(tplg->dev, in soc_tplg_check_elem_count() 95 "ASoC: %s count %d of size %zu is bigger than chunk %zu\n", in soc_tplg_check_elem_count() [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_psr.c | 33 static bool link_supports_psrsu(struct dc_link *link) in link_supports_psrsu() argument 35 struct dc *dc = link->ctx->dc; in link_supports_psrsu() 37 if (!dc->caps.dmcub_support) in link_supports_psrsu() 40 if (dc->ctx->dce_version < DCN_VERSION_3_1) in link_supports_psrsu() 43 if (!is_psr_su_specific_panel(link)) in link_supports_psrsu() 46 if (!link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP || in link_supports_psrsu() 47 !link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED) in link_supports_psrsu() 50 if (link->dpcd_caps.psr_info.psr_dpcd_caps.bits.SU_GRANULARITY_REQUIRED && in link_supports_psrsu() 51 !link->dpcd_caps.psr_info.psr2_su_y_granularity_cap) in link_supports_psrsu() 57 /* Temporarily disable PSR-SU to avoid glitches */ in link_supports_psrsu() [all …]
|