| /kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2014-2015 Hisilicon Limited. 37 /* check mac addr broadcast */ 42 /* check mac addr is 01-00-5e-xx-xx-xx*/ 47 /*check the mac addr is 0 in all bit*/ 52 /*check mac addr multicast*/ 56 void *mac; member 67 /*mac interface keyword */ 82 /*mac mode */ 122 /*mac communicate mode*/ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2014-2015 Hisilicon Limited. 37 /* check mac addr broadcast */ 42 /* check mac addr is 01-00-5e-xx-xx-xx*/ 47 /*check the mac addr is 0 in all bit*/ 52 /*check mac addr multicast*/ 56 void *mac; member 67 /*mac interface keyword */ 82 /*mac mode */ 122 /*mac communicate mode*/ [all …]
|
| /kernel/linux/linux-6.6/fs/nls/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 23 default "iso8859-1" 31 cp949, cp950, cp1251, cp1255, euc-jp, euc-kr, gb2312, iso8859-1, 32 iso8859-2, iso8859-3, iso8859-4, iso8859-5, iso8859-6, iso8859-7, 33 iso8859-8, iso8859-9, iso8859-13, iso8859-14, iso8859-15, 34 koi8-r, koi8-ru, koi8-u, sjis, tis-620, macroman, utf8. 35 If you specify a wrong value, it will use the built-in NLS; 36 compatible with iso8859-1. 38 If unsure, specify it as "iso8859-1". 45 in so-called DOS codepages. You need to include the appropriate [all …]
|
| /kernel/linux/linux-5.10/fs/nls/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 23 default "iso8859-1" 31 cp949, cp950, cp1251, cp1255, euc-jp, euc-kr, gb2312, iso8859-1, 32 iso8859-2, iso8859-3, iso8859-4, iso8859-5, iso8859-6, iso8859-7, 33 iso8859-8, iso8859-9, iso8859-13, iso8859-14, iso8859-15, 34 koi8-r, koi8-ru, koi8-u, sjis, tis-620, macroman, utf8. 35 If you specify a wrong value, it will use the built-in NLS; 36 compatible with iso8859-1. 38 If unsure, specify it as "iso8859-1". 45 in so-called DOS codepages. You need to include the appropriate [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
| 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() local 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/ |
| 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() local 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/of/ |
| D | of_net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * of_get_phy_mode - Get phy mode for given device_node 20 * The function gets phy interface string from property 'phy-mode' or 21 * 'phy-connection-type'. The index in phy_modes table is set in 23 * PHY_INTERFACE_MODE_NA and an errno is returned, e.g. -ENODEV. 32 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode() 34 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode() 44 return -ENODEV; in of_get_phy_mode() 52 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) in of_get_mac_addr() 53 return pp->value; in of_get_mac_addr() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
| 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 …]
|
| /kernel/linux/linux-6.6/net/core/ |
| D | of_net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 18 * of_get_phy_mode - Get phy mode for given device_node 22 * The function gets phy interface string from property 'phy-mode' or 23 * 'phy-connection-type'. The index in phy_modes table is set in 25 * PHY_INTERFACE_MODE_NA and an errno is returned, e.g. -ENODEV. 34 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode() 36 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode() 46 return -ENODEV; in of_get_phy_mode() 54 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) { in of_get_mac_addr() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | mac-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2019, 2021-2022 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 #include "mac.h" 13 * enum iwl_mac_conf_subcmd_ids - mac configuration command IDs 84 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification 107 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter 109 * @mac_id: the mac which should send the probe response 124 * struct iwl_missed_vap_notif - notification of missing vap detection [all …]
|
| D | time-event.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2020, 2022 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 #include "fw/api/phy-ctxt.h" 12 /* Time Event types, according to MAC type */ 45 /* Time event - defines for command API v1 */ 49 * @TE_V1_FRAG_SINGLE: fragmentation of the time event is allowed, but only 51 * @TE_V1_FRAG_DUAL: fragmentation of the time event is allowed, but only 57 * means that the event can be fragmented but only the first 'x' will be [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/purelifi/plfxlc/ |
| D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include "mac.h" 88 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_init_hw() local 89 struct plfxlc_chip *chip = &mac->chip; in plfxlc_mac_init_hw() 94 dev_warn(plfxlc_mac_dev(mac), "init hw failed (%d)\n", r); in plfxlc_mac_init_hw() 98 dev_dbg(plfxlc_mac_dev(mac), "irq_disabled (%d)\n", irqs_disabled()); in plfxlc_mac_init_hw() 99 regulatory_hint(hw->wiphy, "00"); in plfxlc_mac_init_hw() 103 void plfxlc_mac_release(struct plfxlc_mac *mac) in plfxlc_mac_release() argument 105 plfxlc_chip_release(&mac->chip); in plfxlc_mac_release() 110 plfxlc_hw_mac(hw)->chip.usb.initialized = 1; in plfxlc_op_start() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- 28 |-> NetCP Devices -> | [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- 28 |-> NetCP Devices -> | [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_hw.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2017-2019 NXP */ 46 /* VF-PF Message passing */ 109 /** SI BDR sub-blocks, n = 0..7 */ 303 /* Port MAC counters: Port MAC 0 corresponds to the eMAC and 304 * Port MAC 1 to the pMAC. 306 #define ENETC_PM_REOCT(mac) (0x8100 + ENETC_PMAC_OFFSET * (mac)) argument 307 #define ENETC_PM_RALN(mac) (0x8110 + ENETC_PMAC_OFFSET * (mac)) argument 308 #define ENETC_PM_RXPF(mac) (0x8118 + ENETC_PMAC_OFFSET * (mac)) argument 309 #define ENETC_PM_RFRM(mac) (0x8120 + ENETC_PMAC_OFFSET * (mac)) argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
| 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 55 * register to the devices MAC address and clearing all the other receive 64 hw_dbg("Programming MAC Address into RAR[0]\n"); in igc_init_rx_addrs() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
| 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 55 * register to the devices MAC address and clearing all the other receive 64 hw_dbg("Programming MAC Address into RAR[0]\n"); in igc_init_rx_addrs() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
| D | hw.c | 23 #define REG_READ (common->ops->read) 24 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) 27 * ath_hw_set_bssid_mask - filter out bssids we listen 32 * which bits of the interface's MAC address should be looked at when trying 34 * BSS every bit matters since we lock to only one BSS. In AP mode with 36 * accept frames for all BSSes and so we tweak some bits of our mac address 44 * set of ~ ( MAC XOR BSSID ) for all bssids we handle. 48 * the MAC address to obtain the relevant bits and compare the result with 52 * BSSID-01 and BSSID-02. Lets assume BSSID-01 will not use the MAC address. 53 * There is another BSSID-03 but you are not part of it. For simplicity's sake, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
| D | hw.c | 23 #define REG_READ (common->ops->read) 24 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) 27 * ath_hw_setbssidmask - filter out bssids we listen 32 * which bits of the interface's MAC address should be looked at when trying 34 * BSS every bit matters since we lock to only one BSS. In AP mode with 36 * accept frames for all BSSes and so we tweak some bits of our mac address 44 * set of ~ ( MAC XOR BSSID ) for all bssids we handle. 48 * the MAC address to obtain the relevant bits and compare the result with 52 * BSSID-01 and BSSID-02. Lets assume BSSID-01 will not use the MAC address. 53 * There is another BSSID-03 but you are not part of it. For simplicity's sake, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
| D | lan966x_mdb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 unsigned char mac[ETH_ALEN]; member 25 INIT_LIST_HEAD(&lan966x->mdb_entries); in lan966x_mdb_init() 26 INIT_LIST_HEAD(&lan966x->pgid_entries); in lan966x_mdb_init() 33 list_for_each_entry_safe(mdb_entry, tmp, &lan966x->mdb_entries, list) { in lan966x_mdb_purge_mdb_entries() 34 list_del(&mdb_entry->list); in lan966x_mdb_purge_mdb_entries() 43 list_for_each_entry_safe(pgid_entry, tmp, &lan966x->pgid_entries, list) { in lan966x_mdb_purge_pgid_entries() 44 list_del(&pgid_entry->list); in lan966x_mdb_purge_pgid_entries() 57 const unsigned char *mac, in lan966x_mdb_entry_get() argument 62 list_for_each_entry(mdb_entry, &lan966x->mdb_entries, list) { in lan966x_mdb_entry_get() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac100_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the MAC 10/100 on-chip Ethernet controller 6 DWC Ether MAC 10/100 Universal version 4.0 has been used for developing 9 This only implements the mac core functions for this chip. 11 Copyright (C) 2007-2009 STMicroelectronics Ltd 25 void __iomem *ioaddr = hw->pcsr; in dwmac100_core_init() 39 void __iomem *ioaddr = hw->pcsr; in dwmac100_dump_mac_regs() 66 void __iomem *ioaddr = hw->pcsr; in dwmac100_set_umac_addr() 74 void __iomem *ioaddr = hw->pcsr; in dwmac100_get_umac_addr() 81 void __iomem *ioaddr = (void __iomem *)dev->base_addr; in dwmac100_set_filter() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
| D | vsc7326.c | 1 // SPDX-License-Identifier: GPL-2.0 4 /* Driver for Vitesse VSC7326 (Schaumburg) MAC */ 15 /* The egress WM value 0x01a01fff should be used only when the 16 * interface is down (MAC port disabled). This is a workaround 17 * for disabling the T2/MAC flow-control. When the interface is 40 spin_lock_bh(&adapter->mac_lock); in vsc_read() 50 pr_err("Invalid tpi read from MAC, breaking loop.\n"); in vsc_read() 60 spin_unlock_bh(&adapter->mac_lock); in vsc_read() 65 spin_lock_bh(&adapter->mac_lock); in vsc_write() 71 spin_unlock_bh(&adapter->mac_lock); in vsc_write() [all …]
|