| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 7 * e1000e_get_bus_info_pcie - Get PCIe bus information 16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() 17 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie() 18 struct e1000_adapter *adapter = hw->adapter; in e1000e_get_bus_info_pcie() 21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie() 23 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie() 25 pci_read_config_word(adapter->pdev, in e1000e_get_bus_info_pcie() 28 bus->width = (enum e1000_bus_width)((pcie_link_status & in e1000e_get_bus_info_pcie() [all …]
|
| H A D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 * e1000e_check_reset_block_generic - Check if PHY reset is blocked 39 * Read the PHY management control register and check whether a PHY reset 53 * e1000e_get_phy_id - Retrieve the PHY ID and revision 61 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id() 66 if (!phy->ops.read_reg) in e1000e_get_phy_id() 74 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id() 80 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id() 81 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id() [all …]
|
| /OK3568_Linux_fs/kernel/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 7 * igc_check_reset_block - Check if PHY reset is blocked 10 * Read the PHY management control register and check whether a PHY reset 25 * igc_get_phy_id - Retrieve the PHY ID and revision 33 struct igc_phy_info *phy = &hw->phy; in igc_get_phy_id() 37 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id() 41 phy->id = (u32)(phy_id << 16); in igc_get_phy_id() 43 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id() 47 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igc_get_phy_id() 48 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igc_get_phy_id() [all …]
|
| /OK3568_Linux_fs/kernel/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. */ 18 * igb_get_bus_info_pcie - Get PCIe bus information 27 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie() 32 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie() 38 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie() 39 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() 43 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie() 46 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie() 49 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 …]
|
| /OK3568_Linux_fs/kernel/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. */ 88 * e1000_set_phy_type - Set the phy type member in the hw struct. 93 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 94 return -E1000_ERR_PHY_TYPE; in e1000_set_phy_type() 96 switch (hw->phy_id) { in e1000_set_phy_type() 102 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 105 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() 106 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type() 107 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 …]
|
| /OK3568_Linux_fs/kernel/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 | 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/jsm/ |
| H A D | jsm_neo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 * a non-destructive, read-only location on the Neo card. 27 * In this case, we are reading the DVID (Read-only Device Identification) 32 readb(bd->re_map_membase + 0x8D); in neo_pci_posting_flush() 38 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control() 39 efr = readb(&ch->ch_neo_uart->efr); in neo_set_cts_flow_control() 41 jsm_dbg(PARAM, &ch->ch_bd->pci_dev, "Setting CTSFLOW\n"); in neo_set_cts_flow_control() 43 /* Turn on auto CTS flow control */ in neo_set_cts_flow_control() 47 /* Turn off auto Xon flow control */ in neo_set_cts_flow_control() 51 writeb(0, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | e1000.c | 2 Intel Pro 1000 for ppcboot/das-u-boot 3 Drivers are port from Intel's Linux driver e1000-4.3.15 10 Copyright(c) 1999 - 2002 Intel Corporation. All rights reserved. 12 * SPDX-License-Identifier: GPL-2.0+ 16 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 60 * Normally U-Boot does not support this anyway. To fix it in this driver, 159 * hw - Struct containing variables accessed by shared code 160 * eecd - EECD's current value 176 * hw - Struct containing variables accessed by shared code 177 * eecd - EECD's current value [all …]
|
| H A D | e1000.h | 4 Copyright(c) 1999 - 2002 Intel Corporation. All rights reserved. 7 * SPDX-License-Identifier: GPL-2.0+ 11 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 37 printf("e1000: %s: ERROR: " fmt, (NIC)->name ,##args) 41 printf("e1000: %s: DEBUG: " fmt, (NIC)->name ,##args) 52 writel((value), ((a)->hw_addr + E1000_##reg)) 54 readl((a)->hw_addr + E1000_##reg) 56 writel((value), ((a)->hw_addr + E1000_##reg + ((offset) << 2))) 58 readl((a)->hw_addr + E1000_##reg + ((offset) << 2)) 135 /* Flow Control Settings */ [all …]
|
| /OK3568_Linux_fs/kernel/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;
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | serial_reg.h | 6 * SPDX-License-Identifier: GPL-2.0+ 46 #define UART_FCR 2 /* Out: FIFO Control Register */ 90 #define UART_LCR 3 /* Out: Line Control Register */ 96 #define UART_LCR_SBC 0x40 /* Set break control */ 113 #define UART_MCR 4 /* Out: Modem Control Register */ 117 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 127 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 159 #define UART_EFR_CTS 0x80 /* CTS flow control */ 160 #define UART_EFR_RTS 0x40 /* RTS flow control */ 162 #define UART_EFR_ECB 0x10 /* Enhanced control bit */ [all …]
|
| H A D | mii.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/mii.h: definitions for MII-compatible transceivers 13 #define MII_BMCR 0x00 /* Basic mode control register */ 17 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ 20 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ 21 #define MII_STAT1000 0x0a /* 1000BASE-T status */ 22 #define MII_MMD_CTRL 0x0d /* MMD Access Control Register */ 27 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */ 37 /* Basic mode control register. */ 42 #define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */ [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 48 #define UART_FCR 2 /* Out: FIFO Control Register */ 98 #define UART_LCR 3 /* Out: Line Control Register */ 104 #define UART_LCR_SBC 0x40 /* Set break control */ 121 #define UART_MCR 4 /* Out: Modem Control Register */ 125 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 135 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 168 #define UART_EFR_CTS 0x80 /* CTS flow control */ 169 #define UART_EFR_RTS 0x40 /* RTS flow control */ 171 #define UART_EFR_ECB 0x10 /* Enhanced control bit */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 48 #define UART_FCR 2 /* Out: FIFO Control Register */ 98 #define UART_LCR 3 /* Out: Line Control Register */ 104 #define UART_LCR_SBC 0x40 /* Set break control */ 121 #define UART_MCR 4 /* Out: Modem Control Register */ 125 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 135 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 168 #define UART_EFR_CTS 0x80 /* CTS flow control */ 169 #define UART_EFR_RTS 0x40 /* RTS flow control */ 171 #define UART_EFR_ECB 0x10 /* Enhanced control bit */ [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 49 #define UART_FCR 2 /* Out: FIFO Control Register */ 100 #define UART_LCR 3 /* Out: Line Control Register */ 106 #define UART_LCR_SBC 0x40 /* Set break control */ 123 #define UART_MCR 4 /* Out: Modem Control Register */ 127 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 137 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 170 #define UART_EFR_CTS 0x80 /* CTS flow control */ 171 #define UART_EFR_RTS 0x40 /* RTS flow control */ 173 #define UART_EFR_ECB 0x10 /* Enhanced control bit */ [all …]
|
| /OK3568_Linux_fs/kernel/include/net/phonet/ |
| H A D | pep.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 /* XXX: union-ify listening vs connected stuff ? */ 30 u8 rx_fc; /* RX flow control */ 31 u8 tx_fc; /* TX flow control */ 32 u8 init_enable; /* auto-enable at creation */ 127 /* Phonet pipe sub-block types */ 138 /* Phonet pipe flow control models */ 149 /* Phonet pipe flow control states */
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | max310x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2012-2016 Alexander Shiyan <shc_work@mail.ru> 49 #define MAX310X_HDPIXDELAY_REG (0x0d) /* Auto transceiver delays */ 51 #define MAX310X_FLOWLVL_REG (0x0f) /* Flow control levels */ 55 #define MAX310X_FLOWCTRL_REG (0x13) /* Flow control */ 102 #define MAX310X_SPCHR_MULTIDROP_BIT (1 << 5) /* 9-bit multidrop addr char */ 115 #define MAX310X_MODE1_TXHIZ_BIT (1 << 2) /* TX pin three-state */ 116 #define MAX310X_MODE1_RTSHIZ_BIT (1 << 3) /* RTS pin three-state */ 119 #define MAX310X_MODE1_AUTOSLEEP_BIT (1 << 6) /* Auto sleep enable */ 129 #define MAX310X_MODE2_MULTIDROP_BIT (1 << 6) /* 9-bit multidrop enable */ [all …]
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | ethtool-copy.h | 31 * May be read-only or read-write 36 __u8 mdio_support; /* MDIO protocols supported. Read-only. 45 __u8 eth_tp_mdix; /* twisted pair MDI-X status */ 46 __u8 eth_tp_mdix_ctrl; /* twisted pair MDI-X control, when set, 57 ep->speed = (__u16)speed; in ethtool_cmd_speed_set() 58 ep->speed_hi = (__u16)(speed >> 16); in ethtool_cmd_speed_set() 63 return (ep->speed_hi << 16) | ep->speed; in ethtool_cmd_speed() 94 * using ops->get_sset_count(). Obtaining 107 /* wake-on-lan settings */ 124 __u32 version; /* driver-specific, indicates different chips/revs */ [all …]
|