/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 9 * e1000e_get_bus_info_pcie - Get PCIe bus information 18 struct pci_dev *pdev = hw->adapter->pdev; in e1000e_get_bus_info_pcie() 19 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() 20 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie() 24 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie() 27 bus->width = (enum e1000_bus_width)FIELD_GET(PCI_EXP_LNKSTA_NLW, in e1000e_get_bus_info_pcie() 31 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie() 37 * e1000_set_lan_id_multi_port_pcie - Set LAN id for PCIe multiple port devices [all …]
|
H A D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 37 * e1000e_check_reset_block_generic - Check if PHY reset is blocked 40 * Read the PHY management control register and check whether a PHY reset 54 * e1000e_get_phy_id - Retrieve the PHY ID and revision 62 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id() 67 if (!phy->ops.read_reg) in e1000e_get_phy_id() 75 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id() 81 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id() 82 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id() [all …]
|
H A D | defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 12 /* Wake Up Control */ 19 /* Wake Up Filter Control */ 34 /* Extended Device Control */ 46 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */ 99 /* Management Control */ 100 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 101 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 115 /* Receive Control */ [all …]
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_mac.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * igc_disable_pcie_master - Disables PCI-express master access 14 * Returns 0 (0) if successful, else returns -10 15 * (-IGC_ERR_MASTER_REQUESTS_PENDING) if master disable bit has not caused 18 * Disables PCI-Express master access and verifies there are no pending 36 timeout--; in igc_disable_pcie_master() 41 ret_val = -IGC_ERR_MASTER_REQUESTS_PENDING; in igc_disable_pcie_master() 50 * igc_init_rx_addrs - Initialize receive addresses 66 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igc_init_rx_addrs() 68 /* Zero out the other (rar_entry_count - 1) receive addresses */ in igc_init_rx_addrs() [all …]
|
H A D | igc_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * igc_check_reset_block - Check if PHY reset is blocked 11 * Read the PHY management control register and check whether a PHY reset 26 * igc_get_phy_id - Retrieve the PHY ID and revision 34 struct igc_phy_info *phy = &hw->phy; in igc_get_phy_id() 38 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id() 42 phy->id = (u32)(phy_id << 16); in igc_get_phy_id() 44 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id() 48 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igc_get_phy_id() 49 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igc_get_phy_id() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 19 * igb_get_bus_info_pcie - Get PCIe bus information 28 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie() 33 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie() 39 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie() 40 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() 44 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie() 47 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie() 50 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() [all …]
|
H A D | e1000_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 31 * igb_check_reset_block - Check if PHY reset is blocked 34 * Read the PHY management control register and check whether a PHY reset 48 * igb_get_phy_id - Retrieve the PHY ID and revision 56 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() 61 if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211)) in igb_get_phy_id() 62 phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0); in igb_get_phy_id() 64 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id() 68 phy->id = (u32)(phy_id << 16); in igb_get_phy_id() [all …]
|
H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 89 * e1000_set_phy_type - Set the phy type member in the hw struct. 94 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 95 return -E1000_ERR_PHY_TYPE; in e1000_set_phy_type() 97 switch (hw->phy_id) { in e1000_set_phy_type() 103 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 106 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() 107 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type() 108 hw->mac_type == e1000_82547 || in e1000_set_phy_type() [all …]
|
H A D | e1000_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 12 #define OPTION_UNSET -1 30 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 31 * Valid Range: 80-4096 for 82544 and newer 39 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 40 * Valid Range: 80-4096 for 82544 and newer 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps 51 * - 100 - only link at 100 Mbps [all …]
|
H A D | e1000_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 63 /* Flow Control Settings */ 422 /* MAC decode size is 128K - This is the size of BAR0 */ 443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) 486 * E1000_RAR_ENTRIES - 1 multicast addresses. 503 /* Receive Descriptor - Extended */ 529 /* Receive Descriptor - Packet Split */ 553 __le16 length[3]; /* length of buffers 1-3 */ 567 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */ [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | milbeaut-uart.txt | 4 - compatible: should be "socionext,milbeaut-usio-uart". 5 - reg: offset and length of the register set for the device. 6 - interrupts: two interrupts specifier. 7 - interrupt-names: should be "rx", "tx". 8 - clocks: phandle to the input clock. 11 - auto-flow-control: flow control enable. 15 compatible = "socionext,milbeaut-usio-uart"; 18 interrupt-names = "rx", "tx"; 20 auto-flow-control;
|
H A D | socionext,uniphier-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/serial/socionext,uniphier-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 14 const: socionext,uniphier-uart 28 auto-flow-control: 29 description: enable automatic flow control support. 33 - compatible 34 - reg [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | i40e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999-2018 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Intel(R) Ethernet Flow Director 16 - Additional Configurations 17 - Known Issues 18 - Support 47 ---------------------- 49 …intel.com/content/dam/www/public/us/en/documents/release-notes/xl710-ethernet-controller-feature-m… [all …]
|
H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2018-2021 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Important Notes 16 - Additional Features & Configurations 17 - Performance Optimization 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that 43 ------------------------------------------- 54 1) Make sure that your system's physical memory is in a high-performance [all …]
|
H A D | ixgbe.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Known Issues 17 - Support 36 ---------------------------------- 38 82599-BASED ADAPTERS 41 - If your 82599-based Intel(R) Network Adapter came with Intel optics or is an [all …]
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define OPTION_UNSET -1 17 * TxDescriptors - Transmit Descriptor Count 18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD 26 * RxDescriptors -Receive Descriptor Count 27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD 35 * Speed - User Specified Speed Override 37 * - 0: auto-negotiate at all supported speeds 38 * - 10: only link at 10 Mbps [all …]
|
/linux/drivers/net/usb/ |
H A D | smsc95xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2007-2008 SMSC 38 /* SCSRs - System Control and Status Registers */ 82 #define HW_CFG_ETC_ (0x00000010) /* EEPROM Timeout Control */ 96 /* Power Management Control Register */ 124 /* Automatic Flow Control Configuration Register */ 126 #define AFC_CFG_HI_ (0x00FF0000) /* Auto Flow Ctrl High Level */ 127 #define AFC_CFG_LO_ (0x0000FF00) /* Auto Flow Ctrl Low Level */ 129 #define AFC_CFG_FC_MULT_ (0x00000008) /* Flow Ctrl on Mcast Frame */ 130 #define AFC_CFG_FC_BRD_ (0x00000004) /* Flow Ctrl on Bcast Frame */ [all …]
|
/linux/include/net/phonet/ |
H A D | pep.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 /* XXX: union-ify listening vs connected stuff ? */ 33 u8 rx_fc; /* RX flow control */ 34 u8 tx_fc; /* TX flow control */ 35 u8 init_enable; /* auto-enable at creation */ 130 /* Phonet pipe sub-block types */ 141 /* Phonet pipe flow control models */ 152 /* Phonet pipe flow control states */
|
/linux/include/uapi/linux/ |
H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 54 #define UART_FCR 2 /* Out: FIFO Control Register */ 105 #define UART_LCR 3 /* Out: Line Control Register */ 111 #define UART_LCR_SBC 0x40 /* Set break control */ 128 #define UART_MCR 4 /* Out: Modem Control Register */ 132 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 142 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 175 #define UART_EFR_CTS 0x80 /* CTS flow control */ 176 #define UART_EFR_RTS 0x40 /* RTS flow control */ 178 #define UART_EFR_ECB 0x10 /* Enhanced control bit */ [all …]
|
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 * have the same layout for 32-bit and 64-bit userland. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. 56 * @autoneg: Enable/disable autonegotiation and auto-detection; 60 * Read-only. 62 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. 64 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. [all …]
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 36 * 00-0B-6A-F6-00-DC in atl1e_hw_set_mac_addr() 40 value = (((u32)hw->mac_addr[2]) << 24) | in atl1e_hw_set_mac_addr() 41 (((u32)hw->mac_addr[3]) << 16) | in atl1e_hw_set_mac_addr() 42 (((u32)hw->mac_addr[4]) << 8) | in atl1e_hw_set_mac_addr() 43 (((u32)hw->mac_addr[5])) ; in atl1e_hw_set_mac_addr() 46 value = (((u32)hw->mac_addr[0]) << 8) | in atl1e_hw_set_mac_addr() 47 (((u32)hw->mac_addr[1])) ; in atl1e_hw_set_mac_addr() 62 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address() [all …]
|
/linux/Documentation/networking/ |
H A D | nf_conntrack-sysctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 nf_conntrack_acct - BOOLEAN 11 - 0 - disabled (default) 12 - not 0 - enabled 14 Enable connection tracking flow accounting. 64-bit byte and packet 15 counters per flow are added. 17 nf_conntrack_buckets - INTEGER 24 nf_conntrack_checksum - BOOLEAN 25 - 0 - disabled 26 - not 0 - enabled (default) [all …]
|
/linux/net/qrtr/ |
H A D | af_qrtr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 /* auto-bind range */ 29 * struct qrtr_hdr_v1 - (I|R)PCrouter packet header version 1 34 * @confirm_rx: boolean; whether a resume-tx packet should be send in reply 51 * struct qrtr_hdr_v2 - (I|R)PCrouter packet header later versions 116 * struct qrtr_node - endpoint node 140 * struct qrtr_tx_flow - tx flow control 172 struct qrtr_tx_flow *flow; in __qrtr_node_release() local 186 list_del(&node->item); in __qrtr_node_release() 189 skb_queue_purge(&node->rx_queue); in __qrtr_node_release() [all …]
|
/linux/drivers/tty/serial/jsm/ |
H A D | jsm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 49 dev_dbg(pdev->dev, fmt, ##__VA_ARGS__); \ 94 #define JSM_VERSION "jsm: 1.2-1-INKERNEL" 95 #define JSM_PARTNUM "40002438_A-INKERNEL" 122 * Per-board information 126 int boardnum; /* Board number: 0-32 */ 178 #define RQUEUEMASK 0x1FFF /* 8 K - 1 */ 179 #define EQUEUEMASK 0x1FFF /* 8 K - 1 */ 216 u8 *ch_rqueue; /* Our read queue buffer - malloc'ed */ 220 u8 *ch_equeue; /* Our error queue buffer - malloc'ed */ [all …]
|