Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.6/include/trace/events/
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-v6.6/drivers/gpu/drm/amd/display/modules/hdcp/
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-v6.6/drivers/gpu/drm/msm/dp/
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 …]
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__
24 struct dp_link *link; member
35 struct dp_debug_private *debug = seq->private; in dp_debug_show()
41 return -ENODEV; in dp_debug_show()
43 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show()
47 debug->panel->link_info.rate); in dp_debug_show()
49 debug->panel->link_info.num_lanes); in dp_debug_show()
51 debug->panel->link_info.capabilities); in dp_debug_show()
[all …]
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
89 struct dp_link_info *link) in dp_aux_link_configure() argument
94 values[0] = drm_dp_link_rate_to_bw_code(link->rate); in dp_aux_link_configure()
95 values[1] = link->num_lanes; in dp_aux_link_configure()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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 …]
Dbpf_tcp_ca.c1 // SPDX-License-Identifier: GPL-2.0
30 if (CHECK(err == -1, "setsockopt(fd, TCP_CONGESTION)", "errno:%d\n", in settcpca()
32 return -1; in settcpca()
44 while (fd == -1) { in server()
47 err = -errno; in server()
52 err = -errno; in server()
58 MIN(total_bytes - bytes, sizeof(batch)), 0); in server()
59 if (nr_sent == -1 && errno == EINTR) in server()
61 if (nr_sent == -1) { in server()
62 err = -errno; in server()
[all …]
/Linux-v6.6/drivers/mtd/maps/
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-v6.6/drivers/gpu/drm/amd/display/dc/link/
Dlink_factory.c27 * This file owns the creation/destruction of link structure.
55 /* link factory owns the creation/destruction of link structures. */
59 link_srv->create_link = link_create; in construct_link_service_factory()
60 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
63 /* link_detection manages link detection states and receiver states by using
64 * various link protocols. It also provides helper functions to interpret
70 link_srv->detect_link = link_detect; in construct_link_service_detection()
71 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection()
72 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection()
73 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection()
[all …]
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.
80 for (i = 0; i < dc->link_count; i++) { in link_blank_all_dp_displays()
81 if ((dc->links[i]->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) || in link_blank_all_dp_displays()
82 (dc->links[i]->priv == NULL) || (dc->links[i]->local_sink == NULL)) in link_blank_all_dp_displays()
86 dp_retrieve_lttpr_cap(dc->links[i]); in link_blank_all_dp_displays()
88 status = core_link_read_dpcd(dc->links[i], DP_SET_POWER, in link_blank_all_dp_displays()
92 link_blank_dp_stream(dc->links[i], true); in link_blank_all_dp_displays()
[all …]
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
65 static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR";
164 static enum signal_type link_detect_sink_signal_type(struct dc_link *link, in link_detect_sink_signal_type() argument
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()
176 /* Use basic signal type for link without physical connector. */ in link_detect_sink_signal_type()
177 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type()
192 /* PCIE detects the actual connector on add-on board */ in link_detect_sink_signal_type()
[all …]
/Linux-v6.6/drivers/gpu/drm/tegra/
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-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training_dpia.c44 link->ctx->logger
69 DPIA_TS_UFP_DONE = 0xff /* Done training DPTX-to-DPIA hop. */
92 /* Configure link as prescribed in link_setting; set LTTPR mode; and
93 * Initialize link training settings.
94 * Abort link training if sink unplug detected.
96 * @param link DPIA link being trained.
97 * @param[in] link_setting Lane count, link rate and downspread control.
98 * @param[out] lt_settings Link settings and drive settings (voltage swing and pre-emphasis).
101 struct dc_link *link, in dpia_configure_link() argument
109 DC_LOG_HW_LINK_TRAINING("%s\n DPIA(%d) configuring\n - LTTPR mode(%d)\n", in dpia_configure_link()
[all …]
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 …]
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 …]
/Linux-v6.6/tools/testing/selftests/drivers/net/bonding/
Dbond_options.sh2 # SPDX-License-Identifier: GPL-2.0
20 ip -n ${s_ns} link set eth0 type bond_slave prio 10
21 [[ $? -ne 0 ]] && skip=0
24 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
25 [[ $? -ne 0 ]] && skip=0
35 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}
36 [[ $? -ne 0 ]] && skip=0
39 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
40 [[ $? -ne 0 ]] && skip=0
42 ip -n ${s_ns} link del bond1
[all …]
/Linux-v6.6/drivers/nfc/
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-v6.6/drivers/acpi/
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-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
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()
54 return dc_dmub_check_min_version(dc->ctx->dmub_srv->dmub); in link_supports_psrsu()
[all …]
/Linux-v6.6/sound/soc/intel/boards/
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>
21 * Current only 2-amp configuration is supported for rt1011
82 dev_err(codec_dai->dev, "fail to set pll, ret %d\n", in rt1011_hw_params()
90 dev_err(codec_dai->dev, "fail to set sysclk, ret %d\n", in rt1011_hw_params()
96 dev_err(codec_dai->dev, "invalid codec index %d\n", in rt1011_hw_params()
98 return -ENODEV; in rt1011_hw_params()
105 dev_err(codec_dai->dev, "fail to set tdm slot, ret %d\n", in rt1011_hw_params()
[all …]
/Linux-v6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dhfsc.json13 "$IP link add dev $DUMMY type dummy || /bin/true"
18 "matchPattern": "qdisc hfsc 1: root refcnt [0-9]+",
22 "$IP link del dev $DUMMY type dummy"
36 "$IP link add dev $DUMMY type dummy || /bin/true",
42 … "matchPattern": "class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 20Kbit ul m1 0bit d 0us m2 10Kbit",
46 "$IP link del dev $DUMMY type dummy"
60 "$IP link add dev $DUMMY type dummy || /bin/true",
66 …"matchPattern": "class hfsc 1:1 parent 1: sc m1 2464Kbit d 5ms m2 10Kbit ul m1 0bit d 0us m2 10Kbi…
70 "$IP link del dev $DUMMY type dummy"
84 "$IP link add dev $DUMMY type dummy || /bin/true",
[all …]
/Linux-v6.6/sound/soc/
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->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-v6.6/drivers/net/wwan/iosm/
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 …]
/Linux-v6.6/tools/testing/selftests/net/
Dtest_bridge_neigh_suppress.sh2 # SPDX-License-Identifier: GPL-2.0
10 # +-----------------------+ +------------------------+
22 # +----|------------------+ +----|-------------------+
25 # +----|-------------------------------+ +----|-------------------------------+
29 # | +------------+-----------+ | | +------------+-----------+ |
32 # | +---+---+ | | +---+---+ |
43 # | veth0 +-------+ veth0 |
46 # +------------------------------------+ +------------------------------------+
49 # Kselftest framework requirement - SKIP code is 4.
52 # All tests in this script. Can be overridden with -t option.
[all …]
/Linux-v6.6/arch/powerpc/platforms/powernv/
Docxl.c1 // SPDX-License-Identifier: GPL-2.0+
3 #include <asm/pnv-ocxl.h>
5 #include <misc/ocxl-config.h>
10 /* PASIDs are 20-bit, but on P9, NPU can only handle 15 bits */
12 #define PNV_OCXL_PASID_MAX ((1 << PNV_OCXL_PASID_BITS) - 1)
45 * hardware supports a finite number of actags per link (64 for
55 * about the other PCI functions and how many actags they'd like,
71 * the AFUs, by pro-rating if needed.
113 return -ESRCH; in get_max_afu_index()
119 *afu_idx = -1; in get_max_afu_index()
[all …]

12345678910>>...43