Home
last modified time | relevance | path

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

12345678910>>...14

/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 …]
/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 …]
/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 …]
/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 …]
/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-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/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 …]
/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 …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A 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/drivers/net/wireless/ath/ath10k/
H A 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/drivers/net/wireless/intel/iwlwifi/
H A 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/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. */
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/drivers/net/ethernet/intel/igb/
H A 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/drivers/net/ethernet/agere/
H A 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/drivers/net/wireless/ath/ath9k/
H A Dwow.c28 .n_patterns = MAX_NUM_PATTERN - 2,
38 if (wowlan->disconnect) in ath9k_wow_map_triggers()
41 if (wowlan->magic_pkt) in ath9k_wow_map_triggers()
44 if (wowlan->n_patterns) in ath9k_wow_map_triggers()
52 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_disassoc_deauth_pattern()
66 * +--------------+----------+---------+--------+--------+---- in ath9k_wow_add_disassoc_deauth_pattern()
68 * +--------------+----------+---------+--------+--------+---- in ath9k_wow_add_disassoc_deauth_pattern()
76 * -------------------- in ath9k_wow_add_disassoc_deauth_pattern()
80 * | x:x:x:x:x:x -- 22 bytes in ath9k_wow_add_disassoc_deauth_pattern()
83 * ---------------------- in ath9k_wow_add_disassoc_deauth_pattern()
[all …]
/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Aeroflex Gaisler GRETH 10/100/1G Ethernet MAC.
5 * 2005-2010 (c) Aeroflex Gaisler AB
21 #include <linux/dma-mapping.h>
54 static int greth_debug = -1; /* -1 == use GRETH_DEF_MSG_ENABLE as value */
58 /* Accept MAC address of the form macaddr=0x08,0x00,0x20,0x30,0x40,0x50 */
61 MODULE_PARM_DESC(macaddr, "GRETH Ethernet MAC address");
101 if (skb_shinfo(skb)->nr_frags == 0) in greth_print_tx_packet()
102 length = skb->len; in greth_print_tx_packet()
107 skb->data, length, true); in greth_print_tx_packet()
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A 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 …]
H A 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 …]
H A 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 …]
/linux/drivers/net/wireless/ti/wl1251/
H A Dacx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 1998-2007 Texas Instruments Incorporated
70 * bits 0 - 15: Reserved.
71 * bits 16 - 23: Version ID - The WiLink version ID
73 * bits 24 - 31: Chip ID - The WiLink chip ID.
82 /* Power save mode */
93 /* 0 - Always active*/
94 /* 1 - Power down mode: light / fast sleep*/
95 /* 2 - ELP mode: Deep / Max sleep*/
191 * 13 Copy RX Status - when set, write three receive status words
[all …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt61pci.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
34 * Default offset is required for RSSI <-> dBm conversion.
79 * FORCE_CLOCK_ON: Host force MAC clock ON
121 * 16 entries 32-byte for shared key table
122 * 64 entries 32-byte for pairwise key table
123 * 64 entries 8-byte for pairwise ta key table
146 u8 address[6]; member
152 * Other on-chip shared memory space.
159 * We steal 16 tail bytes to save debugging settings.
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
35 /* Base table for registers values that change by MAC */
41 * ixgbe_device_supports_autoneg_fc - Check if phy supports autoneg flow
55 switch (hw->phy.media_type) { in ixgbe_device_supports_autoneg_fc()
58 switch (hw->device_id) { in ixgbe_device_supports_autoneg_fc()
64 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_device_supports_autoneg_fc()
74 if (hw->device_id == IXGBE_DEV_ID_X550EM_X_XFI) in ixgbe_device_supports_autoneg_fc()
81 switch (hw->device_id) { in ixgbe_device_supports_autoneg_fc()
103 hw->device_id); in ixgbe_device_supports_autoneg_fc()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_base.c1 // SPDX-License-Identifier: GPL-2.0
13 * igc_reset_hw_base - Reset hardware
24 /* Prevent the PCI-E bus from sticking if there is no TLP connection in igc_reset_hw_base()
25 * on the last TLP read/write transaction when MAC is reset. in igc_reset_hw_base()
29 hw_dbg("PCI-E Master disable polling has failed\n"); in igc_reset_hw_base()
42 hw_dbg("Issuing a global reset to MAC\n"); in igc_reset_hw_base()
62 * igc_init_nvm_params_base - Init NVM func ptrs.
67 struct igc_nvm_info *nvm = &hw->nvm; in igc_init_nvm_params_base()
73 /* Added to a constant, "size" becomes the left-shift value in igc_init_nvm_params_base()
84 nvm->type = igc_nvm_eeprom_spi; in igc_init_nvm_params_base()
[all …]
/linux/arch/x86/include/asm/
H A Dsgx.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright(c) 2016-20 Intel Corporation.
49 * SGX_ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr
57 * convert all faults to -EFAULT.
67 * enum sgx_return_code - The return code type for ENCLS, ENCLU and ENCLV
87 /* The modulus size for 3072-bit RSA keys. */
91 * enum sgx_miscselect - additional information to an SSA frame
94 * Save State Area (SSA) is a stack inside the enclave used to store processor
108 * enum sgx_attributes - the attributes field in &struct sgx_secs
111 * %SGX_ATTR_MODE64BIT: Tell that this a 64-bit enclave.
[all …]
/linux/drivers/ufs/core/
H A Dufs-mcq.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/dma-mapping.h>
14 #include "ufshcd-priv.h"
84 * ufshcd_mcq_config_mac - Set the #Max Activ Cmds.
97 val |= FIELD_PREP(MCQ_CFG_MAC_MASK, max_active_cmds - 1); in ufshcd_mcq_config_mac()
103 * ufshcd_mcq_req_to_hwq - find the hardware queue on which the
114 struct blk_mq_hw_ctx *hctx = READ_ONCE(req->mq_hctx); in ufshcd_mcq_req_to_hwq()
116 return hctx ? &hba->uhq[hctx->queue_num] : NULL; in ufshcd_mcq_req_to_hwq()
120 * ufshcd_mcq_queue_cfg_addr - get an start address of the MCQ Queue Config
124 * Return: Start address of MCQ Queue Config Registers in HCI
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dsw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
25 * 0 - Disable ASPM, in rtl92s_init_aspm_vars()
26 * 1 - Enable ASPM without Clock Req, in rtl92s_init_aspm_vars()
27 * 2 - Enable ASPM with Clock Req, in rtl92s_init_aspm_vars()
28 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92s_init_aspm_vars()
29 * 4 - Always Enable ASPM without Clock Req. in rtl92s_init_aspm_vars()
32 rtlpci->const_pci_aspm = 2; in rtl92s_init_aspm_vars()
34 /*Setting for PCI-E device */ in rtl92s_init_aspm_vars()
35 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl92s_init_aspm_vars()
[all …]

12345678910>>...14