Home
last modified time | relevance | path

Searched +full:mac +full:- +full:only (Results 1 – 25 of 1078) sorted by relevance

12345678910>>...44

/OK3568_Linux_fs/kernel/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c1 // 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/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.h1 /* 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 …]
/OK3568_Linux_fs/kernel/fs/nls/
H A DKconfig1 # 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 …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.enetaddr1 ---------------------------------
2 Ethernet Address (MAC) Handling
3 ---------------------------------
5 There are a variety of places in U-Boot where the MAC address is used, parsed,
9 -----------
11 -----------
13 Here are the places where MAC addresses might be stored:
15 - board-specific location (eeprom, dedicated flash, ...)
16 Note: only used when mandatory due to hardware design etc...
18 - environment ("ethaddr", "eth1addr", ...)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A Dmac.c1 // 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 …]
H A Dich8lan.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
5 * 82562G-2 10/100 Network Connection
7 * 82562GT-2 10/100 Network Connection
9 * 82562V-2 10/100 Network Connection
10 * 82566DC-2 Gigabit Network Connection
12 * 82566DM-2 Gigabit Network Connection
19 * 82567LM-2 Gigabit Network Connection
20 * 82567LF-2 Gigabit Network Connection
21 * 82567V-2 Gigabit Network Connection
[all …]
H A D82571.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
42 * e1000_init_phy_params_82571 - Init PHY func ptrs.
47 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82571()
50 if (hw->phy.media_type != e1000_media_type_copper) { in e1000_init_phy_params_82571()
51 phy->type = e1000_phy_none; in e1000_init_phy_params_82571()
55 phy->addr = 1; in e1000_init_phy_params_82571()
56 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_init_phy_params_82571()
57 phy->reset_delay_us = 100; in e1000_init_phy_params_82571()
59 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82571()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A De1000_mac.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_mac.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/
H A Dhw.c23 #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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dkeystone-netcp.txt6 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 …]
/OK3568_Linux_fs/kernel/drivers/of/
H A Dof_net.c1 // 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 …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A DKconfig20 stand-alone devices. Useful in particular for systems that support
21 DM_ETH and have a stand-alone MDIO hardware block shared by multiple
23 This is currently implemented in net/mdio-uclass.c
52 bool "Atheros AG7xxx Ethernet MAC support"
56 This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
61 bool "Altera Triple-Speed Ethernet MAC support"
65 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
66 Please find details on the "Triple-Speed Ethernet MegaCore Function
74 to MAC and DMA management for multiple Broadcom SoCs such as
110 Of Service) IP block for all chips, default is Y, if select it N, only
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtime-event.h8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
11 * Copyright(c) 2018 - 2020 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
34 * Copyright(c) 2018 - 2020 Intel Corporation
68 #include "fw/api/phy-ctxt.h"
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 /* On Hyper-V, to reset, we need to read from this offset
9 * Hyper-V to support PF/VF communication.
16 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbevf_write_msg_read_ack()
17 s32 retval = mbx->ops.write_posted(hw, msg, size); in ixgbevf_write_msg_read_ack()
22 return mbx->ops.read_posted(hw, retmsg, size); in ixgbevf_write_msg_read_ack()
26 * ixgbevf_start_hw_vf - Prepare hardware for Tx/Rx
37 hw->adapter_stopped = false; in ixgbevf_start_hw_vf()
43 * ixgbevf_init_hw_vf - virtual function hardware initialization
[all …]
/OK3568_Linux_fs/u-boot/board/varisys/common/
H A Dsys_eeprom.c3 * Copyright 2006, 2008-2009, 2011 Freescale Semiconductor
11 * SPDX-License-Identifier: GPL-2.0+
34 u8 id[4]; /* 0x00 - 0x03 EEPROM Tag 'NXID' */
35 u8 sn[12]; /* 0x04 - 0x0F Serial Number */
36 u8 errata[5]; /* 0x10 - 0x14 Errata Level */
37 u8 date[6]; /* 0x15 - 0x1a Build Date */
39 u32 version; /* 0x1c - 0x1f NXID Version */
40 u8 tempcal[8]; /* 0x20 - 0x27 Temperature Calibration Factors */
41 u8 tempcalsys[2]; /* 0x28 - 0x29 System Temperature Calibration Factors */
43 u8 res_1[21]; /* 0x2b - 0x3f Reserved */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_wet.c6 * WET STA and WET client are inter-exchangable in this file and refer to
12 * Tx: replace frames' source MAC address with wireless interface's;
13 * update the IP-MAC address mapping table entry.
15 * Rx: replace frames' the destination MAC address with what found in
16 * the IP-MAC address mapping table.
30 * uint8 mac[ETHER_ADDR_LEN];
51 * <<Broadcom-WL-IPTag/Open:>>
81 /* IP/MAC address mapping entry */
86 struct ether_addr mac; /* client MAC addr */ member
91 wet_sta_t *next_mac; /* hash link by MAC */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_wet.c6 * WET STA and WET client are inter-exchangable in this file and refer to
12 * Tx: replace frames' source MAC address with wireless interface's;
13 * update the IP-MAC address mapping table entry.
15 * Rx: replace frames' the destination MAC address with what found in
16 * the IP-MAC address mapping table.
30 * uint8 mac[ETHER_ADDR_LEN];
51 * <<Broadcom-WL-IPTag/Open:>>
81 /* IP/MAC address mapping entry */
86 struct ether_addr mac; /* client MAC addr */ member
91 wet_sta_t *next_mac; /* hash link by MAC */
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dsys_eeprom.c2 * Copyright 2006, 2008-2009, 2011 Freescale Semiconductor
7 * SPDX-License-Identifier: GPL-2.0+
21 /* some boards with non-256-bytes EEPROM have special define */
22 /* for MAX_NUM_PORTS in board-specific file */
36 u8 id[4]; /* 0x00 - 0x03 EEPROM Tag 'CCID' */
39 u8 sn[10]; /* 0x06 - 0x0F Serial Number*/
40 u8 errata[2]; /* 0x10 - 0x11 Errata Level */
41 u8 date[6]; /* 0x12 - 0x17 Build Date */
42 u8 res_0[40]; /* 0x18 - 0x3f Reserved */
43 u8 mac_count; /* 0x40 Number of MAC addresses */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/
H A Dskge.h1 /* SPDX-License-Identifier: GPL-2.0 */
133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */
134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */
135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */
136 CS_VAUX_AVAIL = 1<<10,/* VAUX available (YUKON only) */
153 /* B0_POWER_CTRL 8 Bit Power Control reg (YUKON only) */
175 IS_EXT_REG = 1<<23, /* IRQ from LM80 or PHY (GENESIS only) */
176 /* IRQ from PHY (YUKON only) */
178 IS_MAC1 = 1<<21, /* IRQ from MAC 1 */
179 IS_LNK_SYNC_M1 = 1<<20, /* Link Sync Cnt wrap MAC 1 */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h1 /* SPDX-License-Identifier: GPL-2.0-only */
21 /*! The match mask is per-nibble. 0 means don't care, i.e. every value
27 * 1: compare DA only
28 * 2: compare SA only
30 * 4: compare ether type only
83 * can be anything from the first 64 bytes of the MAC packets.
84 * This byte location counted from MAC' DA address. i.e. set to 0
93 * can be anything from the first 64 bytes of the MAC packets.
94 * This byte location counted from MAC' DA address. i.e. set to 0
103 * can be anything from the first 64 bytes of the MAC packets.
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326.c1 // 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dphylink.h21 MLO_AN_FIXED, /* Fixed-link mode */
22 MLO_AN_INBAND, /* In-band protocol */
31 * struct phylink_link_state - link state structure
61 * struct phylink_config - PHYLINK configuration structure
62 * @dev: a pointer to a struct device associated with the MAC
64 * @pcs_poll: MAC PCS cannot provide link change interrupt
66 * if MAC link is at %MLO_AN_FIXED mode.
68 * if MAC link is at %MLO_AN_FIXED mode.
80 * struct phylink_mac_ops - MAC operations structure.
84 * @mac_config: configure the MAC for the selected mode and state.
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c3 * Copyright 2011-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
38 * bnx2x_exe_queue_init - init the Exe Queue object
62 INIT_LIST_HEAD(&o->exe_queue); in bnx2x_exe_queue_init()
63 INIT_LIST_HEAD(&o->pending_comp); in bnx2x_exe_queue_init()
65 spin_lock_init(&o->lock); in bnx2x_exe_queue_init()
67 o->exe_chunk_len = exe_len; in bnx2x_exe_queue_init()
68 o->owner = owner; in bnx2x_exe_queue_init()
71 o->validate = validate; in bnx2x_exe_queue_init()
72 o->remove = remove; in bnx2x_exe_queue_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c1 // 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
26 void __iomem *ioaddr = hw->pcsr; in dwmac100_core_init()
47 void __iomem *ioaddr = hw->pcsr; in dwmac100_dump_mac_regs()
74 void __iomem *ioaddr = hw->pcsr; in dwmac100_set_umac_addr()
82 void __iomem *ioaddr = hw->pcsr; in dwmac100_get_umac_addr()
89 void __iomem *ioaddr = (void __iomem *)dev->base_addr; in dwmac100_set_filter()
[all …]

12345678910>>...44