Home
last modified time | relevance | path

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

/linux-6.12.1/Documentation/devicetree/bindings/net/dsa/
Dqca,ar9331.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/dsa/qca,ar9331.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Atheros AR9331 built-in switch
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 Qualcomm Atheros AR9331 is a switch built-in to Atheros AR9331 WiSoC and
14 addressable over internal MDIO bus. All PHYs are built-in as well.
18 const: qca,ar9331-switch
26 interrupt-controller: true
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/net/dsa/
Dtag_ar9331.c1 // SPDX-License-Identifier: GPL-2.0
12 #define AR9331_NAME "ar9331"
22 /* AR9331_HDR_RESERVED - not used or may be version field.
23 * According to the AR8216 doc it should 0b10. On AR9331 it is 0b11 on RX path
39 hdr |= AR9331_HDR_FROM_CPU | dp->index; in ar9331_tag_xmit()
40 /* 0b10 for AR8216 and 0b11 for AR9331 */ in ar9331_tag_xmit()
77 skb->dev = dsa_conduit_find_user(ndev, 0, port); in ar9331_tag_rcv()
78 if (!skb->dev) in ar9331_tag_rcv()
92 MODULE_DESCRIPTION("DSA tag driver for Atheros AR9331 SoC with built-in switch");
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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/phy/qcom/
Dat803x.c1 // SPDX-License-Identifier: GPL-2.0+
23 #include <dt-bindings/net/qca-ar803x.h>
48 #define AT803X_PSSR 0x11 /*PHY-Specific Status Register*/
193 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save()
194 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
195 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
196 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save()
197 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save()
198 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save()
205 phy_write(phydev, MII_BMCR, context->bmcr); in at803x_context_restore()
[all …]
/linux-6.12.1/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 …]