Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.12.1/drivers/staging/vt6655/
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 …]
/linux-6.12.1/drivers/net/ethernet/wangxun/txgbe/
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 …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
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 …]
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
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 …]
/linux-6.12.1/drivers/net/ethernet/sunplus/
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 …]
/linux-6.12.1/drivers/misc/
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 …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac-cfg.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2019, 2021-2024 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
100 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification
106 * @ctwin: GO's ct window and pwer save capability
123 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter
125 * @mac_id: the mac which should send the probe response
[all …]
/linux-6.12.1/drivers/net/ethernet/allwinner/
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 …]
/linux-6.12.1/drivers/net/wireless/ath/ath5k/
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 …]
/linux-6.12.1/drivers/net/ethernet/freescale/fman/
Dmac.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * Copyright 2008 - 2015 Freescale Semiconductor Inc.
23 #include "mac.h"
30 MODULE_DESCRIPTION("FSL FMan MAC API based driver");
51 mac_dev->set_exception(mac_dev->fman_mac, in mac_exception()
53 dev_err(mac_dev->dev, "10G MAC got RX FIFO Error = %x\n", ex); in mac_exception()
56 dev_dbg(mac_dev->dev, "%s:%s() -> %d\n", KBUILD_BASENAME ".c", in mac_exception()
68 priv = mac_dev->priv; in fman_set_multi()
70 /* Clear previous address list */ in fman_set_multi()
71 list_for_each_entry_safe(old_addr, tmp, &priv->mc_addr_list, list) { in fman_set_multi()
[all …]
Dfman_dtsec.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * Copyright 2008 - 2015 Freescale Semiconductor Inc.
10 #include "mac.h"
29 #define TBICON_AN_SENSE 0x0100 /* Auto-negotiation sense enable */
72 /* Group address bit indication */
164 u32 tbipa; /* 0x01C TBI PHY address register */
165 u32 tmr_ctrl; /* 0x020 Time-stamp Control register */
166 u32 tmr_pevent; /* 0x024 Time-stamp event register */
173 u32 igaddr[8]; /* 0x080-0x09C Individual/group address */
174 u32 gaddr[8]; /* 0x0A0-0x0BC Group address registers 0-7 */
[all …]
/linux-6.12.1/net/llc/
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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * This driver is designed for the Broadcom SiByte SOC built-in
48 /* A few user-configurable values which may be modified when a driver
84 #error invalid SiByte MAC configuration
95 #error invalid SiByte MAC configuration
116 sbmac_duplex_none = -1,
142 #define SBDMA_NEXTBUF(d,f) ((((d)->f+1) == (d)->sbdma_dscrtable_end) ? \
143 (d)->sbdma_dscrtable : (d)->f+1)
174 MAC */
189 /* descriptor base address */
[all …]
/linux-6.12.1/net/mac80211/
Dsta_info.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2002-2005, Devicescape Software, Inc.
4 * Copyright 2013-2014 Intel Mobile Communications GmbH
5 * Copyright(c) 2015-2017 Intel Deutschland GmbH
6 * Copyright(c) 2020-2024 Intel Corporation
24 * enum ieee80211_sta_info_flags - Stations flags
31 * @WLAN_STA_PS_STA: Station is in power-save mode
35 * @WLAN_STA_SHORT_PREAMBLE: Station is capable of receiving short-preamble
45 * power-save mode logically to flush frames that might still
47 * @WLAN_STA_PSPOLL: Station sent PS-poll while driver was keeping
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dwmi.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
45 * variable is already 4-byte aligned by virtue of being a u32
527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
534 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
[all …]
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
17 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi()
21 /* setup and write the address cycle command */ in wx_phy_read_reg_mdi()
28 if (wx->mac.type == wx_mac_em) in wx_phy_read_reg_mdi()
46 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi()
50 /* setup and write the address cycle command */ in wx_phy_write_reg_mdi()
57 if (wx->mac.type == wx_mac_em) in wx_phy_write_reg_mdi()
72 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c22()
81 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c22()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/igb/
De1000_mac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
19 * igb_get_bus_info_pcie - Get PCIe bus information
28 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie()
33 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie()
39 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie()
40 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie()
44 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie()
47 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie()
50 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-csr.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
14 * low power states due to driver-invoked device resets
15 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
18 * these provide simple PCI bus access, without waking up the MAC.
21 * The MAC (uCode processor, etc.) does not need to be powered up for accessing
30 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */
37 #define CSR_FUNC_SCRATCH (CSR_BASE+0x02c) /* Scratch register - used for FW dbg */
45 * 31-16: Reserved
[all …]
/linux-6.12.1/drivers/net/ethernet/nxp/
Dlpc_eth.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 #include <linux/soc/nxp/lpc32xx-misc.h>
25 #define MODNAME "lpc-eth"
35 * Ethernet MAC controller Register offsets
317 if (dev && dev->of_node) { in lpc_phy_interface_mode()
318 const char *mode = of_get_property(dev->of_node, in lpc_phy_interface_mode()
319 "phy-mode", NULL); in lpc_phy_interface_mode()
328 if (dev && dev->of_node) in use_iram_for_net()
329 return of_property_read_bool(dev->of_node, "use-iram"); in use_iram_for_net()
420 * MAC support functions
[all …]
/linux-6.12.1/drivers/net/ethernet/agere/
Det131x.c2 * 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs
10 *------------------------------------------------------------------------------
87 MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems");
93 /* MAC defines */
106 * In both cases, when flow control is enabled for either Tx or bi-direction,
156 #define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */
157 #define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */
173 /* number of RFDs - default and min */
189 u32 word2; /* Bits 10-31 reserved, 0-9 descriptor */
197 * PE-MCXMAC Data Sheet IPD DS54 0210-1 (also IPD-DS80 0205-2)
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/igc/
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
52 * @rar_count: receive address registers
54 * Setup the receive address registers by setting the base receive address
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap-gpmc-smsc911x.dtsi1 // SPDX-License-Identifier: GPL-2.0
10 vddvario: regulator-vddvario {
11 compatible = "regulator-fixed";
12 regulator-name = "vddvario";
13 regulator-always-on;
16 vdd33a: regulator-vdd33a {
17 compatible = "regulator-fixed";
18 regulator-name = "vdd33a";
19 regulator-always-on;
26 bank-width = <2>;
[all …]
Domap-gpmc-smsc9221.dtsi1 // SPDX-License-Identifier: GPL-2.0
14 vddvario: regulator-vddvario {
15 compatible = "regulator-fixed";
16 regulator-name = "vddvario";
17 regulator-always-on;
20 vdd33a: regulator-vdd33a {
21 compatible = "regulator-fixed";
22 regulator-name = "vdd33a";
23 regulator-always-on;
30 bank-width = <2>;
[all …]
Domap3-overo-tobiduo-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "omap3-overo-common-peripherals.dtsi"
12 #include "omap-gpmc-smsc9221.dtsi"
17 interrupt-parent = <&gpio6>;
23 bank-width = <2>;
25 gpmc,mux-add-data = <0>;
26 gpmc,cs-on-ns = <0>;
27 gpmc,cs-rd-off-ns = <42>;
28 gpmc,cs-wr-off-ns = <36>;
29 gpmc,adv-on-ns = <6>;
[all …]

12345678910>>...16