| /Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/ | 
| D | vxlan.sh | 19 	ip link set dev $swp1 up20 	ip link set dev $swp2 up
 27 	ip link set dev $swp2 down
 28 	ip link set dev $swp1 down
 33 	ip link set dev $swp1 master br0
 35 	ip link set dev vxlan0 master br0
 38 	ip link set dev $swp1 nomaster
 40 	ip link set dev $swp1 master br0
 46 	ip link set dev $swp1 master br0
 48 	ip link set dev vxlan0 master br0 &> /dev/null
 [all …]
 
 | 
| D | rtnetlink.sh | 43 	ip link set dev $swp1 up44 	ip link set dev $swp2 up
 51 	ip link set dev $swp2 down
 52 	ip link set dev $swp1 down
 71 	ip link set dev $swp1 addr 00:11:22:33:44:55
 82 	ip link set dev $swp2 addr 00:11:22:33:44:66
 89 	ip link set dev $swp2 addr 00:11:22:33:00:66 &>/dev/null
 91 	ip link set dev $swp2 addr 00:11:22:33:00:66 2>&1 >/dev/null \
 100 	ip link set dev $swp2 addr $swp2_mac
 101 	ip link set dev $swp1 addr $swp1_mac
 [all …]
 
 | 
| D | extack.sh | 21 	ip link set dev $swp1 up22 	ip link set dev $swp2 up
 29 	ip link set dev $swp2 down
 30 	ip link set dev $swp1 down
 37 	ip link add name br1 up type bridge vlan_filtering 0 mcast_snooping 0
 38 	ip link add name vx1 up type vxlan id 1000 \
 42 	ip link set dev vx1 master br1
 45 	ip link set dev $swp1 master br1
 48 	ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 0
 49 	ip link add name vx2 up type vxlan id 2000 \
 [all …]
 
 | 
| /Linux-v5.4/net/smc/ | 
| D | smc_llc.c | 5  *  Link Layer Control (LLC)84 		u8 num_rkeys;	/* first rtoken byte of CONFIRM LINK msg */
 86 				/* rtoken is always for the current link */
 87 		u8 link_id;	/* link id of the rtoken */
 144 			       struct smc_link *link,  in smc_llc_tx_handler()  argument
 152  * @link: Pointer to SMC link used for sending LLC control message.
 163 static int smc_llc_add_pending_send(struct smc_link *link,  in smc_llc_add_pending_send()  argument
 169 	rc = smc_wr_tx_get_free_slot(link, smc_llc_tx_handler, wr_buf, NULL,  in smc_llc_add_pending_send()
 178 …per layer protocols use the same message size any more, must start to set link->wr_tx_sges[i].leng…  in smc_llc_add_pending_send()
 185 /* high-level API to send LLC confirm link */
 [all …]
 
 | 
| D | smc_wr.c | 17  * SMC uses this to exchange LLC (link layer control)44 	struct smc_link		*link;  member
 53 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id)  in smc_wr_tx_find_pending_index()  argument
 57 	for (i = 0; i < link->wr_tx_cnt; i++) {  in smc_wr_tx_find_pending_index()
 58 		if (link->wr_tx_pends[i].wr_id == wr_id)  in smc_wr_tx_find_pending_index()
 61 	return link->wr_tx_cnt;  in smc_wr_tx_find_pending_index()
 67 	struct smc_link *link;  in smc_wr_tx_process_cqe()  local
 71 	link = wc->qp->qp_context;  in smc_wr_tx_process_cqe()
 75 			link->wr_reg_state = FAILED;  in smc_wr_tx_process_cqe()
 77 			link->wr_reg_state = CONFIRMED;  in smc_wr_tx_process_cqe()
 [all …]
 
 | 
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ | 
| D | dc_link_dp.c | 22 	link->ctx->logger53 	struct dc_link *link,  in get_training_aux_rd_interval()  argument
 61 	if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) {  in get_training_aux_rd_interval()
 65 			link,  in get_training_aux_rd_interval()
 78 	struct dc_link *link,  in wait_for_training_aux_rd_interval()  argument
 89 	struct dc_link *link,  in dpcd_set_training_pattern()  argument
 93 		link,  in dpcd_set_training_pattern()
 104 static enum dc_dp_training_pattern get_supported_tp(struct dc_link *link)  in get_supported_tp()  argument
 107 	struct encoder_feature_support *features = &link->link_enc->features;  in get_supported_tp()
 108 	struct dpcd_caps *dpcd_caps = &link->dpcd_caps;  in get_supported_tp()
 [all …]
 
 | 
| D | dc_link.c | 77 static void destruct(struct dc_link *link)  in destruct()  argument81 	if (link->hpd_gpio != NULL) {  in destruct()
 82 		dal_gpio_close(link->hpd_gpio);  in destruct()
 83 		dal_gpio_destroy_irq(&link->hpd_gpio);  in destruct()
 84 		link->hpd_gpio = NULL;  in destruct()
 87 	if (link->ddc)  in destruct()
 88 		dal_ddc_service_destroy(&link->ddc);  in destruct()
 90 	if(link->link_enc)  in destruct()
 91 		link->link_enc->funcs->destroy(&link->link_enc);  in destruct()
 93 	if (link->local_sink)  in destruct()
 [all …]
 
 | 
| D | dc_link_hwss.c | 23 	struct dc_link *link,  in core_link_read_dpcd()  argument28 	if (!link->aux_access_disabled &&  in core_link_read_dpcd()
 29 			!dm_helpers_dp_read_dpcd(link->ctx,  in core_link_read_dpcd()
 30 			link, address, data, size)) {  in core_link_read_dpcd()
 38 	struct dc_link *link,  in core_link_write_dpcd()  argument
 43 	if (!link->aux_access_disabled &&  in core_link_write_dpcd()
 44 			!dm_helpers_dp_write_dpcd(link->ctx,  in core_link_write_dpcd()
 45 			link, address, data, size)) {  in core_link_write_dpcd()
 52 void dp_receiver_power_ctrl(struct dc_link *link, bool on)  in dp_receiver_power_ctrl()  argument
 58 	if (link->sync_lt_in_progress)  in dp_receiver_power_ctrl()
 [all …]
 
 | 
| /Linux-v5.4/Documentation/networking/dsa/ | 
| D | configuration.rst | 92   ip link set eth0 up95   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 168   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 …]
 
 | 
| /Linux-v5.4/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"
 54  * If a link is initialized, we never change its active and initialized
 55  * later even the link is disable. Instead, we just repick the active irq
 80                             PCI Link Device Management
 84  * set context (link) possible list from resource list
 89 	struct acpi_pci_link *link = context;  in acpi_pci_link_check_possible()  local
 113 				link->irq.possible[i] = p->interrupts[i];  in acpi_pci_link_check_possible()
 114 				link->irq.possible_count++;  in acpi_pci_link_check_possible()
 [all …]
 
 | 
| /Linux-v5.4/drivers/pci/pcie/ | 
| D | aspm.c | 3  * Enable PCIe link L0s/L1 state and Clock Power Management50 	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 */
 115 static int policy_to_aspm_state(struct pcie_link_state *link)  in policy_to_aspm_state()  argument
 128 		return link->aspm_default;  in policy_to_aspm_state()
 133 static int policy_to_clkpm_state(struct pcie_link_state *link)  in policy_to_clkpm_state()  argument
 144 		return link->clkpm_default;  in policy_to_clkpm_state()
 149 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable)  in pcie_set_clkpm_nocheck()  argument
 152 	struct pci_bus *linkbus = link->pdev->subordinate;  in pcie_set_clkpm_nocheck()
 [all …]
 
 | 
| /Linux-v5.4/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 …]
 
 | 
| /Linux-v5.4/sound/soc/qcom/ | 
| D | common.c | 15 	struct snd_soc_dai_link *link;  in qcom_snd_parse_of()  local37 	/* Allocate the DAI link array */  in qcom_snd_parse_of()
 38 	card->dai_link = kcalloc(num_links, sizeof(*link), GFP_KERNEL);  in qcom_snd_parse_of()
 43 	link = card->dai_link;  in qcom_snd_parse_of()
 50 		link->cpus	= &dlc[0];  in qcom_snd_parse_of()
 51 		link->platforms	= &dlc[1];  in qcom_snd_parse_of()
 53 		link->num_cpus		= 1;  in qcom_snd_parse_of()
 54 		link->num_platforms	= 1;  in qcom_snd_parse_of()
 56 		ret = of_property_read_string(np, "link-name", &link->name);  in qcom_snd_parse_of()
 67 			dev_err(dev, "%s: Can't find cpu DT node\n", link->name);  in qcom_snd_parse_of()
 [all …]
 
 | 
| /Linux-v5.4/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 …]
 
 | 
| /Linux-v5.4/samples/bpf/ | 
| D | test_ipip.sh | 8 	ip link add veth0 type veth peer name veth0b9 	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 …]
 
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/ | 
| D | test_lwt_seg6local.sh | 64 ip link add veth1 type veth peer name veth265 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 …]
 
 | 
| /Linux-v5.4/drivers/ata/ | 
| D | libata-pmp.c | 26  *	@link: link to read PMP register for38 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 …]
 
 | 
| /Linux-v5.4/tools/testing/selftests/net/forwarding/ | 
| D | vxlan_symmetric.sh | 122 	ip link set dev $if_name master $vrf_name123 	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 …]
 
 | 
| /Linux-v5.4/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 …]
 
 | 
| /Linux-v5.4/arch/mips/pci/ | 
| D | msi-xlp.c | 63 static inline int nlm_link_msiirq(int link, int msivec)  in nlm_link_msiirq()  argument65 	return NLM_MSI_VEC_BASE + link * XLP_MSIVEC_PER_LINK + msivec;  in nlm_link_msiirq()
 68 /* get the link MSI vector from irq number */
 74 /* get the link from the irq number */
 86  * and use 8 MSI-X vectors per link - this keeps the allocation and
 88  * On XLP 9xx, there are 32 vectors per link, and the interrupts are
 91 static inline int nlm_link_msixirq(int link, int bit)  in nlm_link_msixirq()  argument
 93 	return NLM_MSIX_VEC_BASE + link * XLP_MSIXVEC_PER_LINK + bit;  in nlm_link_msixirq()
 96 /* get the link MSI vector from irq number */
 102 /* get the link from MSIX vec */
 [all …]
 
 | 
| /Linux-v5.4/drivers/usb/gadget/function/ | 
| D | u_ether.h | 3  * u_ether.h -- interface to USB gadget "ethernet link" utilities42  * This represents the USB side of an "ethernet" link, managed by a USB
 44  * in different configurations could share the same ethernet link/netdev,
 47  * There is a current limitation that only one instance of this link may
 95 /* gether_setup - initialize one ethernet-over-usb link
 98  *	host side of the link is recorded
 101  * This sets up the single network link that may be exported by a
 102  * gadget driver using this framework.  The link layer addresses are
 124  * Registers the net device associated with this ethernet-over-usb link
 129 /* gether_setup_default - initialize one ethernet-over-usb link
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/arcnet/ | 
| D | com20020_cs.c | 104 static int com20020_config(struct pcmcia_device *link);105 static void com20020_release(struct pcmcia_device *link);
 153 static void com20020_detach(struct pcmcia_device *link)  in com20020_detach()  argument
 155 	struct com20020_dev *info = link->priv;  in com20020_detach()
 158 	dev_dbg(&link->dev, "detach...\n");  in com20020_detach()
 160 	dev_dbg(&link->dev, "com20020_detach\n");  in com20020_detach()
 162 	dev_dbg(&link->dev, "unregister...\n");  in com20020_detach()
 172 	com20020_release(link);  in com20020_detach()
 175 	dev_dbg(&link->dev, "unlinking...\n");  in com20020_detach()
 176 	if (link->priv) {  in com20020_detach()
 [all …]
 
 | 
| /Linux-v5.4/drivers/misc/ocxl/ | 
| D | link.c | 72  * A opencapi link can be used be by several PCI functions. We have73  * one link per device slot.
 182 	struct ocxl_link *link = (struct ocxl_link *) data;  in xsl_fault_handler()  local
 183 	struct spa *spa = link->spa;  in xsl_fault_handler()
 268 static int setup_xsl_irq(struct pci_dev *dev, struct ocxl_link *link)  in setup_xsl_irq()  argument
 270 	struct spa *spa = link->spa;  in setup_xsl_irq()
 283 				link->domain, link->bus, link->dev);  in setup_xsl_irq()
 291 	 * number of interrupts. Could we have an IRQ domain per link?  in setup_xsl_irq()
 304 			link);  in setup_xsl_irq()
 323 static void release_xsl_irq(struct ocxl_link *link)  in release_xsl_irq()  argument
 [all …]
 
 | 
| /Linux-v5.4/drivers/media/pci/ddbridge/ | 
| D | ddbridge-max.c | 58 static int lnb_command(struct ddb *dev, u32 link, u32 lnb, u32 cmd)  in lnb_command()  argument60 	u32 c, v = 0, tag = DDB_LINK_TAG(link);  in lnb_command()
 62 	v = LNB_TONE & (dev->link[link].lnb.tone << (15 - lnb));  in lnb_command()
 85 	u32 fmode = dev->link[port->lnr].lnb.fmode;  in max_send_master_cmd()
 92 	mutex_lock(&dev->link[port->lnr].lnb.lock);  in max_send_master_cmd()
 97 	mutex_unlock(&dev->link[port->lnr].lnb.lock);  in max_send_master_cmd()
 101 static int lnb_send_diseqc(struct ddb *dev, u32 link, u32 input,  in lnb_send_diseqc()  argument
 104 	u32 tag = DDB_LINK_TAG(link);  in lnb_send_diseqc()
 110 	lnb_command(dev, link, input, LNB_CMD_DISEQC);  in lnb_send_diseqc()
 114 static int lnb_set_sat(struct ddb *dev, u32 link, u32 input, u32 sat, u32 band,  in lnb_set_sat()  argument
 [all …]
 
 |