Home
last modified time | relevance | path

Searched +full:d +full:- +full:link (Results 1 – 25 of 1073) sorted by relevance

12345678910>>...43

/linux/sound/soc/intel/boards/
H A Dsof_board_helpers.c1 // 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 …]
H A Dsof_realtek_common.c1 // 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 …]
H A Dsof_maxim_common.c1 // 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/include/trace/events/
H A Dfsi.h1 /* 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/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_dpia_bw.c34 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 …]
H A Dlink_dp_training_dpia.c44 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 …]
H A Dlink_dp_dpia.c1 // 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()
63 link, in dpcd_get_tunneling_device_data()
68 link->dpcd_caps.usb4_dp_tun_info.dp_tun_cap.raw = in dpcd_get_tunneling_device_data()
69 dpcd_dp_tun_data[DP_TUNNELING_CAPABILITIES_SUPPORT - DP_TUNNELING_CAPABILITIES_SUPPORT]; in dpcd_get_tunneling_device_data()
70 link->dpcd_caps.usb4_dp_tun_info.dpia_info.raw = in dpcd_get_tunneling_device_data()
71 dpcd_dp_tun_data[DP_IN_ADAPTER_INFO - DP_TUNNELING_CAPABILITIES_SUPPORT]; in dpcd_get_tunneling_device_data()
72 link->dpcd_caps.usb4_dp_tun_info.usb4_driver_id = in dpcd_get_tunneling_device_data()
[all …]
H A Dlink_dp_training.c27 * 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 …]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_log.h38 "[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/drivers/gpu/drm/msm/dp/
H A Ddp_link.c1 // 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 dp_link_info *link) in dp_aux_link_power_up() argument
55 if (link->revision < 0x11) in dp_aux_link_power_up()
77 struct dp_link_info *link) in dp_aux_link_power_down() argument
82 if (link->revision < 0x11) in dp_aux_link_power_down()
99 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument
106 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period()
108 ret = -EINVAL; in dp_link_get_period()
[all …]
H A Ddp_debug.c1 // 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 dp_link *link; member
28 struct dp_debug_private *debug = seq->private; in dp_debug_show()
34 return -ENODEV; in dp_debug_show()
36 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show()
40 debug->panel->link_info.rate); in dp_debug_show()
42 debug->panel->link_info.num_lanes); in dp_debug_show()
44 debug->panel->link_info.capabilities); in dp_debug_show()
[all …]
H A Ddp_ctrl.c1 // 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 dp_link *link; member
103 struct dp_link_info *link) in dp_aux_link_configure() argument
108 values[0] = drm_dp_link_rate_to_bw_code(link->rate); in dp_aux_link_configure()
109 values[1] = link->num_lanes; in dp_aux_link_configure()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlink_pinning.c1 // 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/drivers/mtd/maps/
H A Dpcmciamtd.c2 * 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/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c27 * 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 …]
H A Dlink_dpms.c28 * 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 …]
H A Dlink_detection.c27 * This file manages link detection states and receiver states by using various
28 * link protocols. It also provides helper functions to interpret certain
52 link->ctx->logger
68 static const u8 dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR";
167 static enum signal_type link_detect_sink_signal_type(struct dc_link *link, in link_detect_sink_signal_type() argument
173 if (link->is_dig_mapping_flexible) in link_detect_sink_signal_type()
176 enc_id = link->link_enc->id; in link_detect_sink_signal_type()
177 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type()
179 /* Use basic signal type for link without physical connector. */ in link_detect_sink_signal_type()
180 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type()
[all …]
/linux/drivers/gpu/drm/tegra/
H A Ddp.c1 // 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/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh2 # 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/drivers/nfc/
H A Dnfcsim.c1 // 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/drivers/acpi/
H A Dpci_link.c1 // 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/sound/soc/
H A Dsoc-topology.c1 // 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->f in soc_tplg_check_elem_count()
302 soc_tplg_dai_link_load(struct soc_tplg * tplg,struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) soc_tplg_dai_link_load() argument
431 struct snd_soc_dai_link *link = soc_tplg_remove_link() local
1466 set_link_flags(struct snd_soc_dai_link * link,unsigned int flag_mask,unsigned int flags) set_link_flags() argument
1493 struct snd_soc_dai_link *link; soc_tplg_fe_link_create() local
1649 set_link_hw_format(struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) set_link_hw_format() argument
1730 struct snd_soc_dai_link *link = rtd->dai_link; snd_soc_find_dai_link() local
1752 struct snd_soc_dai_link *link; soc_tplg_link_config() local
1813 struct snd_soc_tplg_link_config *link; soc_tplg_link_elems_load() local
1863 soc_tplg_dai_config(struct soc_tplg * tplg,struct snd_soc_tplg_dai * d) soc_tplg_dai_config() argument
[all...]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_psr.c33 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 return dc_dmub_check_min_version(dc->ctx->dmub_srv->dmub); in link_supports_psrsu()
[all …]
/linux/net/mac80211/
H A Ddebugfs_netdev.c1 // 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/drivers/net/wwan/iosm/
H A Diosm_ipc_pm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
21 if (host_slp_check && ipc_pm->host_pm_state != IPC_MEM_HOST_PM_ACTIVE && in ipc_pm_signal_hpda_doorbell()
22 ipc_pm->host_pm_state != IPC_MEM_HOST_PM_ACTIVE_WAIT) { in ipc_pm_signal_hpda_doorbell()
23 ipc_pm->pending_hpda_update = true; in ipc_pm_signal_hpda_doorbell()
24 dev_dbg(ipc_pm->dev, in ipc_pm_signal_hpda_doorbell()
25 "Pend HPDA update set. Host PM_State: %d identifier:%d", in ipc_pm_signal_hpda_doorbell()
26 ipc_pm->host_pm_state, identifier); in ipc_pm_signal_hpda_doorbell()
31 ipc_pm->pending_hpda_update = true; in ipc_pm_signal_hpda_doorbell()
32 dev_dbg(ipc_pm->dev, "Pending HPDA update set. identifier:%d", in ipc_pm_signal_hpda_doorbell()
[all …]

12345678910>>...43