Home
last modified time | relevance | path

Searched +full:ar9331 +full:- +full:switch (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dar9331.txt1 Atheros AR9331 built-in switch
4 It is a switch built-in to Atheros AR9331 WiSoC and addressable over internal
5 MDIO bus. All PHYs are built-in as well.
9 - compatible: should be: "qca,ar9331-switch"
10 - reg: Address on the MII bus for the switch.
11 - resets : Must contain an entry for each entry in reset-names.
12 - reset-names : Must include the following entries: "switch"
13 - interrupt-parent: Phandle to the parent interrupt controller
14 - interrupts: IRQ line for the switch
15 - interrupt-controller: Indicates the switch is itself an interrupt
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/
Dar9331.txt1 Atheros AR9331 built-in switch
4 It is a switch built-in to Atheros AR9331 WiSoC and addressable over internal
5 MDIO bus. All PHYs are built-in as well.
9 - compatible: should be: "qca,ar9331-switch"
10 - reg: Address on the MII bus for the switch.
11 - resets : Must contain an entry for each entry in reset-names.
12 - reset-names : Must include the following entries: "switch"
13 - interrupt-parent: Phandle to the parent interrupt controller
14 - interrupts: IRQ line for the switch
15 - interrupt-controller: Indicates the switch is itself an interrupt
[all …]
/kernel/linux/linux-6.6/drivers/net/dsa/qca/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Qualcomm Atheros AR9331 Ethernet switch support"
8 This enables support for the Qualcomm Atheros AR9331 built-in Ethernet
9 switch.
12 tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
17 switch chips.
20 bool "Qualcomm Atheros QCA8K Ethernet switch family LEDs support"
26 QCA8K Ethernet switch chips.
Dar9331.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * +----------------------+
5 * GMAC1----RGMII----|--MAC0 |
6 * \---MDIO1----|--REGs |----MDIO3----\
7 * | | | +------+
8 * | | +--| |
9 * | MAC1-|----RMII--M-----| PHY0 |-o P0
10 * | | | | +------+
11 * | | | +--| |
12 * | MAC2-|----RMII--------| PHY1 |-o P1
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/qca/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Qualcomm Atheros AR9331 Ethernet switch support"
8 This enables support for the Qualcomm Atheros AR9331 built-in Ethernet
9 switch.
Dar9331.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * +----------------------+
5 * GMAC1----RGMII----|--MAC0 |
6 * \---MDIO1----|--REGs |----MDIO3----\
7 * | | | +------+
8 * | | +--| |
9 * | MAC1-|----RMII--M-----| PHY0 |-o P0
10 * | | | | +------+
11 * | | | +--| |
12 * | MAC2-|----RMII--------| PHY1 |-o P1
[all …]
/kernel/linux/linux-5.10/net/dsa/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 tristate "Distributed Switch Architecture"
18 by the Distributed Switch Architecture.
34 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
37 the Atheros AR9331 SoC with built-in switch.
44 tristate "Tag driver for Broadcom switches using in-frame headers"
121 NXP SJA1105 switch family. Both the native tagging protocol (which
122 is only for link-local traffic) as well as non-native tagging (based
/kernel/linux/linux-6.6/net/dsa/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "Distributed Switch Architecture"
15 by the Distributed Switch Architecture.
22 tristate "No-op tag driver"
28 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
31 the Atheros AR9331 SoC with built-in switch.
38 tristate "Tag driver for Broadcom switches using in-frame headers"
45 tristate "Tag driver for Broadcom legacy switches using in-frame headers"
108 hardware-defined injection/extraction frame header. Flow control
116 custom VLAN-based header. Frames that require timestamping, such as
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/qca/
Dar9331.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ath79-clk.h>
5 compatible = "qca,ar9331";
7 #address-cells = <1>;
8 #size-cells = <1>;
11 #address-cells = <1>;
12 #size-cells = <0>;
22 cpuintc: interrupt-controller {
23 compatible = "qca,ar7100-cpu-intc";
25 interrupt-controller;
[all …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/qca/
Dar9331.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ath79-clk.h>
5 compatible = "qca,ar9331";
7 #address-cells = <1>;
8 #size-cells = <1>;
11 #address-cells = <1>;
12 #size-cells = <0>;
22 cpuintc: interrupt-controller {
23 compatible = "qca,ar7100-cpu-intc";
25 interrupt-controller;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dqca,ar71xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - $ref: ethernet-controller.yaml#
13 - Oleksij Rempel <o.rempel@pengutronix.de>
18 - items:
19 - enum:
20 - qca,ar7100-eth # Atheros AR7100
21 - qca,ar7240-eth # Atheros AR7240
22 - qca,ar7241-eth # Atheros AR7241
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dqca,ar71xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - $ref: ethernet-controller.yaml#
13 - Oleksij Rempel <o.rempel@pengutronix.de>
18 - items:
19 - enum:
20 - qca,ar7100-eth # Atheros AR7100
21 - qca,ar7240-eth # Atheros AR7240
22 - qca,ar7241-eth # Atheros AR7241
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dat803x.c1 // SPDX-License-Identifier: GPL-2.0+
22 #include <dt-bindings/net/qca-ar803x.h>
86 #define AT803X_PSSR 0x11 /*PHY-Specific Status Register*/
221 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save()
222 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
223 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
224 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save()
225 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save()
226 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save()
233 phy_write(phydev, MII_BMCR, context->bmcr); in at803x_context_restore()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dantenna.c23 * EEPROM has 2 4-bit fields containing the card configuration.
26 * ------------
33 * -----------
38 * ------------------------------------
40 * bb_enable_ant_div_lnadiv - Enable LNA path rx antenna diversity/combining.
43 * bb_ant_div_[alt/main]_gaintb - 0 -> Antenna config Alt/Main uses gaintable 0
44 * 1 -> Antenna config Alt/Main uses gaintable 1
47 * bb_enable_ant_fast_div - Enable fast antenna diversity.
50 * bb_ant_div_[alt/main]_lnaconf - Alt/Main LNA diversity/combining input config.
55 * 00=LNA1-LNA2
[all …]
Dar9003_calib.c2 * Copyright (c) 2010-2011 Atheros Communications Inc.
18 #include "hw-ops.h"
44 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration()
52 currCal->calData->calCountMax); in ar9003_hw_setup_calibration()
58 /* Kick-off cal */ in ar9003_hw_setup_calibration()
77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration()
78 const struct ath9k_percal_data *cur_caldata = currCal->calData; in ar9003_hw_per_calibration()
81 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration()
89 cur_caldata->calCollect(ah); in ar9003_hw_per_calibration()
90 ah->cal_samples++; in ar9003_hw_per_calibration()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dantenna.c23 * EEPROM has 2 4-bit fields containing the card configuration.
26 * ------------
33 * -----------
38 * ------------------------------------
40 * bb_enable_ant_div_lnadiv - Enable LNA path rx antenna diversity/combining.
43 * bb_ant_div_[alt/main]_gaintb - 0 -> Antenna config Alt/Main uses gaintable 0
44 * 1 -> Antenna config Alt/Main uses gaintable 1
47 * bb_enable_ant_fast_div - Enable fast antenna diversity.
50 * bb_ant_div_[alt/main]_lnaconf - Alt/Main LNA diversity/combining input config.
55 * 00=LNA1-LNA2
[all …]
Dar9003_calib.c2 * Copyright (c) 2010-2011 Atheros Communications Inc.
18 #include "hw-ops.h"
44 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration()
52 currCal->calData->calCountMax); in ar9003_hw_setup_calibration()
58 /* Kick-off cal */ in ar9003_hw_setup_calibration()
77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration()
78 const struct ath9k_percal_data *cur_caldata = currCal->calData; in ar9003_hw_per_calibration()
81 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration()
89 cur_caldata->calCollect(ah); in ar9003_hw_per_calibration()
90 ah->cal_samples++; in ar9003_hw_per_calibration()
[all …]
/kernel/linux/linux-6.6/drivers/net/phy/
Dat803x.c1 // SPDX-License-Identifier: GPL-2.0+
23 #include <dt-bindings/net/qca-ar803x.h>
103 #define AT803X_PSSR 0x11 /*PHY-Specific Status Register*/
422 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save()
423 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
424 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
425 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save()
426 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save()
427 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save()
434 phy_write(phydev, MII_BMCR, context->bmcr); in at803x_context_restore()
[all …]