/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | dp.c | 34 static void drm_dp_link_reset(struct drm_dp_link *link) in drm_dp_link_reset() argument 38 if (!link) in drm_dp_link_reset() 41 link->revision = 0; in drm_dp_link_reset() 42 link->max_rate = 0; in drm_dp_link_reset() 43 link->max_lanes = 0; in drm_dp_link_reset() 45 drm_dp_link_caps_reset(&link->caps); in drm_dp_link_reset() 46 link->aux_rd_interval.cr = 0; in drm_dp_link_reset() 47 link->aux_rd_interval.ce = 0; in drm_dp_link_reset() 48 link->edp = 0; in drm_dp_link_reset() 50 link->rate = 0; in drm_dp_link_reset() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 48 struct dp_link_info *link) in dp_aux_link_power_up() argument 53 if (link->revision < 0x11) in dp_aux_link_power_up() 73 struct dp_link_info *link) in dp_aux_link_power_down() argument 78 if (link->revision < 0x11) in dp_aux_link_power_down() 95 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument 102 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period() 121 static int dp_link_parse_audio_channel_period(struct dp_link_private *link) in dp_link_parse_audio_channel_period() argument 124 struct dp_link_test_audio *req = &link->dp_link.test_audio; in dp_link_parse_audio_channel_period() 126 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH1); in dp_link_parse_audio_channel_period() 133 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH2); in dp_link_parse_audio_channel_period() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | vxlan.sh | 20 ip link set dev $swp1 up 21 ip link set dev $swp2 up 28 ip link set dev $swp2 down 29 ip link set dev $swp1 down 34 ip link set dev $swp1 master br0 36 ip link set dev vxlan0 master br0 39 ip link set dev $swp1 nomaster 41 ip link set dev $swp1 master br0 47 ip link set dev $swp1 master br0 49 ip link set dev vxlan0 master br0 &> /dev/null [all …]
|
D | rtnetlink.sh | 44 ip link set dev $swp1 up 45 ip link set dev $swp2 up 52 ip link set dev $swp2 down 53 ip link set dev $swp1 down 72 ip link set dev $swp1 addr 00:11:22:33:44:55 83 ip link set dev $swp2 addr 00:11:22:33:44:66 90 ip link set dev $swp2 addr 00:11:22:33:00:66 &>/dev/null 92 ip link set dev $swp2 addr 00:11:22:33:00:66 2>&1 >/dev/null \ 101 ip link set dev $swp2 addr $swp2_mac 102 ip link set dev $swp1 addr $swp1_mac [all …]
|
D | extack.sh | 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 30 ip link set dev $swp2 down 31 ip link set dev $swp1 down 38 ip link add name br1 up type bridge vlan_filtering 0 mcast_snooping 0 39 ip link add name vx1 up type vxlan id 1000 \ 43 ip link set dev vx1 master br1 46 ip link set dev $swp1 master br1 49 ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 0 50 ip link add name vx2 up type vxlan id 2000 \ [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 19 link->ctx->logger 52 static uint32_t get_cr_training_aux_rd_interval(struct dc_link *link, in get_cr_training_aux_rd_interval() argument 60 link, in get_cr_training_aux_rd_interval() 70 struct dc_link *link, in get_eq_training_aux_rd_interval() argument 78 if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval() 82 link, in get_eq_training_aux_rd_interval() 95 struct dc_link *link, in wait_for_training_aux_rd_interval() argument 106 struct dc_link *link, in dpcd_set_training_pattern() argument 110 link, in dpcd_set_training_pattern() 129 static enum dc_dp_training_pattern decide_eq_training_pattern(struct dc_link *link, in decide_eq_training_pattern() argument [all …]
|
D | dc_link.c | 79 static void dc_link_destruct(struct dc_link *link) in dc_link_destruct() argument 83 if (link->hpd_gpio) { in dc_link_destruct() 84 dal_gpio_destroy_irq(&link->hpd_gpio); in dc_link_destruct() 85 link->hpd_gpio = NULL; in dc_link_destruct() 88 if (link->ddc) in dc_link_destruct() 89 dal_ddc_service_destroy(&link->ddc); in dc_link_destruct() 91 if (link->panel_cntl) in dc_link_destruct() 92 link->panel_cntl->funcs->destroy(&link->panel_cntl); in dc_link_destruct() 94 if (link->link_enc) in dc_link_destruct() 95 link->link_enc->funcs->destroy(&link->link_enc); in dc_link_destruct() [all …]
|
D | dc_link_hwss.c | 44 static inline bool is_immediate_downstream(struct dc_link *link, uint32_t offset) in is_immediate_downstream() argument 46 return (convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt) == offset); in is_immediate_downstream() 50 struct dc_link *link, in core_link_read_dpcd() argument 55 if (!link->aux_access_disabled && in core_link_read_dpcd() 56 !dm_helpers_dp_read_dpcd(link->ctx, in core_link_read_dpcd() 57 link, address, data, size)) { in core_link_read_dpcd() 65 struct dc_link *link, in core_link_write_dpcd() argument 70 if (!link->aux_access_disabled && in core_link_write_dpcd() 71 !dm_helpers_dp_write_dpcd(link->ctx, in core_link_write_dpcd() 72 link, address, data, size)) { in core_link_write_dpcd() [all …]
|
/kernel/linux/linux-5.10/Documentation/networking/dsa/ |
D | configuration.rst | 92 ip link set eth0 up 95 ip link set lan1 up 96 ip link set lan2 up 97 ip link set lan3 up 105 ip link set eth0 up 108 ip link set lan1 up 109 ip link set lan2 up 110 ip link set lan3 up 113 ip link add name br0 type bridge 116 ip link set dev lan1 master br0 [all …]
|
D | b53.rst | 67 ip link add link eth0 name eth0.1 type vlan id 1 68 ip link add link eth0 name eth0.2 type vlan id 2 69 ip link add link eth0 name eth0.3 type vlan id 3 72 ip link set eth0 up 73 ip link set eth0.1 up 74 ip link set eth0.2 up 75 ip link set eth0.3 up 78 ip link set wan up 79 ip link set lan1 up 80 ip link set lan2 up [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_wr.c | 17 * SMC uses this to exchange LLC (link layer control) 44 struct smc_link *link; member 54 /* returns true if at least one tx work request is pending on the given link */ 55 static inline bool smc_wr_is_tx_pend(struct smc_link *link) in smc_wr_is_tx_pend() argument 57 if (find_first_bit(link->wr_tx_mask, link->wr_tx_cnt) != in smc_wr_is_tx_pend() 58 link->wr_tx_cnt) { in smc_wr_is_tx_pend() 64 /* wait till all pending tx work requests on the given link are completed */ 65 void smc_wr_tx_wait_no_pending_sends(struct smc_link *link) in smc_wr_tx_wait_no_pending_sends() argument 67 wait_event(link->wr_tx_wait, !smc_wr_is_tx_pend(link)); in smc_wr_tx_wait_no_pending_sends() 70 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() argument [all …]
|
D | smc_llc.c | 5 * Link Layer Control (LLC) 108 u8 num_rkeys; /* first rtoken byte of CONFIRM LINK msg */ 110 /* rtoken is always for the current link */ 111 u8 link_id; /* link id of the rtoken */ 158 struct smc_link *link; member 162 static void smc_llc_enqueue(struct smc_link *link, union smc_llc_msg *llc); 213 struct smc_link_group *lgr = qentry->link->lgr; in smc_llc_flow_start() 289 /* lnk is optional and used for early wakeup when link goes down, useful in 290 * cases where we wait for a response on the link after we sent a request 336 struct smc_link *link, in smc_llc_tx_handler() argument [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | pci_link.c | 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). 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 78 PCI Link Device Management 82 * set context (link) possible list from resource list 87 struct acpi_pci_link *link = context; in acpi_pci_link_check_possible() local 111 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible() 112 link->irq.possible_count++; in acpi_pci_link_check_possible() [all …]
|
/kernel/linux/linux-5.10/drivers/pci/pcie/ |
D | aspm.c | 3 * Enable PCIe link L0s/L1 state and Clock Power Management 50 struct pci_dev *pdev; /* Upstream component of the Link */ 52 struct pcie_link_state *root; /* pointer to the root port link */ 53 struct pcie_link_state *parent; /* pointer to the parent Link state */ 108 static int policy_to_aspm_state(struct pcie_link_state *link) in policy_to_aspm_state() argument 121 return link->aspm_default; in policy_to_aspm_state() 126 static int policy_to_clkpm_state(struct pcie_link_state *link) in policy_to_clkpm_state() argument 137 return link->clkpm_default; in policy_to_clkpm_state() 142 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable) in pcie_set_clkpm_nocheck() argument 145 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00link.c | 10 Abstract: rt2x00 generic link tuning routines. 38 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_link_rssi() 40 if (rt2x00dev->link.qual.rx_success) in rt2x00link_antenna_get_link_rssi() 48 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_rssi_history() 58 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_update_rssi_history() 64 ewma_rssi_init(&rt2x00dev->link.ant.rssi_ant); in rt2x00link_antenna_reset() 69 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_sample() 110 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_eval() 150 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity() 171 } else if (rt2x00dev->link.count & 1) { in rt2x00lib_antenna_diversity() [all …]
|
/kernel/linux/linux-5.10/drivers/media/mc/ |
D | mc-entity.c | 25 return "link"; in gobj_type() 106 struct media_link *link = gobj_to_link(gobj); in dev_dbg_obj() local 109 "%s id %u: %s link id %u ==> id %u\n", in dev_dbg_obj() 111 media_type(link->gobj0) == MEDIA_GRAPH_PAD ? in dev_dbg_obj() 113 media_id(link->gobj0), in dev_dbg_obj() 114 media_id(link->gobj1)); in dev_dbg_obj() 232 media_entity_other(struct media_entity *entity, struct media_link *link) in media_entity_other() argument 234 if (link->source->entity == entity) in media_entity_other() 235 return link->sink->entity; in media_entity_other() 237 return link->source->entity; in media_entity_other() [all …]
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-link.rst | 2 bpftool-link 13 **bpftool** [*OPTIONS*] **link** *COMMAND* 19 LINK COMMANDS 22 | **bpftool** **link { show | list }** [*LINK*] 23 | **bpftool** **link pin** *LINK* *FILE* 24 | **bpftool** **link detach** *LINK* 25 | **bpftool** **link help** 27 | *LINK* := { **id** *LINK_ID* | **pinned** *FILE* } 32 **bpftool link { show | list }** [*LINK*] 33 Show information about active links. If *LINK* is [all …]
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | test_ipip.sh | 8 ip link add veth0 type veth peer name veth0b 9 ip link add veth1 type veth peer name veth1b 10 ip link add veth2 type veth peer name veth2b 11 ip link set veth0b up 12 ip link set veth1b up 13 ip link set veth2b up 14 ip link set dev veth0b mtu 1500 15 ip link set dev veth1b mtu 1500 16 ip link set dev veth2b mtu 1500 17 ip link set veth0 netns at_ns0 [all …]
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | libata-sata.c | 29 * @link: ATA link to test SCR accessibility for 31 * Test whether SCRs are accessible for @link. 39 int sata_scr_valid(struct ata_link *link) in sata_scr_valid() argument 41 struct ata_port *ap = link->ap; in sata_scr_valid() 49 * @link: ATA link to read SCR for 53 * Read SCR register @reg of @link into *@val. This function is 54 * guaranteed to succeed if @link is ap->link, the cable type of 58 * None if @link is ap->link. Kernel thread context otherwise. 63 int sata_scr_read(struct ata_link *link, int reg, u32 *val) in sata_scr_read() argument 65 if (ata_is_host_link(link)) { in sata_scr_read() [all …]
|
D | libata-pmp.c | 26 * @link: link to read PMP register for 38 static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_read() argument 40 struct ata_port *ap = link->ap; in sata_pmp_read() 41 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_read() 50 tf.device = link->pmp; in sata_pmp_read() 63 * @link: link to write PMP register for 75 static unsigned int sata_pmp_write(struct ata_link *link, int reg, u32 val) in sata_pmp_write() argument 77 struct ata_port *ap = link->ap; in sata_pmp_write() 78 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_write() 86 tf.device = link->pmp; in sata_pmp_write() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_lwt_seg6local.sh | 64 ip link add veth1 type veth peer name veth2 65 ip link add veth3 type veth peer name veth4 66 ip link add veth5 type veth peer name veth6 67 ip link add veth7 type veth peer name veth8 68 ip link add veth9 type veth peer name veth10 70 ip link set veth1 netns ns1 71 ip link set veth2 netns ns2 72 ip link set veth3 netns ns2 73 ip link set veth4 netns ns3 74 ip link set veth5 netns ns3 [all …]
|
/kernel/linux/linux-5.10/sound/soc/qcom/ |
D | common.c | 15 struct snd_soc_dai_link *link; in qcom_snd_parse_of() local 49 /* Allocate the DAI link array */ in qcom_snd_parse_of() 50 card->dai_link = devm_kcalloc(dev, num_links, sizeof(*link), GFP_KERNEL); in qcom_snd_parse_of() 55 link = card->dai_link; in qcom_snd_parse_of() 64 link->cpus = &dlc[0]; in qcom_snd_parse_of() 65 link->platforms = &dlc[1]; in qcom_snd_parse_of() 67 link->num_cpus = 1; in qcom_snd_parse_of() 68 link->num_platforms = 1; in qcom_snd_parse_of() 70 ret = of_property_read_string(np, "link-name", &link->name); in qcom_snd_parse_of() 81 dev_err(dev, "%s: Can't find cpu DT node\n", link->name); in qcom_snd_parse_of() [all …]
|
/kernel/linux/linux-5.10/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf.c | 46 static int pdacf_config(struct pcmcia_device *link); 49 static void pdacf_release(struct pcmcia_device *link) in pdacf_release() argument 51 free_irq(link->irq, link->priv); in pdacf_release() 52 pcmcia_disable_device(link); in pdacf_release() 60 struct pcmcia_device *link = pdacf->p_dev; in snd_pdacf_free() local 62 pdacf_release(link); in snd_pdacf_free() 80 static int snd_pdacf_probe(struct pcmcia_device *link) in snd_pdacf_probe() argument 103 err = snd_card_new(&link->dev, index[i], id[i], THIS_MODULE, in snd_pdacf_probe() 126 pdacf->p_dev = link; in snd_pdacf_probe() 127 link->priv = pdacf; in snd_pdacf_probe() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | vxlan_symmetric.sh | 122 ip link set dev $if_name master $vrf_name 123 ip link set dev $vrf_name up 124 ip link set dev $if_name up 144 ip link set dev $if_name down 170 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \ 174 ip link set dev br1 address $(mac_get $swp1) 175 ip link set dev br1 up 177 ip link set dev $rp1 up 181 ip link add name vx10 type vxlan id 1010 \ 184 ip link set dev vx10 up [all …]
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
D | intel_init.c | 31 MODULE_PARM_DESC(sdw_link_mask, "Intel link mask (one bit per link)"); 35 struct fwnode_handle *link; in is_link_enabled() local 41 "mipi-sdw-link-%d-subproperties", i); in is_link_enabled() 43 link = fwnode_get_named_child_node(fw_node, name); in is_link_enabled() 44 if (!link) in is_link_enabled() 47 fwnode_property_read_u32(link, in is_link_enabled() 59 struct sdw_intel_link_res *link = ctx->links; in sdw_intel_cleanup() local 63 if (!link) in sdw_intel_cleanup() 68 for (i = 0; i < ctx->count; i++, link++) { in sdw_intel_cleanup() 72 if (link->pdev) { in sdw_intel_cleanup() [all …]
|