Home
last modified time | relevance | path

Searched +full:rx +full:- +full:internal +full:- +full:delay +full:- +full:ps (Results 1 – 25 of 48) sorted by relevance

12

/linux-5.10/Documentation/devicetree/bindings/net/
Drenesas,etheravb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sergei Shtylyov <sergei.shtylyov@gmail.com>
15 - items:
16 - enum:
17 - renesas,etheravb-r8a7742 # RZ/G1H
18 - renesas,etheravb-r8a7743 # RZ/G1M
19 - renesas,etheravb-r8a7744 # RZ/G1N
20 - renesas,etheravb-r8a7745 # RZ/G1E
[all …]
Dadi,adin.yaml1 # SPDX-License-Identifier: GPL-2.0+
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandru Ardelean <alexandru.ardelean@analog.com>
16 - $ref: ethernet-phy.yaml#
19 adi,rx-internal-delay-ps:
21 RGMII RX Clock Delay used only when PHY operates in RGMII mode with
22 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds.
26 adi,tx-internal-delay-ps:
28 RGMII TX Clock Delay used only when PHY operates in RGMII mode with
[all …]
Dti,dp83822.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
14 The DP83822 is a low-power, single-port, 10/100 Mbps Ethernet PHY. It
16 data over standard, twisted-pair cables or to connect to an external,
17 fiber-optic transceiver. Additionally, the DP83822 provides flexibility to
24 - $ref: "ethernet-phy.yaml#"
30 ti,link-loss-low:
39 ti,fiber-mode:
[all …]
Dti,dp83869.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - $ref: "ethernet-phy.yaml#"
14 - Dan Murphy <dmurphy@ti.com>
17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver
18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and
19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and
20 100BASE-FX Fiber protocols.
23 the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX
[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:
19 $ref: /schemas/types.yaml#definitions/uint8-array
21 - minItems: 6
24 mac-address:
29 local-mac-address property.
[all …]
Dallwinner,sun8i-a83t-emac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/allwinner,sun8i-a83t-emac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun8i-a83t-emac
17 - const: allwinner,sun8i-h3-emac
18 - const: allwinner,sun8i-r40-emac
19 - const: allwinner,sun8i-v3s-emac
[all …]
Dethernet-phy.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
14 # The dt-schema tools will generate a select statement first by using
21 pattern: "^ethernet-phy(@[a-f0-9]+)?$"
24 - $nodename
[all …]
/linux-5.10/drivers/net/phy/
Dmicrel.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright (c) 2010-2013 Micrel, Inc.
29 #include <linux/delay.h>
160 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr()
164 if (type && type->interrupt_level_mask) in kszphy_config_intr()
165 mask = type->interrupt_level_mask; in kszphy_config_intr()
177 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in kszphy_config_intr()
213 return -EINVAL; in kszphy_setup_led()
233 * unique (non-broadcast) address on a shared bus.
274 struct kszphy_priv *priv = phydev->priv; in kszphy_config_reset()
[all …]
Dadin.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <linux/delay.h>
64 * The bit-fields are the same as specified by IEEE for EEE.
86 /* RGMII internal delay settings for rx and tx for ADIN1300 */
108 * struct adin_cfg_reg_map - map a config value to aregister value
137 * struct adin_clause45_mmd_map - map to convert Clause 45 regs to Clause 22
176 * struct adin_priv - ADIN PHY driver private data
192 return -EINVAL; in adin_lookup_reg_value()
200 struct device *dev = &phydev->mdio.dev; in adin_get_reg_value()
234 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || in adin_config_rgmii_mode()
[all …]
Dphy_device.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <linux/delay.h>
203 put_device(&phydev->mdio.dev); in phy_device_free()
236 struct device_driver *drv = phydev->mdio.dev.driver; in mdio_bus_phy_may_suspend()
238 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend()
240 if (!drv || !phydrv->suspend) in mdio_bus_phy_may_suspend()
244 * suspended as part of a prior call to phy_disconnect() -> in mdio_bus_phy_may_suspend()
245 * phy_detach() -> phy_suspend() because the parent netdev might be the in mdio_bus_phy_may_suspend()
251 if (netdev->wol_enabled) in mdio_bus_phy_may_suspend()
259 if (netdev->dev.parent && device_may_wakeup(netdev->dev.parent)) in mdio_bus_phy_may_suspend()
[all …]
/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sun8i.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dwmac-sun8i.c - Allwinner sun8i DWMAC specific glue layer
11 #include <linux/mdio-mux.h>
26 /* General notes on dwmac-sun8i:
31 /* struct emac_variant - Describe dwmac-sun8i hardware variant
37 * @soc_has_internal_phy: Does the MAC embed an internal PHY
42 * @rx_delay_max: Maximum raw value for RX delay chain
43 * @tx_delay_max: Maximum raw value for TX delay chain
45 * the RX and TX delay chain registers. A
59 /* struct sunxi_priv_data - hold all sunxi private data
[all …]
/linux-5.10/include/net/
Dmac80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * mac80211 <-> driver interface
5 * Copyright 2002-2005, Devicescape Software, Inc.
6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
10 * Copyright (C) 2018 - 2020 Intel Corporation
30 * only partial functionality in hard- or firmware. This document
31 * defines the interface between mac80211 and low-level hardware
[all …]
/linux-5.10/arch/arm/boot/dts/
Dsun8i-a83t-bananapi-m3.dts2 * Copyright 2017 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun8i-a83t.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
51 model = "Banana Pi BPI-M3";
52 compatible = "sinovoip,bpi-m3", "allwinner,sun8i-a83t";
60 stdout-path = "serial0:115200n8";
64 compatible = "hdmi-connector";
[all …]
/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
151 #define MVNETA_TX_INTR_MASK(nr_txqs) (((1 << nr_txqs) - 1) << 0)
153 #define MVNETA_RX_INTR_MASK(nr_rxqs) (((1 << nr_rxqs) - 1) << 8)
264 (((index) < (q)->last_desc) ? ((index) + 1) : 0)
276 * the RX side. Those two bytes being at the front of the Ethernet
304 /* Max number of Rx descriptors */
333 #define MVNETA_MAX_RX_BUF_SIZE (PAGE_SIZE - MVNETA_SKB_PAD)
336 ((addr >= txq->tso_hdrs_phys) && \
337 (addr < txq->tso_hdrs_phys + txq->size * TSO_HEADER_SIZE))
340 (((rxd)->status & MVNETA_RXD_BM_POOL_MASK) >> MVNETA_RXD_BM_POOL_SHIFT)
[all …]
/linux-5.10/drivers/net/ethernet/renesas/
Dravb_main.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2014-2019 Renesas Electronics Corporation
6 * Copyright (C) 2015-2016 Cogent Embedded, Inc. <source@cogentembedded.com>
13 #include <linux/delay.h>
14 #include <linux/dma-mapping.h>
68 return -ETIMEDOUT; in ravb_wait()
89 switch (priv->speed) { in ravb_set_rate()
101 u32 reserve = (unsigned long)skb->data & (RAVB_ALIGN - 1); in ravb_set_buffer_align()
104 skb_reserve(skb, RAVB_ALIGN - reserve); in ravb_set_buffer_align()
115 ether_addr_copy(ndev->dev_addr, mac); in ravb_read_mac_address()
[all …]
/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_wow.c21 #include "hw-ops.h"
29 * PS state is disabled. in ath9k_hw_set_sta_powersave()
43 /* set rx disable bit */ in ath9k_hw_set_powermode_wow_sleep()
47 ath_err(common, "Failed to stop Rx DMA in 10ms AR_CR=0x%08x AR_DIAG_SW=0x%08x\n", in ath9k_hw_set_powermode_wow_sleep()
76 memcpy(sta_mac_addr, common->macaddr, ETH_ALEN); in ath9k_wow_create_keep_alive_pattern()
77 memcpy(ap_mac_addr, common->curbssid, ETH_ALEN); in ath9k_wow_create_keep_alive_pattern()
83 ctl[7] = (ah->txchainmask) << 2; in ath9k_wow_create_keep_alive_pattern()
86 if (IS_CHAN_2GHZ(ah->curchan)) in ath9k_wow_create_keep_alive_pattern()
129 if (pattern_count >= ah->wow.max_patterns) in ath9k_hw_wow_apply_pattern()
130 return -ENOSPC; in ath9k_hw_wow_apply_pattern()
[all …]
/linux-5.10/arch/x86/platform/uv/
Duv_nmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2007-2017 Silicon Graphics, Inc. All rights reserved.
11 #include <linux/delay.h>
35 * Handle system-wide NMI events generated by the global 'power nmi' command.
64 /* Non-zero indicates newer SMM NMI handler present */
89 static atomic_t uv_nmi_cpu = ATOMIC_INIT(-1);
90 static atomic_t uv_nmi_cpus_in_nmi = ATOMIC_INIT(-1);
112 return sprintf(buffer, "%lu\n", local64_read((local64_t *)kp->arg)); in param_get_local64()
118 local64_set((local64_t *)kp->arg, 0); in param_set_local64()
205 strncpy(arg, val, ACTION_LEN - 1); in param_set_action()
[all …]
/linux-5.10/include/uapi/linux/
Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2020 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
137 * software, like the AP-VLAN type in mac80211 for example, there's
[all …]
/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1 // SPDX-License-Identifier: GPL-2.0
76 writel(data, priv->swth_base[0] + offset); in mvpp2_write()
81 return readl(priv->swth_base[0] + offset); in mvpp2_read()
86 return readl_relaxed(priv->swth_base[0] + offset); in mvpp2_read_relaxed()
91 return cpu % priv->nthreads; in mvpp2_cpu_to_thread()
99 /* internal DMA mapping in page_pool */ in mvpp2_create_page_pool()
114 * - per-thread registers, where each thread has its own copy of the
130 * - global registers that must be accessed through a specific thread
131 * window, because they are related to an access to a per-thread
151 writel(data, priv->swth_base[thread] + offset); in mvpp2_thread_write()
[all …]
/linux-5.10/drivers/net/wireless/intel/iwlegacy/
Dcommands.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.
92 /* Multi-Station support */
99 /* RX, TX, LEDs */
138 /* RF-KILL commands and notifications */
180 u8 flags; /* 0:5 reserved, 6 abort, 7 internal */
184 * when sending the response to each driver-originated command, so
196 * 0:7 tfd idx - position within TX queue
199 * 14 huge - driver sets this to indicate command is in the
[all …]
/linux-5.10/drivers/net/wireless/ath/ath5k/
Dath5k.h2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com>
34 /* RX/TX descriptor hw structs
62 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */
63 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV8 0x0058 /* AR5312 WMAC (AP43-030) */
70 #define PCI_DEVICE_ID_ATHEROS_AR2413 0x001a /* AR2413 (Griffin-lite) */
72 #define PCI_DEVICE_ID_ATHEROS_AR5424 0x001c /* AR5424 (Condor PCI-E) */
189 #define AR5K_TUNE_NOISE_FLOOR -72
190 #define AR5K_TUNE_CCA_MAX_GOOD_VALUE -95
201 /*Swap RX/TX Descriptor for big endian archs*/
[all …]
/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c1 // SPDX-License-Identifier: GPL-2.0
7 * This file is for RTL8723B Co-exist mechanism
45 coex_dm->curra_mask = dis_rate_mask; in halbtc8723b1ant_updatera_mask()
47 if (force_exec || (coex_dm->prera_mask != coex_dm->curra_mask)) in halbtc8723b1ant_updatera_mask()
48 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_updatera_mask()
49 &coex_dm->curra_mask); in halbtc8723b1ant_updatera_mask()
51 coex_dm->prera_mask = coex_dm->curra_mask; in halbtc8723b1ant_updatera_mask()
59 coex_dm->cur_arfr_type = type; in btc8723b1ant_auto_rate_fb_retry()
61 if (force_exec || (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { in btc8723b1ant_auto_rate_fb_retry()
62 switch (coex_dm->cur_arfr_type) { in btc8723b1ant_auto_rate_fb_retry()
[all …]
/linux-5.10/drivers/net/wireless/
Dmac80211_hwsim.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211
6 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH
7 * Copyright (C) 2018 - 2020 Intel Corporation
12 * - Add TSF sync and fix IBSS beacon transmission by adding
14 * - RX filtering based on filter configuration (data->rx_filter)
58 MODULE_PARM_DESC(paged_rx, "Use paged SKBs for RX instead of linear ones");
66 MODULE_PARM_DESC(support_p2p_device, "Support P2P-Device interface type");
69 * enum hwsim_regtest - the type of regulatory tests we offer
93 * this by using a custom beacon-capable regulatory domain for the first
[all …]
/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dcommands.h8 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
24 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
28 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
60 * Please use iwl-xxxx-hw.h for hardware-related definitions.
82 /* Multi-Station support */
91 /* RX, TX, LEDs */
146 /* RF-KILL commands and notifications */
191 * - 4 standard TX queues
192 * - the command queue
193 * - 4 PAN TX queues
[all …]
/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dd11.h26 /* RX FIFO numbers */
28 #define RX_TXSTATUS_FIFO 3 /* RX fifo for tx status packages */
32 #define TX_AC_BE_FIFO 1 /* Best-Effort TX FIFO */
48 #define WL_RSSI_ANT_MAX 4 /* max possible rx antennas */
60 /* 2byte-wide pio register set per channel(xmt or rcv) */
68 /* a pair of pio channels(tx and rx) */
71 struct pio2regs rx; member
74 /* 4byte-wide pio register set per channel(xmt or rcv) */
80 /* a pair of pio channels(tx and rx) */
83 struct pio4regs rx; member
[all …]

12