Home
last modified time | relevance | path

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

12345678910>>...44

/kernel/linux/linux-4.19/drivers/of/
Dof_net.c10 #include <linux/nvmem-consumer.h>
16 * of_get_phy_mode - Get phy mode for given device_node
19 * The function gets phy interface string from property 'phy-mode' or
20 * 'phy-connection-type', and return its index in phy_modes table, or errno in
28 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode()
30 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode()
38 return -ENODEV; in of_get_phy_mode()
46 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) in of_get_mac_addr()
47 return pp->value; in of_get_mac_addr()
52 * Search the device tree for the best MAC address to use. 'mac-address' is
[all …]
/kernel/linux/linux-5.10/drivers/of/
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 …]
/kernel/linux/linux-5.10/arch/m68k/include/uapi/asm/
Dbootinfo-mac.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 ** asm/bootinfo-mac.h -- Macintosh-specific boot information definitions
11 * Macintosh-specific tags (all __be32)
14 #define BI_MAC_MODEL 0x8000 /* Mac Gestalt ID (model type) */
15 #define BI_MAC_VADDR 0x8001 /* Mac video base address */
16 #define BI_MAC_VDEPTH 0x8002 /* Mac video depth */
17 #define BI_MAC_VROW 0x8003 /* Mac video rowbytes */
18 #define BI_MAC_VDIM 0x8004 /* Mac video dimensions */
19 #define BI_MAC_VLOGICAL 0x8005 /* Mac video logical base */
20 #define BI_MAC_SCCBASE 0x8006 /* Mac SCC base address */
[all …]
/kernel/linux/linux-4.19/arch/m68k/include/uapi/asm/
Dbootinfo-mac.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 ** asm/bootinfo-mac.h -- Macintosh-specific boot information definitions
11 * Macintosh-specific tags (all __be32)
14 #define BI_MAC_MODEL 0x8000 /* Mac Gestalt ID (model type) */
15 #define BI_MAC_VADDR 0x8001 /* Mac video base address */
16 #define BI_MAC_VDEPTH 0x8002 /* Mac video depth */
17 #define BI_MAC_VROW 0x8003 /* Mac video rowbytes */
18 #define BI_MAC_VDIM 0x8004 /* Mac video dimensions */
19 #define BI_MAC_VLOGICAL 0x8005 /* Mac video logical base */
20 #define BI_MAC_SCCBASE 0x8006 /* Mac SCC base address */
[all …]
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0+
6 * File: mac.c
8 * Purpose: MAC routines
15 * MACbIsRegBitsOff - Test if All test Bits Off
16 * MACbIsIntDisable - Test if MAC interrupt disable
17 * MACvSetShortRetryLimit - Set 802.11 Short Retry limit
18 * MACvSetLongRetryLimit - Set 802.11 Long Retry limit
19 * MACvSetLoopbackMode - Set MAC Loopback Mode
20 * MACvSaveContext - Save Context of MAC Registers
21 * MACvRestoreContext - Restore Context of MAC Registers
[all …]
/kernel/linux/linux-4.19/drivers/staging/vt6655/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0+
6 * File: mac.c
8 * Purpose: MAC routines
15 * MACbIsRegBitsOn - Test if All test Bits On
16 * MACbIsRegBitsOff - Test if All test Bits Off
17 * MACbIsIntDisable - Test if MAC interrupt disable
18 * MACvSetShortRetryLimit - Set 802.11 Short Retry limit
19 * MACvSetLongRetryLimit - Set 802.11 Long Retry limit
20 * MACvSetLoopbackMode - Set MAC Loopback Mode
21 * MACvSaveContext - Save Context of MAC Registers
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
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 …]
Dethernet.txt5 Documentation/devicetree/bindings/phy/phy-bindings.txt.
7 - local-mac-address: array of 6 bytes, specifies the MAC address that was
9 - mac-address: array of 6 bytes, specifies the MAC address that was last used by
10 the boot program; should be used in cases where the MAC address assigned to
11 the device by the boot program is different from the "local-mac-address"
13 - nvmem-cells: phandle, reference to an nvmem node for the MAC address;
14 - nvmem-cell-names: string, should be "mac-address" if nvmem is to be used;
15 - max-speed: number, specifies maximum speed in Mbit/s supported by the device;
16 - max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than
19 - phy-mode: string, operation mode of the PHY interface. This is now a de-facto
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c1 // SPDX-License-Identifier: GPL-2.0
4 /* Driver for Vitesse VSC7326 (Schaumburg) MAC */
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()
74 /* Hard reset the MAC. This wipes out *all* configuration. */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c1 // SPDX-License-Identifier: GPL-2.0
4 /* Driver for Vitesse VSC7326 (Schaumburg) MAC */
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()
74 /* Hard reset the MAC. This wipes out *all* configuration. */
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/igbvf/
Dvf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009 - 2018 Intel Corporation. */
20 * e1000_init_mac_params_vf - Inits MAC params
25 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() local
27 /* VF's have no MTA Registers - PF feature only */ in e1000_init_mac_params_vf()
28 mac->mta_reg_count = 128; in e1000_init_mac_params_vf()
30 mac->rar_entry_count = 1; in e1000_init_mac_params_vf()
34 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
36 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
38 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
Dvf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009 - 2018 Intel Corporation. */
20 * e1000_init_mac_params_vf - Inits MAC params
25 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() local
27 /* VF's have no MTA Registers - PF feature only */ in e1000_init_mac_params_vf()
28 mac->mta_reg_count = 128; in e1000_init_mac_params_vf()
30 mac->rar_entry_count = 1; in e1000_init_mac_params_vf()
34 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
36 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
38 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
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 …]
Dethernet-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David S. Miller <davem@davemloft.net>
16 local-mac-address:
18 Specifies the MAC address that was assigned to the network device.
19 $ref: /schemas/types.yaml#definitions/uint8-array
21 - minItems: 6
24 mac-address:
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/e1000e/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/ixgbevf/
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
30 * all on chip counters, initializes receive address registers, multicast
37 hw->adapter_stopped = false; in ixgbevf_start_hw_vf()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
7 * fm10k_stop_hw_vf - Stop Tx/Rx units
13 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf()
23 /* If permanent address is set then we need to restore it */ in fm10k_stop_hw_vf()
35 tdlen = hw->mac.itr_scale << FM10K_TDLEN_ITR_SCALE_SHIFT; in fm10k_stop_hw_vf()
38 * update their base address registers in fm10k_stop_hw_vf()
40 for (i = 0; i < hw->mac.max_queues; i++) { in fm10k_stop_hw_vf()
45 /* Restore ITR scale in software-defined mechanism in TDLEN in fm10k_stop_hw_vf()
57 * fm10k_reset_hw_vf - VF hardware reset
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
7 * fm10k_stop_hw_vf - Stop Tx/Rx units
13 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf()
23 /* If permanent address is set then we need to restore it */ in fm10k_stop_hw_vf()
35 tdlen = hw->mac.itr_scale << FM10K_TDLEN_ITR_SCALE_SHIFT; in fm10k_stop_hw_vf()
38 * update their base address registers in fm10k_stop_hw_vf()
40 for (i = 0; i < hw->mac.max_queues; i++) { in fm10k_stop_hw_vf()
45 /* Restore ITR scale in software-defined mechanism in TDLEN in fm10k_stop_hw_vf()
57 * fm10k_reset_hw_vf - VF hardware reset
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
Daltera_tse.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Altera Triple-Speed Ethernet MAC driver
3 * Copyright (C) 2008-2014 Altera Corporation. All rights reserved
47 /* MAC function configuration default settings */
54 /* MAC Command_Config Register Bit Definitions
123 /* MDIO registers within MAC register Space
130 u32 auto_negotiation_advertisement; /* Auto-negotiation
164 /* MAC register Space. Note that some of these registers may or may not be
179 * MAC block
182 /* 32-bit primary MAC address word 0 bits 0 to 31 of the primary
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
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
30 * all on chip counters, initializes receive address registers, multicast
37 hw->adapter_stopped = false; in ixgbevf_start_hw_vf()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/igb/
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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/altera/
Daltera_tse.h1 /* Altera Triple-Speed Ethernet MAC driver
2 * Copyright (C) 2008-2014 Altera Corporation. All rights reserved
58 /* MAC function configuration default settings */
65 /* MAC Command_Config Register Bit Definitions
134 /* MDIO registers within MAC register Space
141 u32 auto_negotiation_advertisement; /* Auto-negotiation
175 /* MAC register Space. Note that some of these registers may or may not be
190 * MAC block
193 /* 32-bit primary MAC address word 0 bits 0 to 31 of the primary
194 * MAC address
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/sun/
Dsungem.h1 /* SPDX-License-Identifier: GPL-2.0 */
39 * This auto-clearing does not occur when the alias at GREG_STAT2
52 #define GREG_STAT_TXMAC 0x00004000 /* TX MAC signalled interrupt */
53 #define GREG_STAT_RXMAC 0x00008000 /* RX MAC signalled interrupt */
54 #define GREG_STAT_MAC 0x00010000 /* MAC Control signalled irq */
69 * signalled to the cpu. GREG_IACK can be used to clear specific top-level
121 #define TXDMA_FADDR 0x2104UL /* TX FIFO Address */
130 * This 13-bit register is programmed by the driver to hold the descriptor
136 * This 13-bit register is updated by GEM to hold to descriptor entry index
146 * maximum value of 0x4ff, else one risks getting TX MAC Underrun errors.
[all …]

12345678910>>...44