/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a-kontron-sl28-var4.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 14 #include <dt-bindings/net/qca-ar803x.h> 17 model = "Kontron SMARC-sAL28 (Dual PHY)"; 18 compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a"; 22 phy1: ethernet-phy@4 { 24 eee-broken-1000t; 25 eee-broken-100tx; [all …]
|
H A D | fsl-ls1028a-kontron-sl28-var1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 15 /dts-v1/; 16 #include "fsl-ls1028a-kontron-sl28.dts" 17 #include <dt-bindings/net/qca-ar803x.h> 20 model = "Kontron SMARC-sAL28 (4 Lanes)"; 21 compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a"; 26 /delete-node/ ethernet-phy@5; 28 phy0: ethernet-phy@4 { 30 eee-broken-1000t; [all …]
|
H A D | fsl-ls1028a-kontron-sl28-var2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 16 model = "Kontron SMARC-sAL28 (TSN-on-module)"; 17 compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a"; 21 phy1: ethernet-phy@4 { 23 eee-broken-1000t; 24 eee-broken-100tx; 33 * port instead. Therefore, delete the phy-handle property here. [all …]
|
H A D | fsl-ls1028a-kontron-sl28.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 9 /dts-v1/; 10 #include "fsl-ls1028a.dtsi" 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 16 model = "Kontron SMARC-sAL28"; 33 compatible = "gpio-keys"; 35 power-button { [all …]
|
H A D | imx8mp-debix-som-a-bmb-08.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "imx8mp-debix-som-a.dtsi" 12 model = "Polyhex i.MX8MPlus Debix SOM A on BMB-08"; 13 compatible = "polyhex,imx8mp-debix-som-a-bmb-08", "polyhex,imx8mp-debix-som-a", 22 stdout-path = &uart2; 25 reg_baseboard_vdd3v3: regulator-baseboard-vdd3v3 { 26 compatible = "regulator-fixed"; 27 regulator-min-microvolt = <3300000>; 28 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx8mp-msc-sm2s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/net/ti-dp83867.h> 18 stdout-path = &uart2; 21 reg_usb0_host_vbus: regulator-usb0-vbus { 22 compatible = "regulator-fixed"; 23 regulator-name = "usb0_host_vbus"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_usb0_vbus>; 26 regulator-min-microvolt = <5000000>; [all …]
|
H A D | imx8mp-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 7 #include <dt-bindings/pwm/pwm.h> 12 stdout-path = &uart3; 24 compatible = "pwm-backlight"; 25 brightness-levels = <0 45 63 88 119 158 203 255>; 26 default-brightness-level = <4>; 28 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12a-x96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/dma-mapping.h> 54 static int debug = -1; 73 * sxgbe_verify_args - verify the driver parameters. 86 if (!priv->tx_path_in_lpi_mode) in sxgbe_enable_eee_mode() 87 priv->hw->mac->set_eee_mode(priv->ioaddr); in sxgbe_enable_eee_mode() 92 /* Exit and disable EEE in case of we are in LPI state. */ in sxgbe_disable_eee_mode() 93 priv->hw->mac->reset_eee_mode(priv->ioaddr); in sxgbe_disable_eee_mode() 94 del_timer_sync(&priv->eee_ctrl_timer); in sxgbe_disable_eee_mode() 95 priv->tx_path_in_lpi_mode = false; in sxgbe_disable_eee_mode() [all …]
|
/linux/Documentation/networking/dsa/ |
H A D | dsa.rst | 22 An Ethernet switch typically comprises multiple front-panel ports and one 27 gateways, or even top-of-rack switches. This host Ethernet controller will 36 For each front-panel port, DSA creates specialized network devices which are 37 used as controlling and data-flowing endpoints for use by the Linux networking 46 - what port is this frame coming from 47 - what was the reason why this frame got forwarded 48 - how to send CPU originated traffic to specific ports 52 on Port-based VLAN IDs). 57 - the "cpu" port is the Ethernet switch facing side of the management 61 - the "dsa" port(s) are just conduits between two or more switches, and as such [all …]
|
/linux/drivers/net/phy/ |
H A D | phylink.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * technologies such as SFP cages where the PHY is hot-pluggable. 44 * struct phylink - internal data type for phylink 61 u8 link_port; /* The current non-phy ethtool port */ 103 if ((pl)->config->type == PHYLINK_NETDEV) \ 104 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \ 105 else if ((pl)->config->type == PHYLINK_DEV) \ 106 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \ 118 if ((pl)->config->type == PHYLINK_NETDEV) \ 119 netdev_dbg((pl)->netdev, fmt, ##__VA_ARGS__); \ [all …]
|
H A D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 14 * 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041 126 * The value is calculated as following: (1/1000000)/((2^-32)/4) 132 * The value is calculated as following: (1/1000000)/((2^-32)/8) 527 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr() 531 if (type && type->interrupt_level_mask) in kszphy_config_intr() 532 mask = type->interrupt_level_mask; in kszphy_config_intr() 544 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in kszphy_config_intr() 607 return -EINVAL; in kszphy_setup_led() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 6 Copyright(C) 2007-2011 STMicroelectronics Ltd 29 #include <linux/dma-mapping.h> 56 * with fine resolution and binary rollover. This avoid non-monotonic behavior 63 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 71 static int debug = -1; 73 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 75 static int phyaddr = -1; 79 #define STMMAC_TX_THRESH(x) ((x)->dma_conf.dma_tx_size / 4) [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 121 #define TG3_GRC_LCLCTL_PWRSW_DELAY 100 [all …]
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 156 #define MVNETA_TX_INTR_MASK(nr_txqs) (((1 << nr_txqs) - 1) << 0) 158 #define MVNETA_RX_INTR_MASK(nr_rxqs) (((1 << nr_rxqs) - 1) << 8) 270 * to cover all rate-limit values from 10Kbps up to 5Gbps 274 #define MVNETA_TXQ_BUCKET_REFILL_BASE_PERIOD_NS 100 300 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 307 #define MVNETA_RX_COAL_USEC 100 343 /* Max number of Tx descriptors */ 347 #define MVNETA_MAX_TSO_SEGS 100 378 #define MVNETA_MAX_RX_BUF_SIZE (PAGE_SIZE - MVNETA_SKB_PAD) [all …]
|
H A D | sky2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * of the original driver such as link fail-over and link management because 19 #include <linux/dma-mapping.h> 54 #define RX_MAX_PENDING (RX_LE_SIZE/6 - 2) 70 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) 77 static int debug = -1; /* defaults above */ 85 static int disable_msi = -1; 94 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9000) }, /* SK-9Sxx */ 95 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E00) }, /* SK-9Exx */ 96 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E01) }, /* SK-9E21M */ [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 4 * Copyright (c) 2016-2019 Broadcom Limited 25 #include <linux/dma-mapping.h> 91 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" }, 92 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" }, 93 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" }, 94 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" }, 96 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" }, 97 [BCM57312] = { "Broadcom BCM57312 NetXtreme-C 10Gb/25Gb Ethernet" }, [all …]
|
/linux/drivers/net/usb/ |
H A D | lan78xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 122 #define LAN78XX_TSO_SIZE(dev) ((dev)->tx_urb_size - TX_SKB_MIN_LEN) 192 "RX 65 - 127 Byte Frames", 193 "RX 128 - 255 Byte Frames", 194 "RX 256 - 511 Bytes Frames", 195 "RX 512 - 1023 Byte Frames", 196 "RX 1024 - 1518 Byte Frames", 198 "EEE RX LPI Transitions", 199 "EEE RX LPI Time", 200 "TX FCS Errors", [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 56 "Copyright (c) 2007-2014 Intel Corporation."; 208 static int debug = -1; 236 /* TX Registers */ 253 /* igb_regdump - register printout routine */ 260 switch (reginfo->ofs) { in igb_regdump() 310 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump() 314 snprintf(rname, 16, "%s%s", reginfo->name, "[0-3]"); in igb_regdump() 315 pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1], in igb_regdump() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2024 Intel Corporation. */ 64 "Copyright (c) 1999-2016 Intel Corporation."; 80 /* ixgbe_pci_tbl - PCI Device ID Table 160 …"Maximum number of virtual functions to allocate per physical function - default is zero and maxim… 166 "Allow unsupported and untested SFP+ modules on 82599-based adapters"); 169 static int debug = -1; 190 return dev && (dev->netdev_ops == &ixgbe_netdev_ops); in netif_is_ixgbe() 199 parent_bus = adapter->pdev->bus->parent; in ixgbe_read_pci_cfg_word_parent() 201 return -1; in ixgbe_read_pci_cfg_word_parent() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 36 #include <linux/dma-mapping.h> 83 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw" 84 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw" 85 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw" 86 #define FW_FILE_NAME_E1_V15 "bnx2x/bnx2x-e1-" FW_FILE_VERSION_V15 ".fw" 87 #define FW_FILE_NAME_E1H_V15 "bnx2x/bnx2x-e1h-" FW_FILE_VERSION_V15 ".fw" 88 #define FW_FILE_NAME_E2_V15 "bnx2x/bnx2x-e2-" FW_FILE_VERSION_V15 ".fw" 117 MODULE_PARM_DESC(int_mode, " Force interrupt mode other than MSI-X " 124 static int mrrs = -1; [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2021 Intel Corporation. */ 31 static const char i40e_copyright[] = "Copyright (c) 2013 - 2019 Intel Corporation."; 57 /* i40e_pci_tbl - PCI Device ID Table 97 static int debug = -1; 116 if (is_unicast_ether_addr(f->macaddr) || is_link_local_ether_addr(f->macaddr)) in netdev_hw_addr_refcnt() 117 ha_list = &netdev->uc; in netdev_hw_addr_refcnt() 119 ha_list = &netdev->mc; in netdev_hw_addr_refcnt() 122 if (ether_addr_equal(ha->addr, f->macaddr)) { in netdev_hw_addr_refcnt() 123 ha->refcount += delta; in netdev_hw_addr_refcnt() [all …]
|
/linux/sound/pci/hda/ |
H A D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 /* extra amp-initialization sequence types */ 147 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 150 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 157 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock() 209 if (val != -1) in __alc_update_coefex_idx() 229 struct alc_spec *spec = codec->spec; in alc_get_coef0() 231 if (!spec->coef0) in alc_get_coef0() 232 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0() [all …]
|