Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/u-boot/board/freescale/mpc8569mds/
H A DREADME2 --------
3 MPC8569MDS is composed of two boards - PB (Processor Board) and PIB (Platform
6 Building U-Boot
7 -----------
12 ----------
25 Flashing U-Boot Images
26 ---------------
28 Use the following commands to program U-Boot image into flash:
30 => tftp 1000000 u-boot.bin
36 Setting the correct MAC addresses
[all …]
/openbmc/linux/drivers/staging/vt6655/
H A Dmac.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Purpose: MAC routines
13 * vt6655_mac_is_reg_bits_off - Test if All test Bits Off
14 * vt6655_mac_set_short_retry_limit - Set 802.11 Short Retry limit
15 * MACvSetLongRetryLimit - Set 802.11 Long Retry limit
16 * vt6655_mac_set_loopback_mode - Set MAC Loopback Mode
17 * vt6655_mac_save_context - Save Context of MAC Registers
18 * vt6655_mac_restore_context - Restore Context of MAC Registers
19 * MACbSoftwareReset - Software Reset MAC
20 * vt6655_mac_safe_rx_off - Turn Off MAC Rx
[all …]
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-network/network/static-mac-addr/
H A Dmac-check8 # http://www.apache.org/licenses/LICENSE-2.0
17 SOFS_MACDIR=${SOFS_MNT}/factory-settings/network/mac
21 cat /sys/class/net/"$iface"/address 2>/dev/null
26 local mac="$2"
27 ip link show dev "$iface" | grep -q "${iface}:.*\<UP\>" 2>/dev/null
29 [[ $up -eq 0 ]] && ip link set dev "$iface" down
30 ip link set dev "$iface" address "$mac"
31 [[ $up -eq 0 ]] && ip link set dev "$iface" up
46 local mac="$2"
47 fw_setenv "$envname" "$mac"
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/
H A DREADME.md14 IP address(v4 and v6) objects must be children objects of the physical/virtual
19 1. SystemConfiguration: This describes the system-specific parameters.
21 3. IP: This describes the IP address specific parameters.
26 ## D-Bus Objects
37 ### IP Address Objects
39 There can be multiple IP address objects under an interface object. These
42 IPv4 objects will have the following D-Bus object path:
46 IPv6 objects will have the following D-Bus object path:
58 ### Create Static IPv4 Address
65 "<IP Address>" <Netmask Prefix> "<Network Gateway>"
[all …]
/openbmc/u-boot/drivers/net/fm/
H A Deth.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2009-2012 Freescale Semiconductor, Inc.
40 bus.priv = priv->mac->phyregs; in dtsec_configure_serdes()
41 bool sgmii_2500 = (priv->enet_if == in dtsec_configure_serdes()
80 if ((priv->enet_if == PHY_INTERFACE_MODE_QSGMII) && (i < 3)) { in dtsec_configure_serdes()
85 struct dtsec *regs = priv->mac->base; in dtsec_configure_serdes()
86 struct tsec_mii_mng *phyregs = priv->mac->phyregs; in dtsec_configure_serdes()
92 tsec_local_mdio_write(phyregs, in_be32(&regs->tbipa), 0, TBI_TBICON, in dtsec_configure_serdes()
94 tsec_local_mdio_write(phyregs, in_be32(&regs->tbipa), 0, TBI_ANA, in dtsec_configure_serdes()
96 tsec_local_mdio_write(phyregs, in_be32(&regs->tbipa), 0, in dtsec_configure_serdes()
[all …]
/openbmc/u-boot/drivers/net/
H A Dep93xx_eth.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Cirrus Logic EP93xx ethernet MAC / MII driver.
9 * Cory T. Tusar, Videon Central, Inc., <ctusar@videon-central.com>
28 #define GET_PRIV(eth_dev) ((struct ep93xx_priv *)(eth_dev)->priv)
29 #define GET_REGS(eth_dev) (GET_PRIV(eth_dev)->regs)
47 printf(" rx_dq.base %p\n", priv->rx_dq.base); in dump_dev()
48 printf(" rx_dq.current %p\n", priv->rx_dq.current); in dump_dev()
49 printf(" rx_dq.end %p\n", priv->rx_dq.end); in dump_dev()
50 printf(" rx_sq.base %p\n", priv->rx_sq.base); in dump_dev()
51 printf(" rx_sq.current %p\n", priv->rx_sq.current); in dump_dev()
[all …]
H A Dlpc32xx_eth.c1 // SPDX-License-Identifier: GPL-2.0+
3 * LPC32xx Ethernet MAC interface driver
6 * Written-by: Albert ARIBAUD - 3ADEV <albert.aribaud@3adev.fr>
76 /* Ethernet MAC interface registers (see Table 283) */
78 /* MAC registers - 0x3106_0000 to 0x3106_01FC */
79 u32 mac1; /* MAC configuration register 1 */
80 u32 mac2; /* MAC configuration register 2 */
81 u32 ipgt; /* Back-to-back Inter-Packet Gap reg. */
82 u32 ipgr; /* Non-back-to-back IPG register */
89 u32 madr; /* MII management address register */
[all …]
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-yadro/fru/vegman-fru-handler/
H A Dbaseboard-fru-handler.sh1 #!/bin/bash -eu
3 # SPDX-License-Identifier: Apache-2.0
4 # Copyright 2020-2021 YADRO
16 cat /sys/class/net/"${iface}"/address 2>/dev/null ||:
21 local mac="$2"
23 if ip link show dev "${iface}" | grep -q "${iface}:.*\<UP\>" 2>/dev/null; then
30 ip link set dev "${iface}" address "${mac}" ||:
38 local mac="$2"
51 if ! fw_setenv "$envname" "$mac"; then
62 ######## Parse D-bus data ########
[all …]
/openbmc/openbmc-test-automation/gui/test/server_config/
H A Dtest_obmc_gui_network_settings.robot3 Documentation Test OpenBMC GUI "Network settings" sub-menu of
14 ${xpath_select_server_configuration} //*[@id="nav__top-level"]/li[4]/button
16 ${xpath_hostname_input} //*[@id="net-config__mac"]
17 ${xpath_network_save_settings} //*[text()="Save settings"]
19 ${xpath_network_config_ipv4_address} //*[@id="ipv4-address-1"]
20 ${xpath_default_gateway_input} //*[@id="net-config__domain"]
21 ${xpath_mac_address_input} //*[@id="net-config__host"]
22 ${xpath_ipv4-address-input} //*[@id="ipv4-address-1"]
23 ${xpath_network_DHCP_button} //*[contains(text(),"Obtain an IP address automatically")]
24 ${xpath_network_static_button} //*[contains(text(),"Assign a static IP address")]
[all …]
/openbmc/qemu/docs/devel/migration/
H A Dvirtio.rst8 the COPYING file in the top-level directory.
13 - state is distributed between several parts:
15 - virtio core, for common fields like features, number of queues, ...
17 - virtio transport (pci, ccw, ...), for the different proxy devices and
20 - virtio device (net, blk, ...), for the different device types and their
21 state (mac address, request queue, ...)
23 - most fields are saved via the stream interface; subsequently, subsections
24 have been added to make cross-version migration possible
29 Save state procedure
35 ----------- ---------------- -------------
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dsmsc,lan9115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller
10 - Shawn Guo <shawnguo@kernel.org>
13 - $ref: ethernet-controller.yaml#
18 - const: smsc,lan9115
19 - items:
20 - enum:
21 - smsc,lan89218
[all …]
/openbmc/qemu/
H A Dqemu-bridge-helper.c12 * the COPYING file in the top-level directory.
17 * - There is no manual page
18 * - The syntax of the ACL file is not documented anywhere
19 * - parse_acl_file() doesn't report fopen() failure properly, fails
45 #include "net/tap-linux.h"
48 #include <cap-ng.h>
71 "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n"); in usage()
82 return -1; in parse_acl_file()
116 while (arg != argend && g_ascii_isspace(*(argend - 1))) { in parse_acl_file()
117 argend--; in parse_acl_file()
[all …]
/openbmc/u-boot/board/buffalo/lsxl/
H A DREADME2 -----
3 The Buffalo Linkstation Pro/Live, codename LS-XHL and LS-CHLv2, is a single
4 disk NAS server. The PCBs of the LS-XHL and LS-CHLv2 are almost the same.
5 The LS-XHL has a faster CPU and more RAM with a wider data bus, therefore
6 the LS-XHL PCB has two SDRAM chips. Both have a Kirkwood CPU (Marvell
7 88F6281). The only on-board storage is a 4 Mbit SPI flash which stores the
13 -----------
19 Therefore, on entering the resuce mode, a random ethernet address is
20 generated if no valid address could be loaded from the environment variable
25 address assigned to the board, you either have to sniff the traffic or
[all …]
/openbmc/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_driver.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/nvmem-consumer.h>
27 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_open() local
28 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_open()
31 netdev_dbg(ndev, "Open port = %x\n", mac->lan_port); in spl2sw_ethernet_open()
33 comm->enable |= mac->lan_port; in spl2sw_ethernet_open()
38 mask = readl(comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open()
40 writel(mask, comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open()
42 phy_start(ndev->phydev); in spl2sw_ethernet_open()
51 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_stop() local
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcsr.h8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
70 * low power states due to driver-invoked device resets
71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
74 * these provide simple PCI bus access, without waking up the MAC.
77 * The MAC (uCode processor, etc.) does not need to be powered up for accessing
86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */
100 * 31-8: Reserved
101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dmac-cfg.h1 /* 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
90 * @ctwin: GO's ct window and pwer save capability
107 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter
109 * @mac_id: the mac which should send the probe response
[all …]
/openbmc/linux/drivers/misc/
H A Dpch_phub.c1 // SPDX-License-Identifier: GPL-2.0-only
26 #define PCH_PHUB_MAC_START_ADDR_EG20T 0x14 /* MAC data area start address
28 #define PCH_PHUB_MAC_START_ADDR_ML7223 0x20C /* MAC data area start address
30 #define PCH_PHUB_ROM_START_ADDR_EG20T 0x80 /* ROM data area start address offset
32 #define PCH_PHUB_ROM_START_ADDR_ML7213 0x400 /* ROM data area start address
35 #define PCH_PHUB_ROM_START_ADDR_ML7223 0x400 /* ROM data area start address
47 /* CM-iTC */
58 #define PCI_DEVICE_ID_ROHM_ML7223_mPHUB 0x8012 /* for Bus-m */
59 #define PCI_DEVICE_ID_ROHM_ML7223_nPHUB 0x8002 /* for Bus-n */
65 #define PCH_WORD_ADDR_MASK (~((1 << 2) - 1))
[all …]
/openbmc/linux/drivers/net/ethernet/allwinner/
H A Dsun4i-emac.c4 * Copyright 2012-2013 Stefan Roese <sr@denx.de>
5 * Copyright 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
34 #include "sun4i-emac.h"
36 #define DRV_NAME "sun4i-emac"
41 static int debug = -1; /* defaults above */;
50 /* EMAC register address locking.
52 * The EMAC uses an address register to control where data written
53 * to the data register goes. This means that the address register
57 * protect the system, but the calls themselves save the address
58 * in the address register in case they are interrupting another
[all …]
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_hw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
17 * txgbe_disable_sec_tx_path - Stops the transmit data path
33 * txgbe_enable_sec_tx_path - Enables the transmit data path
45 * txgbe_init_thermal_sensor_thresh - Inits thermal sensor thresholds
49 * and save off the threshold and location values into mac.thermal_sensor_data
53 struct wx_thermal_sensor_data *data = &wx->mac.sensor; in txgbe_init_thermal_sensor_thresh()
58 if (wx->bus.func) in txgbe_init_thermal_sensor_thresh()
67 data->alarm_thresh = 100; in txgbe_init_thermal_sensor_thresh()
69 data->dalarm_thresh = 90; in txgbe_init_thermal_sensor_thresh()
[all …]
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
23 if (wx->mac.type == wx_mac_sp) { in wx_intr_disable()
37 if (wx->mac.type == wx_mac_sp) { in wx_intr_enable()
46 * wx_irq_disable - Mask off interrupt generation on the NIC
51 struct pci_dev *pdev = wx->pde in wx_irq_disable()
[all...]
/openbmc/u-boot/board/varisys/common/
H A Dsys_eeprom.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2006, 2008-2009, 2011 Freescale Semiconductor
33 u8 id[4]; /* 0x00 - 0x03 EEPROM Tag 'NXID' */
34 u8 sn[12]; /* 0x04 - 0x0F Serial Number */
35 u8 errata[5]; /* 0x10 - 0x14 Errata Level */
36 u8 date[6]; /* 0x15 - 0x1a Build Date */
38 u32 version; /* 0x1c - 0x1f NXID Version */
39 u8 tempcal[8]; /* 0x20 - 0x27 Temperature Calibration Factors */
40 u8 tempcalsys[2]; /* 0x28 - 0x29 System Temperature Calibration Factors */
42 u8 res_1[21]; /* 0x2b - 0x3f Reserved */
[all …]
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-olympus-nuvoton/packagegroups/
H A Dpackagegroup-olympus-nuvoton-apps.bb1 SUMMARY = "OpenBMC for OLYMPUS NUVOTON system - Applications"
8 ${PN}-chassis \
9 ${PN}-fans \
10 ${PN}-flash \
11 ${PN}-system \
14 PROVIDES += "virtual/obmc-chassis-mgmt"
15 PROVIDES += "virtual/obmc-fan-mgmt"
16 PROVIDES += "virtual/obmc-flash-mgmt"
17 PROVIDES += "virtual/obmc-system-mgmt"
19 RPROVIDES:${PN}-chassis += "virtual-obmc-chassis-mgmt"
[all …]
/openbmc/u-boot/doc/
H A DREADME.falcon1 U-Boot Falcon Mode
5 ------------
11 to boot a Linux kernel (or whatever image) without a full blown U-Boot.
14 U-Boot is split into two parts: the SPL (Secondary Program Loader) and U-Boot
15 image. In most implementations, SPL is used to start U-Boot when booting from
16 a mass storage, such as NAND or SD-Card. SPL has now support for other media,
19 copies U-Boot image into the memory.
22 from SPL. A new command is added to U-Boot to prepare the parameters that SPL
26 loading the kernel, passing to Linux the address in memory where
31 To boot the kernel, these steps under a Falcon-aware U-Boot are required:
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dattach.c2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
32 * ath5k_hw_post() - Power On Self Test helper function
53 /* Save previous value */ in ath5k_hw_post()
63 return -EAGAIN; in ath5k_hw_post()
78 return -EAGAIN; in ath5k_hw_post()
96 * ath5k_hw_init() - Check if hw is supported and init the needed structs
100 * structs. Returns -ENOMEM if we don't have memory for the needed structs,
101 * -ENODEV if the device is not supported or prints an error msg if something
108 struct pci_dev *pdev = ah->pdev; in ath5k_hw_init()
[all …]
/openbmc/linux/net/llc/
H A Dllc_sap.c2 * llc_sap.c - driver routines for SAP component.
5 * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
39 * llc_alloc_frame - allocates sk_buff for frame
54 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame()
62 skb->protocol = htons(ETH_P_802_2); in llc_alloc_frame()
63 skb->dev = dev; in llc_alloc_frame()
74 /* save primitive for use by the user. */ in llc_save_primitive()
78 addr->sllc_family = sk->sk_family; in llc_save_primitive()
79 addr->sllc_arphrd = skb->dev->type; in llc_save_primitive()
80 addr->sllc_test = prim == LLC_TEST_PRIM; in llc_save_primitive()
[all …]

12345678910>>...19